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

Disassembly:
push 0xffffffffffffffff
push 0x56021b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5b7b5c]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b7b5c]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push 1
mov ebx, ecx
call fcn.00502b1b
mov eax, dword [ebx + 0xb0]
push 0
push 0
push 0x147
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
test ebp, ebp
jl 0x437ced
cmp ebp, dword [ebx + 0x39c]
jge 0x437ced
mov esi, ebp
imul esi, esi, 0x5c
add esi, dword [ebx + 0x398]
mov ecx, 0x17
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
call fcn.005089db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x437a32
push 0x80004005
call fcn.00401340
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, [ebx + 0x330]
mov dword [esp + 0x9c], 0
call fcn.00504a78
mov edx, dword [esp + 0x18]
push edx
call fcn.00540753
add esp, 4
cmp eax, 0xffffffce
jge 0x437a76
mov eax, 0xffffffce
jmp 0x437a83
mov eax, dword [esp + 0x18]
push eax
call fcn.00540753
add esp, 4
cmp eax, dword [ebx + ebp*4 + 0x3a8]
je 0x437a9b
mov dword [esp + 0x14], 1
mov dword [ebx + ebp*4 + 0x3a8], eax
mov ecx, dword [ebx + 0x200]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x437b91
lea edx, [esp + 0x18]
push edx
push esi
lea ecx, [ebx + 0x1e0]
call fcn.00507e5a
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov eax, ebp
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x437b06
test dx, dx
je 0x437b02
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x437b06
add eax, 4
add ecx, 4
test dx, dx
jne 0x437ae0
xor eax, eax
jmp 0x437b0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437b27
push ebp
lea eax, [esp + 0x3c]
push 0x20
push eax
mov dword [esp + 0x20], 1
call fcn.0053fe1c
add esp, 0xc
mov ecx, dword [ebx + 0x200]
push 0
push esi
push 0x150
push ecx
call edi
imul eax, eax, 0x8c
add eax, dword [ebx + 0x3e0]
mov cl, byte [eax + 8]
cmp byte [esp + 0x34], cl
je 0x437b59
mov dword [esp + 0x14], 1
mov byte [esp + 0x34], cl
mov cl, byte [eax + 9]
mov edx, 1
cmp byte [esp + 0x35], cl
je 0x437b6f
mov dword [esp + 0x14], edx
mov byte [esp + 0x35], cl
mov cl, byte [eax + 0xa]
cmp byte [esp + 0x36], cl
je 0x437b80
mov dword [esp + 0x14], edx
mov byte [esp + 0x36], cl
mov al, byte [eax + 0xb]
cmp byte [esp + 0x37], al
je 0x437b91
mov dword [esp + 0x14], edx
mov byte [esp + 0x37], al
mov edx, dword [ebx + 0x158]
push 0
push 0
push 0x147
push edx
call edi
cmp eax, 0xffffffff
je 0x437beb
mov esi, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x30]
push 0
push eax
mov eax, dword [ebx + 0x158]
push 0x150
push eax
call edi
movzx ecx, ax
mov dword [esp + 0x2c], ecx
cmp esi, ecx
je 0x437bd5
mov dword [esp + 0x14], 1
shr eax, 0x10
movzx ecx, al
mov byte [esp + 0x30], al
cmp ebp, ecx
je 0x437beb
mov dword [esp + 0x14], 1
push 0xa
lea edx, [esp + 0x7c]
push edx
lea ecx, [ebx + 0x18c]
call fcn.005076a7
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
call fcn.00540753
add esp, 4
cmp eax, 1
jge 0x437c1a
mov eax, 1
jmp 0x437c27
lea ecx, [esp + 0x78]
push ecx
call fcn.00540753
add esp, 4
mov edx, dword [0x5eced4]
push 0x48
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x437c48
cmp dword [esp + 0x14], 0
je 0x437c96
push 1
mov ecx, ebx
call fcn.004b91f0
mov eax, dword [ebx + 0xb0]
push 0
push 0
push 0x147
push eax
mov dword [ebx + 0x3dc], 0
call edi
cmp eax, 0xffffffff
jne 0x437c74
xor eax, eax
test eax, eax
jl 0x437ced
cmp eax, dword [ebx + 0x39c]
jge 0x437ced
mov edi, dword [ebx + 0x398]
imul eax, eax, 0x5c
add edi, eax
mov ecx, 0x17
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.004378a0
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 0x437cc8
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.0053f73f
add esp, 0x88
ret
call fcn.00507f95
int3