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

Disassembly:
sub esp, 0xcc0
push ebx
mov ebx, dword [esp + 0xcc8]
push ebp
push esi
mov eax, dword [ebx + 0x28]
push edi
mov edi, ecx
xor esi, esi
lea ecx, [ebx + 0x28]
cmp eax, esi
mov dword [esp + 0x14], ecx
jne case.0x435daa.9
call fcn.00427c80
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0xffffffff
call fcn.00438970
mov ecx, dword [ebx + 0x10]
push 0x1fffffff
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], 0x20000000
call fcn.00432f60
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 2
lea ebp, [esi - 6]
mov dword [esp + 0x1c], eax
cmp ebp, 0x1e
ja case.0x435daa.9
xor edx, edx
mov dl, byte [ebp + 0x436140]
jmp dword [edx*4 + 0x436130]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x260]
test eax, eax
je case.0x435daa.9
lea ecx, [esp + 0x18]
push 0
mov dword [eax + 0x248], ecx
mov edx, dword [edi + 0x30]
push ebx
mov eax, dword [edx + 0x260]
push eax
call fcn.00435b50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc0
ret 4
mov ebp, dword [esp + 0x2c]
cmp esi, 0x23
jne 0x435e26
mov ecx, dword [esp + 0x18]
xor edx, edx
lea edi, [eax + ecx]
add eax, 4
mov dword [esp + 0x1c], eax
xor ecx, ecx
mov dh, byte [edi + 3]
mov cl, byte [edi + 1]
mov dl, byte [edi + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [edi]
shl edx, 8
or edx, ecx
add edx, eax
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x18]
lea eax, [esp + 0x80]
push edx
push eax
xor edi, edi
call fcn.00435a90
xor ecx, ecx
cmp esi, 0x23
sete cl
push ecx
lea edx, [esp + 0x8c]
push ebx
push edx
call fcn.00435b50
lea eax, [esp + 0x94]
push eax
call fcn.00453ce0
add esp, 0x18
cmp esi, 0x23
mov dword [esp + 0x2c], ebp
jne case.0x435daa.9
push 0x38
lea ecx, [esp + 0x3c]
push 0x4a3ad4
push ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.0045bc90
add esp, 0xc
test eax, eax
jne 0x435f5d
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x48], 1
mov ebp, dword [ebx + 0x3c]
imul ebp, dword [ebx + 0x38]
call fcn.00427b30
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 0x2c]
mov ebx, 0x800
lea ecx, [eax + edx]
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
jmp 0x435eda
xor edi, edi
lea eax, [esp + 0x4d0]
cmp ebp, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
ja 0x435ef1
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x38]
push edi
push ecx
call fcn.0045bcb0
mov ecx, dword [esp + 0x4c]
mov edi, eax
lea eax, [esp + 0x4d8]
add esp, 8
cmp ecx, eax
lea edx, [esp + 0x4d0]
jbe 0x435f4c
xor ecx, ecx
xor eax, eax
mov cl, byte [edx]
mov al, byte [esi]
inc edx
cmp eax, ecx
jle 0x435f26
mov byte [esi], cl
xor eax, eax
mov al, byte [esi + 1]
cmp eax, ecx
jle 0x435f32
mov byte [esi + 1], cl
xor eax, eax
mov al, byte [esi + 2]
cmp eax, ecx
jle 0x435f3e
mov byte [esi + 2], cl
mov byte [esi + 3], cl
mov eax, dword [esp + 0x44]
add esi, 4
cmp eax, edx
ja 0x435f17
test edi, edi
jne 0x435f54
test ebp, ebp
jne 0x435ed8
mov ecx, dword [esp + 0x14]
call fcn.00427b50
lea ecx, [esp + 0x38]
jmp 0x436117
xor ecx, ecx
inc eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x18]
mov dl, byte [eax + ecx - 1]
lea ebp, [eax + ecx]
mov byte [esp + 0x10], dl
add eax, 2
xor edx, edx
mov dword [esp + 0x1c], eax
mov dh, byte [ebp + 1]
mov edi, dword [esp + 0x10]
mov dl, byte [ebp]
lea ebp, [eax + ecx]
mov dword [esp + 0x78], edx
add eax, 2
xor edx, edx
mov dword [esp + 0x1c], eax
mov dh, byte [ebp + 1]
and edi, 0xff
mov dl, byte [ebp]
mov dword [esp + 0x70], edx
xor edx, edx
cmp esi, 0x24
sete dl
mov esi, edx
cmp edi, 3
mov dword [esp + 0x7c], esi
jg 0x435feb
mov cl, byte [eax + ecx]
inc eax
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
mov dword [esp + 0x1c], eax
inc ebp
jmp 0x435fed
xor ebp, ebp
push 0x38
lea edx, [esp + 0x3c]
push 0x4a3ad4
push edx
call fcn.0045bc90
add esp, 0xc
test eax, eax
jne 0x436113
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
cmp edi, 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
jg 0x43609c
test ebp, ebp
mov byte [esp + 0x13], 0xff
mov dword [esp + 0x80], ebp
je 0x43609c
xor edx, edx
test esi, esi
setne dl
add edx, 3
lea esi, [esp + 0x85]
mov dword [esp + 0x74], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
test eax, eax
mov dword [esp + 0x48], eax
jbe 0x436077
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.0045bcb0
mov eax, dword [esp + 0x50]
add esp, 8
test eax, eax
ja 0x436060
mov dl, byte [esp + 0x10]
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov byte [esi + 1], dl
mov dl, byte [esp + 0x13]
mov byte [esi], al
mov byte [esi - 1], cl
mov byte [esi + 2], dl
add esi, 4
dec ebp
jne 0x43604c
mov esi, dword [esp + 0x7c]
xor eax, eax
mov ebp, dword [esp + 0x70]
cmp edi, 3
mov edx, dword [esp + 0x78]
setg al
dec eax
lea ecx, [esp + 0x80]
and eax, ecx
push 1
push eax
push ebp
push edx
push edi
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.00427bc0
mov dword [ebx + 0x48], esi
mov eax, dword [edi]
test eax, eax
je 0x436113
mov ecx, edi
call fcn.00427b30
mov esi, dword [ebx + 0x40]
mov eax, dword [ebx + 0x2c]
imul esi, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x38]
push 0
push ecx
call fcn.0045bcb0
add esp, 8
test eax, eax
je 0x4360e8
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x2c]
push edx
push esi
push eax
call fcn.00427cc0
add esp, 0xc
mov ecx, edi
call fcn.00427b50
lea ecx, [esp + 0x38]
push ecx
call fcn.0045bb30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc0
ret 4