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

Disassembly:
push 0xffffffffffffffff
push 0x616840
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x685e38]
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.005f3af0
xor ebp, ebp
push ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], ebp
call fcn.005f3a50
lea ecx, [esp + 0x38]
mov dword [esp + 0x44], ebp
call fcn.005f3af0
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.005f3a50
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], ebp
call fcn.005f3af0
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 2
call fcn.005f3a50
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 0x433e9f
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 0x433e9a
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
lea ebp, [ecx + edi*2]
push edx
lea ecx, [esp + 0x3c]
call fcn.005f3a50
mov cx, word [ebp]
mov word [eax], cx
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x30]
call fcn.005f3a50
xor ecx, ecx
mov word [eax], cx
xor ebp, ebp
inc edi
cmp edi, ebx
jl 0x433e50
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 0x43400c
movzx ecx, cx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0
jg 0x433eed
movzx edx, word [esp + 0x20]
cmp ebp, edx
jg 0x433eed
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 0x433ffd
mov edx, dword [eax + 0x34]
mov edi, dword [edx + ecx*4]
lea eax, [edx + ecx*4]
test edi, edi
je 0x433ffd
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x433f3d
mov esi, dword [edi + 4]
and esi, 0x7f
call fcn.005018f0
mov eax, dword [eax + esi*4 - 4]
push edi
mov ecx, eax
call fcn.00500ce0
mov ebx, eax
test ebx, ebx
je 0x433ffd
xor ebp, ebp
cmp dword [ebx + 0x24], ebp
jbe 0x433ff9
mov ecx, ebx
call fcn.00502510
mov eax, dword [ebx + 0x24]
movzx esi, bp
cmp esi, eax
jge 0x433f7b
mov eax, dword [ebx + 0x24]
cmp esi, eax
lea edi, [ebx + 0x20]
jl 0x433f70
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
mov ecx, edi
call fcn.004080a0
mov eax, dword [edi + 8]
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
jmp 0x433f7d
xor ecx, ecx
call fcn.00435660
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 0x433fef
mov ecx, dword [esp + 0x40]
cmp di, word [ecx + esi*2]
jne 0x433fe8
cmp dword [esp + 0x18], 0
je 0x433fcb
cmp esi, dword [esp + 0x2c]
jge 0x433fbb
mov edx, dword [esp + 0x34]
or word [edx + esi*2], 1
lea eax, [edx + esi*2]
jmp 0x433fe8
push esi
lea ecx, [esp + 0x30]
call fcn.005f3a50
or word [eax], 1
jmp 0x433fe8
cmp esi, dword [esp + 0x2c]
jge 0x433fda
mov eax, dword [esp + 0x34]
lea eax, [eax + esi*2]
jmp 0x433fe4
push esi
lea ecx, [esp + 0x30]
call fcn.005f3a50
or word [eax], 2
inc esi
cmp esi, dword [esp + 0x38]
jl 0x433f96
inc ebp
cmp ebp, dword [ebx + 0x24]
jb 0x433f48
mov ebp, dword [esp + 0x78]
inc ebp
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x78], ebp
jl 0x433ece
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x4340de
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 0x434037
test al, 2
jne 0x4340d3
lea ecx, [esp + 0x54]
call fcn.005ed1b0
xor edx, edx
push 0x633c9c
lea ecx, [esp + 0x58]
mov byte [esp + 0x74], 3
mov word [esp + 0x54], dx
call fcn.005edbf0
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 0x434086
or word [esp + 0x50], 1
push ebp
lea ecx, [esp + 0x58]
call fcn.005edbf0
jmp 0x43408b
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.005edb30
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.00433280
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 2
call fcn.005ed430
inc edi
cmp edi, dword [esp + 0x38]
jl 0x434023
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.005f3b00
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0
call fcn.005f3b00
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], 0xffffffff
call fcn.005f3b00
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