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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, esp
mov dword [esi + 0x118], ebp
mov ecx, dword [ebp + 0x14]
lea eax, [esi + 0x120]
mov dword [eax - 4], esp
xor edi, edi
dec edi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x409ac0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov dword [esi + 0x70], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [eax + 8], edx
lea eax, [esi + 0x78]
push eax
call fcn.0040a710
mov dword [esi + 0x128], 2
lea ecx, [esi + 0x78]
push 0x452da8
call fcn.0040aae0
mov edx, dword [eax]
lea edi, [esi + 0x40]
mov ecx, eax
push edi
push 0x44aaba
push 0x44aaa0
call dword [edx + 0x28]
mov ecx, dword [esi + 0x78]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x4333bc
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
lea ecx, [esi + 0x10]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [esi + 0x128], 1
push eax
push 0xa
call fcn.0040b1c0
cmp byte [esi + 0x1b], 0
lea ecx, [esi + 0x10]
jns 0x4333e7
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x1c]
mov dword [esi + 0xc], ecx
mov dword [eax], ecx
push 0xa0
push 0xff
lea edi, [esi + 0x78]
push edi
call fcn.0040f7f0
add esp, 0xc
lea eax, [esi + 0x30]
mov dword [eax], edi
lea eax, [esi + 0x2c]
mov dword [eax], 0
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0042e8a0
test al, al
jne 0x4334f5
movzx ecx, byte [esi + 0x1b]
test cl, cl
mov edx, dword [esi + 0xc]
jns 0x433435
mov ecx, dword [esi + 0x14]
lea eax, [edx + ecx]
cmp dword [esi + 0x1c], eax
je 0x433492
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
mov dword [esi + 0xc], edx
je 0x4334de
movzx eax, word [eax]
movzx eax, ax
lea ecx, [esi + 0x40]
push ecx
lea ecx, [esi + 0x30]
push ecx
lea ecx, [esi + 0x78]
push ecx
lea ecx, [esi + 0x20]
push ecx
push 0
lea ecx, [esi + 0x2c]
push ecx
lea ecx, [esi + 0x1c]
push ecx
push edx
push 0x10
push eax
call fcn.00433650
add esp, 0x28
test eax, eax
jne 0x4334f5
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x4334eb
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x433413
mov dword [esi + 0xc], ecx
lea eax, [ecx + ecx]
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.0040b1c0
mov eax, dword [esi + 0x18]
mov ecx, 0x7fffffff
and eax, ecx
dec eax
cmp byte [esi + 0x1b], 0
mov ecx, 0xa
cmovns eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.0040b1c0
cmp byte [esi + 0x1b], 0
lea edx, [esi + 0x10]
jns 0x4334d1
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
add eax, edx
mov dword [esi + 0x1c], eax
jmp 0x43343d
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [esi + 0xc]
jmp 0x433452
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x433413
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
sub eax, ecx
lea ecx, [esi + 0x10]
push 0
push eax
call fcn.0040b1c0
lea eax, [esi + 0x34]
push eax
call fcn.0040a860
add esp, 4
mov eax, dword [esi + 0x34]
cmp byte [esi + 0x1b], 0
lea ecx, [esi + 0x10]
jns 0x433523
mov ecx, dword [esi + 0x10]
push dword [ebp + 0x1c]
push eax
push 0x44aac1
push ecx
call fcn.00431620
add esp, 0x10
mov edi, eax
mov ebx, dword [esi + 0x3c]
test ebx, ebx
jne 0x4335a4
cmp edi, 1
je 0x43354c
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
lea ecx, [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0042e8a0
test al, al
je 0x433562
mov eax, dword [ebp + 0x18]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp byte [esi + 0x1b], 0
jns 0x43357b
push dword [esi + 0x10]
call fcn.0040bae0
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x43358c
push dword [esi + 0x20]
call fcn.0040bae0
add esp, 4
mov eax, dword [esi + 0x120]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov ecx, ebx
call fcn.0042ed90
push ebx
call fcn.0040bae0
add esp, 4
jmp 0x43353e