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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0xc], esp
lea eax, [esi + 0x80]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x43b740
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x40]
mov word [eax + 4], 0
mov dword [eax], 0x7025
lea edi, [esi + 0x20]
mov dword [edi + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
push eax
sub esp, 0x18
mov ebx, esp
lea eax, [ebx + 8]
push eax
call fcn.00457ff0
add esp, 4
mov dword [ebx], edi
mov dword [ebx + 4], 0x14
lea eax, [esi + 0x40]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x18], eax
call fcn.0043c680
add esp, 0x1c
mov esp, dword [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + eax]
add ecx, 0x20
mov eax, dword [ebp + 0x10]
mov al, byte [eax + 4]
and al, 0xb0
mov dword [esi + 0x1c], ecx
mov dword [esi + 0xc], ecx
cmp al, 0x20
je 0x437534
cmp al, 0x10
je 0x437668
lea eax, [esi + 0x20]
mov dword [esi + 0xc], eax
xor ebx, ebx
dec ebx
mov dword [esi + 0x71], ebx
mov dword [esi + 0x6d], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
lea edi, [esi + 0x18]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00457900
mov edi, dword [edi]
mov dword [esi + 0x38], 0x50c29c
mov dword [esi + 0x3c], 0x43aae0
mov eax, dword [0x50c29c]
cmp eax, ebx
jne 0x437633
mov eax, dword [0x50c2a0]
lea edx, [eax - 1]
mov ecx, dword [edi + 8]
mov edi, dword [edi + 0xc]
sub edi, ecx
sar edi, 2
cmp edi, edx
jbe 0x437624
mov ebx, dword [ecx + eax*4 - 4]
test ebx, ebx
je 0x437624
mov edi, dword [esi + 0x18]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
mov dword [esi + 0x88], 0xffffffff
test eax, eax
je 0x4376a8
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
lea eax, [esi + 0x50]
lea edx, [esi + 0x20]
mov ecx, ebx
push eax
mov ebx, dword [esi + 0x1c]
push ebx
push edx
call edi
mov ecx, dword [esi + 0xc]
mov eax, ecx
lea edx, [esi + 0x20]
sub eax, edx
cmp ecx, ebx
mov ecx, dword [esi + 0x14]
lea ecx, [esi + ecx + 0x50]
lea eax, [esi + eax + 0x50]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x50]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.0049e850
add esp, 0x1c
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov dword [esi + 0x88], 0
call fcn.0049e490
mov dword [esi + 0x10], edi
lea eax, [esi + 0x38]
lea ecx, [esi + 0x4c]
mov dword [ecx], eax
lea eax, [esi + 0x48]
mov dword [eax], ecx
mov dword [esi + 0x88], 0
push 0x43b130
push eax
push 0x50c29c
call fcn.0043b8f0
add esp, 0xc
mov edi, dword [esi + 0x10]
jmp 0x437574
lea eax, [esi + 0x21]
mov dword [esi + 0xc], eax
mov al, byte [eax - 1]
cmp al, 0x2b
je 0x437534
cmp al, 0x2d
je 0x437534
cmp dword [esi + 0x14], 2
jl 0x43752e
cmp al, 0x30
jne 0x43752e
mov al, byte [esi + 0x21]
or al, 0x20
cmp al, 0x78
jne 0x43752e
lea eax, [esi + 0x22]
jmp 0x437531
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x10], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esi + 0x10]
jmp 0x4375b8