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

Disassembly:
push 0x20
mov eax, 0x4482dc
call fcn.00422068
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov eax, edi
mov dword [ebp - 0x14], edi
cmp dword [esi + 0x7c], eax
jbe 0x43606b
mov dl, byte [esi + 0x60]
mov ecx, eax
mov eax, dword [esi + 0x78]
shl ecx, 2
mov ebx, dword [ecx + eax]
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x28], ebx
test dl, dl
je 0x435f67
mov dword [ebp - 0x24], 1
jmp 0x435f6c
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
test dl, dl
je 0x435f77
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
jmp 0x435f7e
mov dword [ebp - 0x18], 1
lea ecx, [ebx + 0x70]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
jmp 0x435fb9
mov eax, dword [ecx]
dec ebx
mov eax, dword [eax + ebx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x435fb9
mov dword [ebp - 4], edi
mov ecx, dword [eax]
test ecx, ecx
je 0x435fa8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.00416823
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
test ebx, ebx
jne 0x435f89
mov ebx, dword [ebp - 0x24]
mov dword [ecx + 4], edi
test ebx, ebx
je 0x435fd4
call fcn.0040228f
mov ecx, dword [ebp - 0x1c]
sub ebx, 1
jne 0x435fc7
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x80]
jmp 0x436017
mov eax, dword [ebx + 0x7c]
dec ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x436017
mov dword [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x436006
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
push 4
push eax
call fcn.00416823
pop ecx
pop ecx
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jne 0x435fdf
mov dword [ebx + 0x80], edi
cmp dword [ebp - 0x18], ecx
jbe 0x43605b
mov esi, dword [ebp - 0x18]
lea ecx, [ebx + 0x7c]
call fcn.004014b2
push 4
call fcn.004168a3
mov dword [ebp - 0x2c], eax
pop ecx
mov dword [eax], edi
mov edx, dword [ebx + 0x80]
lea ecx, [edx + 1]
mov dword [ebx + 0x80], ecx
mov ecx, dword [ebx + 0x7c]
mov dword [ecx + edx*4], eax
sub esi, 1
jne 0x436029
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [esi + 0x7c]
jb 0x435f44
mov ebx, edi
cmp dword [esi + 0x18], ebx
jbe 0x4361bb
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x3c]
mov edx, dword [ecx + ebx*8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], edx
sub ecx, dword [eax + edx*4]
mov al, byte [esi + 0x60]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov byte [ebp - 0xd], al
test al, al
je 0x4360aa
mov esi, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x24], esi
jmp 0x4360ad
mov dword [ebp - 0x24], edx
test al, al
jne 0x4360b8
mov edx, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x28], edx
and dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x1c]
test cl, cl
mov esi, eax
cmovne esi, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
xor esi, esi
test cl, cl
cmovne esi, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx + edx*4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x7c]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x6c]
push ecx
mov ecx, dword [eax + ebx*4]
call fcn.0043919e
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x436129
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x44f5c0
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x43614a
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x44f5c0
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x43618b
test ecx, ecx
je 0x43618b
mov ecx, dword [eax]
push 0x80000
push dword [ebp - 0x1c]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push 0x80000
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x43619c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x4361ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x436076
cmp byte [esi + 0x60], 0
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x78]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
je 0x4361db
mov ecx, dword [ecx + 0x70]
push dword [ebx]
mov ecx, dword [ecx]
call fcn.0040231d
jmp 0x4361ea
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax]
mov ecx, dword [ecx]
call fcn.0040231d
cmp dword [esi + 0x24], edi
jbe 0x436242
sub dword [ebp + 0xc], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edi*4]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0x30]
sub ecx, dword [eax + edx*4]
cmp byte [esi + 0x60], 0
mov eax, dword [esi + 0x78]
mov dword [ebp + 8], ecx
mov ecx, dword [eax + edx*4]
je 0x436229
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x7c]
push dword [eax + ebx]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
call fcn.0040231d
jmp 0x436239
mov ecx, dword [ecx + 0x70]
mov eax, dword [ebp + 8]
push dword [ebx]
mov ecx, dword [ecx + eax*4]
call fcn.0040231d
inc edi
add ebx, 4
cmp edi, dword [esi + 0x24]
jb 0x4361f2
xor eax, eax
call fcn.00422042
ret 8