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

Disassembly:
push 0xffffffffffffffff
push 0x464859
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c003c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x78]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], 0
call dword [0x46a668]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x50]
jg 0x43360e
mov edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x54]
jg 0x43360e
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.00432bc0
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0
call dword [0x46abb4]
test al, al
jne 0x4335fc
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call dword [0x46b8bc]
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x7c]
call dword [0x46b8d8]
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x78], 1
call fcn.004045b0
add esp, 8
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x70], 3
test eax, eax
je 0x43342f
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43342f
mov edx, dword [esp + 0x7c]
push 4
push edx
call dword [0x46a6f8]
add esp, 8
mov eax, dword [esp + 0x3c]
mov ecx, eax
inc eax
mov dword [esp + 0x3c], eax
test ecx, ecx
jne 0x43344c
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x44]
je 0x43344c
mov bl, 1
jmp 0x43344e
xor bl, bl
test byte [esp + 0x14], 2
je 0x43347b
mov eax, dword [esp + 0x24]
and dword [esp + 0x14], 0xfffffffd
test eax, eax
je 0x43347b
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x43347b
mov edx, dword [esp + 0x24]
push 4
push edx
call dword [0x46a6f8]
add esp, 8
test bl, bl
je 0x4335c6
test byte [esp + 0x14], 4
mov ebx, dword [esp + 0x40]
je 0x4334b4
mov eax, dword [esp + 0x28]
and dword [esp + 0x14], 0xfffffffb
test eax, eax
je 0x4334b4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4334b4
mov edx, dword [esp + 0x28]
push 4
push edx
call dword [0x46a6f8]
add esp, 8
test byte [esp + 0x14], 0x10
mov esi, dword [esp + 0x3c]
je 0x4334e5
mov eax, dword [esp + 0x2c]
and dword [esp + 0x14], 0xffffffef
test eax, eax
je 0x4334e5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4334e5
mov edx, dword [esp + 0x2c]
push 4
push edx
call dword [0x46a6f8]
add esp, 8
test esi, esi
je 0x433589
mov edi, dword [ebx]
cmp edi, dword [ebx + 8]
jg 0x43354d
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 0xc]
jg 0x433547
lea esp, [esp]
mov eax, edi
sub eax, dword [esp + 0x58]
cdq
idiv dword [esp + 0x30]
mov eax, esi
sub eax, dword [esp + 0x5c]
mov ecx, edx
cdq
idiv dword [esp + 0x34]
push edx
push ecx
mov ecx, ebp
call dword [0x46be64]
cmp dword [eax], 0
je 0x433541
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
push eax
mov edx, esi
sub edx, dword [ecx + 0x10]
mov eax, edi
sub eax, dword [ecx + 0xc]
push edx
push eax
call dword [0x46be68]
inc esi
cmp esi, dword [ebx + 0xc]
jle 0x433500
inc edi
cmp edi, dword [ebx + 8]
jle 0x4334f4
dec dword [esp + 0x3c]
test byte [esp + 0x14], 8
je 0x4334b4
and dword [esp + 0x14], 0xfffffff7
cmp dword [esp + 0x18], 0
je 0x4334b4
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4334b4
mov eax, dword [esp + 0x18]
push 4
push eax
jmp 0x4334ab
add dword [esp + 0x40], 0x10
test byte [esp + 0x14], 1
je 0x43342f
and dword [esp + 0x14], 0xfffffffe
cmp dword [esp + 0x1c], 0
je 0x43342f
mov ecx, dword [esp + 0x1c]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x43342f
mov eax, dword [esp + 0x1c]
push 4
push eax
jmp 0x433426
mov eax, dword [esp + 0x38]
mov byte [esp + 0x70], 0
test eax, eax
je 0x4335ec
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4335ec
mov edx, dword [esp + 0x38]
push 4
push edx
call dword [0x46a6f8]
add esp, 8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
lea eax, [esp + 0x78]
push eax
call fcn.0041c1e0
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 0xffffffff
call dword [0x46b8ec]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8