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

Disassembly:
push 0xffffffffffffffff
push 0x614970
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x44]
call fcn.005f1fa0
xor ebp, ebp
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], ebp
call fcn.005f1d70
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], ebp
call fcn.005f1fa0
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.005f1d70
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], ebp
call fcn.005f1fa0
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.005f1d70
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0x78]
mov edx, dword [esi]
mov edx, dword [edx + 0xe4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov dword [esp + 0x30], ebp
call edx
movzx eax, ax
movzx ebx, ax
xor edi, edi
cmp ebx, ebp
jle 0x433a3f
lea ebx, [ebx]
mov ecx, dword [esp + 0x4c]
movzx edx, word [ecx + edi*2]
mov eax, dword [esi]
mov eax, dword [eax + 0xdc]
push edx
mov ecx, esi
call eax
test eax, eax
jne 0x433a3a
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
lea ebp, [ecx + edi*2]
push edx
lea ecx, [esp + 0x3c]
call fcn.005f1d70
mov cx, word [ebp]
mov word [eax], cx
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x30]
call fcn.005f1d70
xor ecx, ecx
mov word [eax], cx
xor ebp, ebp
inc edi
cmp edi, ebx
jl 0x4339f0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
movzx edx, word [esi + 0x5e]
mov eax, dword [eax + 0x30]
movzx ecx, word [esi + 0x5c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], ebp
test eax, eax
jle 0x433bac
movzx ecx, cx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0
jg 0x433a8d
movzx edx, word [esp + 0x20]
cmp ebp, edx
jg 0x433a8d
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
movzx ecx, bp
cmp edx, ecx
jle 0x433b9d
mov edx, dword [eax + 0x34]
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x433b9d
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x433add
mov esi, dword [edi + 4]
and esi, 0x7f
call fcn.00500b30
mov eax, dword [eax + esi*4 - 4]
push edi
mov ecx, eax
call fcn.004fffc0
mov ebx, eax
test ebx, ebx
je 0x433b9d
xor ebp, ebp
cmp dword [ebx + 0x24], ebp
jbe 0x433b99
mov ecx, ebx
call fcn.00501750
mov eax, dword [ebx + 0x24]
movzx esi, bp
cmp esi, eax
jge 0x433b1b
mov eax, dword [ebx + 0x24]
cmp esi, eax
lea edi, [ebx + 0x20]
jl 0x433b10
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
mov ecx, edi
call fcn.004080c0
mov eax, dword [edi + 8]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
jmp 0x433b1d
xor ecx, ecx
call fcn.0048b200
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
xor esi, esi
cmp dword [esp + 0x38], esi
movzx edi, ax
jle 0x433b8f
mov ecx, dword [esp + 0x40]
cmp di, word [ecx + esi*2]
jne 0x433b88
cmp dword [esp + 0x18], 0
je 0x433b6b
cmp esi, dword [esp + 0x2c]
jge 0x433b5b
mov edx, dword [esp + 0x34]
or word [edx + esi*2], 1
lea eax, [edx + esi*2]
jmp 0x433b88
push esi
lea ecx, [esp + 0x30]
call fcn.005f1d70
or word [eax], 1
jmp 0x433b88
cmp esi, dword [esp + 0x2c]
jge 0x433b7a
mov eax, dword [esp + 0x34]
lea eax, [eax + esi*2]
jmp 0x433b84
push esi
lea ecx, [esp + 0x30]
call fcn.005f1d70
or word [eax], 2
inc esi
cmp esi, dword [esp + 0x38]
jl 0x433b36
inc ebp
cmp ebp, dword [ebx + 0x24]
jb 0x433ae8
mov ebp, dword [esp + 0x78]
inc ebp
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x78], ebp
jl 0x433a6e
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x433c7e
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x34]
movzx eax, word [ecx + edi*2]
test al, 1
jne 0x433bd7
test al, 2
jne 0x433c73
lea ecx, [esp + 0x54]
call fcn.005ebb00
xor edx, edx
push 0x631c94
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 3
mov word [esp + 0x54], dx
call fcn.005ec540
mov ecx, dword [esp + 0x40]
mov eax, 2
mov dword [esp + 0x60], eax
mov dx, word [ecx + edi*2]
mov word [esp + 0x64], dx
test ebx, ebx
je 0x433c26
or word [esp + 0x50], 1
push ebp
lea ecx, [esp + 0x58]
call fcn.005ec540
jmp 0x433c2b
or word [esp + 0x50], ax
movzx eax, word [esp + 0x50]
sub esp, 0x18
mov esi, esp
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], esp
push ecx
lea ecx, [esi + 4]
mov word [esi], ax
call fcn.005ec480
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
movzx eax, word [esp + 0x7c]
mov word [esi + 0x14], ax
call fcn.00432e20
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 2
call fcn.005ebd80
inc edi
cmp edi, dword [esp + 0x38]
jl 0x433bc3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
xor edx, edx
cmp dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
setl dl
mov byte [esp + 0x70], 1
mov esi, edx
call fcn.005f1f90
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.005f1f90
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], 0xffffffff
call fcn.005f1f90
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0xc