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

Disassembly:
push 0xffffffffffffffff
push 0x56035b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5b7a9c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7a9c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push 1
mov ebp, ecx
call fcn.00502426
mov eax, dword [ebp + 0xb0]
push 0
push 0
push 0x147
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x437e79
cmp ebx, dword [ebp + 0x3f0]
jge 0x437e79
mov esi, ebx
imul esi, esi, 0x5c
add esi, dword [ebp + 0x3ec]
mov ecx, 0x17
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
call fcn.0050830c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437b82
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 0x384]
mov dword [esp + 0x9c], 0
call fcn.00504383
mov edx, dword [esp + 0x18]
push edx
call fcn.00540de3
add esp, 4
cmp eax, 0xffffffce
jge 0x437bc6
mov eax, 0xffffffce
jmp 0x437bd3
mov eax, dword [esp + 0x18]
push eax
call fcn.00540de3
add esp, 4
cmp eax, dword [ebp + ebx*4 + 0x3fc]
je 0x437beb
mov dword [esp + 0x14], 1
mov dword [ebp + ebx*4 + 0x3fc], eax
mov ecx, dword [ebp + 0x254]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push ecx
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x437ce1
lea edx, [esp + 0x18]
push edx
push ebx
lea ecx, [ebp + 0x234]
call fcn.00507769
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437c56
test dx, dx
je 0x437c52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437c56
add eax, 4
add ecx, 4
test dx, dx
jne 0x437c30
xor eax, eax
jmp 0x437c5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437c77
push esi
lea eax, [esp + 0x3c]
push 0x20
push eax
mov dword [esp + 0x20], 1
call fcn.0054013c
add esp, 0xc
mov ecx, dword [ebp + 0x254]
push 0
push ebx
push 0x150
push ecx
call edi
imul eax, eax, 0x8c
add eax, dword [ebp + 0x434]
mov edx, 1
mov cl, byte [eax + 8]
cmp byte [esp + 0x34], cl
je 0x437caa
mov dword [esp + 0x14], edx
mov byte [esp + 0x34], cl
mov cl, byte [eax + 9]
cmp byte [esp + 0x35], cl
je 0x437cbb
mov dword [esp + 0x14], edx
mov byte [esp + 0x35], cl
mov cl, byte [eax + 0xa]
cmp byte [esp + 0x36], cl
je 0x437ccc
mov dword [esp + 0x14], edx
mov byte [esp + 0x36], cl
mov al, byte [eax + 0xb]
cmp byte [esp + 0x37], al
je 0x437ce1
mov dword [esp + 0x14], 1
mov byte [esp + 0x37], al
mov edx, dword [ebp + 0x158]
push 0
push 0
push 0x147
push edx
call edi
cmp eax, 0xffffffff
je 0x437d3b
mov esi, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x30]
push 0
push eax
mov eax, dword [ebp + 0x158]
push 0x150
push eax
call edi
movzx ecx, ax
mov dword [esp + 0x2c], ecx
cmp esi, ecx
je 0x437d25
mov dword [esp + 0x14], 1
shr eax, 0x10
movzx ecx, al
mov byte [esp + 0x30], al
cmp ebx, ecx
je 0x437d3b
mov dword [esp + 0x14], 1
mov edx, dword [ebp + 0x200]
push 0
push 0
push 0x147
push edx
call edi
cmp eax, 0xffffffff
je 0x437d77
mov bl, byte [esp + 0x33]
push 0
push eax
mov eax, dword [ebp + 0x200]
push 0x150
push eax
call edi
mov byte [esp + 0x33], al
cmp bl, al
je 0x437d77
mov dword [esp + 0x14], 1
push 0xa
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [ebp + 0x18c]
call fcn.00506fb9
mov ebx, dword [esp + 0x1c]
lea edx, [esp + 0x78]
push edx
call fcn.00540de3
add esp, 4
cmp eax, 1
jge 0x437da6
mov eax, 1
jmp 0x437db3
lea eax, [esp + 0x78]
push eax
call fcn.00540de3
add esp, 4
mov ecx, dword [0x5ece64]
push 0x48
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x1c], eax
cmp ebx, eax
jne 0x437dd4
cmp dword [esp + 0x14], 0
je 0x437e22
push 1
mov ecx, ebp
call fcn.004b8950
mov edx, dword [ebp + 0xb0]
push 0
push 0
push 0x147
push edx
mov dword [ebp + 0x430], 0
call edi
cmp eax, 0xffffffff
jne 0x437e00
xor eax, eax
test eax, eax
jl 0x437e79
cmp eax, dword [ebp + 0x3f0]
jge 0x437e79
mov edi, dword [ebp + 0x3ec]
imul eax, eax, 0x5c
add edi, eax
mov ecx, 0x17
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.004379f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0053fa67
add esp, 0x88
ret
call fcn.005078a4
int3