Function at 0x52b680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, ecx
mov eax, dword [0x644040]
xor eax, ebp
mov dword [esp + 0x98], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [ecx]
cmp dword [eax + 0x18], 0x4f3c60
jne 0x52b9c7
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bbc2
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x70]
je 0x52b9a5
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
cmp dword [eax + 8], 0x4f3ec0
mov edi, dword [ecx + 8]
jne 0x52b979
test edi, edi
jne 0x52bc0c
cmp byte [esi + 0xa4], 0
je 0x52b9a5
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bbd3
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x70]
je 0x52bb61
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x52bbe4
xor edx, edx
cmp dword [esi + 0x78], 0
jne 0x52bc2e
mov eax, dword [edi + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
cmp dword [eax + 0x24], 0x561470
mov ebx, dword [ecx + 8]
mov dword [esp + 0x38], edx
jne 0x52b986
test ebx, ebx
jne 0x52bc1d
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x64]
mov al, byte [eax + 0x35]
xor ebx, ebx
mov edx, dword [esp + 0x34]
cmp edx, 2
cmovne ebx, edx
cmp al, byte [ecx + 0x20]
cmovae ebx, edx
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x24]
mov edi, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], ebx
mov bl, 1
mov byte [esp + 0x68], bl
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
mov dword [esp + 0x44], ecx
jne 0x52bb75
cmp dword [esi + 0x5c], 0
mov dword [esp + 0x38], edx
jne 0x52baac
lea ecx, [esp + 0x69]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x48], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x93], ecx
mov dword [esp + 0x90], edx
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bb97
movzx eax, byte [esi + 0x110]
mov ecx, ebx
and cl, al
cmp cl, 1
jne 0x52b993
mov eax, dword [esi + 0xf8]
xor eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0xfc]
xor ecx, dword [esp + 0x48]
or ecx, eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
jne 0x52b863
mov eax, dword [esi + 0x100]
xor eax, ecx
mov ecx, dword [esi + 0x104]
xor ecx, dword [esp + 0x44]
or ecx, eax
jne 0x52b863
cmp dword [esi + 0x108], edx
jne 0x52b863
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0x10c], eax
je 0x52b961
mov dword [esp + 0x40], ebx
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bba8
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0xf8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0xfc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x100], ecx
mov edi, dword [esp + 0x44]
mov dword [esi + 0x104], edi
mov dword [esi + 0x108], edx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x10c], ecx
mov ecx, dword [esp + 0x40]
mov byte [esi + 0x110], cl
mov ecx, dword [esp + 0x90]
mov ebx, edx
mov edx, dword [esp + 0x93]
mov dword [esi + 0x111], ecx
mov dword [esi + 0x114], edx
mov eax, dword [eax + 8]
test eax, eax
jne 0x52bbf5
mov ecx, dword [esi + 0x58]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x88], al
mov eax, dword [esp + 0x90]
mov dword [esp + 0x89], eax
mov eax, dword [esp + 0x93]
mov dword [esp + 0x8c], eax
movdqu xmm0, xmmword [esp + 0x70]
movups xmm1, xmmword [esp + 0x80]
movups xmmword [esp + 0x18], xmm1
movdqu xmmword [esp + 8], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0051c730
sub esp, 0x28
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.00566245
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
test edi, edi
je 0x52b6f5
jmp 0x52bca0
test ebx, ebx
je 0x52b75e
jmp 0x52bcb1
mov ecx, ebx
and cl, 1
cmp cl, al
mov edx, dword [esp + 0x38]
je 0x52b961
jmp 0x52b863
mov byte [esp + 0x50], 0
xor ecx, ecx
dec ecx
xor ebx, ebx
mov edx, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
jmp 0x52b7ab
test edi, edi
je 0x52b9f6
jmp 0x52bcd5
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bc45
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x70]
je 0x52b9a5
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
cmp dword [eax + 8], 0x4f3ec0
mov edi, dword [ecx + 8]
jne 0x52b9be
test edi, edi
jne 0x52bc78
cmp byte [esi + 0xa4], 0
je 0x52b9a5
mov eax, dword [esi + 0xc]
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bc56
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x70]
je 0x52bb61
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x52bc67
xor edx, edx
cmp dword [esi + 0x78], 0
jne 0x52bc89
mov ebx, dword [edi + 0x28]
mov eax, dword [esi]
mov ecx, dword [esi + 0xc]
cmp dword [eax + 0x24], 0x561470
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
jne 0x52ba99
test eax, eax
jne 0x52bcc2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x64]
mov al, byte [eax + 0x35]
xor ebx, ebx
mov edx, dword [esp + 0x34]
cmp edx, 2
cmovne ebx, edx
cmp al, byte [ecx + 0x20]
cmovae ebx, edx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x24]
mov edi, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov ecx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edx
jmp 0x52b799
test eax, eax
je 0x52ba57
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52ba57
int3
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bce6
cmp byte [esi + 0xa4], 1
jne 0x52b7cf
mov edi, dword [eax + 8]
test edi, edi
jne 0x52bd00
mov edi, dword [esi + 0x5c]
mov dword [esp + 0x38], edi
mov ecx, esi
call fcn.00442520
mov byte [esp + 0x34], al
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [0x63e19c]
movaps xmm0, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x60]
movups xmmword [esp + 0x18], xmm1
movups xmmword [esp + 8], xmm0
movzx eax, byte [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea edi, [esp + 0x70]
mov dword [esp], edi
mov ecx, dword [esp + 0x38]
call ebx
sub esp, 0x2c
movdqu xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movaps xmmword [esp + 0x60], xmm1
movdqa xmmword [esp + 0x50], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
mov bl, byte [esp + 0x68]
mov eax, dword [esi + 0xc]
jmp 0x52b7cf
mov dword [esp + 4], str....._third_partylibc_srcinclude_vector:618:_assertion__empty___failed:_front___called_on_an_empty_vector_n
mov dword [esp], 0x622e92
call fcn.00590170
mov dword [esp + 0x40], ebx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x52bd11
mov eax, dword [esi + 0xc]
mov edx, ebx
mov ebx, dword [esp + 0x40]
jmp 0x52b7c1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b801
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x52bd14
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
jmp 0x52b875
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b6cc
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b710
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52b72a
int3
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x38], eax
je 0x52b8de
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b6f5
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52b75e
int3
mov ecx, esi
call fcn.00561470
mov ecx, dword [esi + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
setbe dl
jmp 0x52b736
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b9d5
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52ba0d
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52ba27
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b9f6
int3
mov ecx, esi
call fcn.00561470
mov ecx, dword [esi + 8]
xor edx, edx
cmp al, byte [ecx + 0x35]
setbe dl
jmp 0x52ba33
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b6f5
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52b75e
int3
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x52ba57
int3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52b9f6
int3
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
jne 0x52bd17
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x40]
jmp 0x52bab7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp edi, eax
je 0x52bacf
int3
int3
int3
int3