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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
and dword [ebp - 0x1c], 0
push edi
and dl, 2
mov dword [ebp - 0x14], 3
mov byte [ebp - 1], dl
mov eax, dword [esi]
movzx ecx, word [esi + 0x46]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
movsx eax, byte [esi + 0x44]
mov dword [ebp - 0x18], eax
mov edi, dword [esi + eax*4 + 0x74]
mov eax, dword [edi + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edi + 0x18]
movzx ebx, cx
and ebx, eax
add ebx, dword [edi + 0x38]
test dl, dl
je 0x436aa9
cmp byte [edi + 8], 0
je 0x436a9a
push ebx
push edi
call fcn.00430850
pop ecx
pop ecx
movzx ecx, ax
xor edx, edx
movzx eax, word [edi + 0x14]
add eax, 2
add ecx, eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
add eax, eax
div dword [ebp - 0x14]
cmp ecx, eax
jg 0x436a9a
mov dword [ebp - 0x1c], 1
jmp 0x436aa9
mov ecx, esi
call fcn.00430250
test eax, eax
jne 0x436c7c
cmp byte [edi + 8], 0
jne 0x436ac1
push 0
push esi
call fcn.00433c96
pop ecx
pop ecx
test eax, eax
jne 0x436c7c
test byte [esi + 0x40], 0x20
je 0x436adc
mov edx, dword [esi + 0x34]
mov ecx, dword [ebp - 0xc]
push esi
call fcn.004302e5
pop ecx
test eax, eax
jne 0x436c7c
cmp dword [esi + 0x70], 0
jne 0x436af8
mov edx, dword [esi + 0x34]
mov ecx, dword [ebp - 8]
push 0
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00430168
add esp, 0xc
mov ecx, dword [edi + 0x48]
call fcn.0042d318
test eax, eax
jne 0x436c7c
lea eax, [ebp - 0x40]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00434527
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
pop ecx
push eax
movzx eax, word [ebp - 0x2e]
mov ecx, edi
push eax
call fcn.0043489c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x436c7c
cmp byte [edi + 8], al
jne 0x436bf8
movsx eax, byte [esi + 0x44]
mov ebx, dword [esi + eax*4 + 0x74]
mov eax, dword [ebp - 0x18]
movzx ecx, word [ebx + 0x16]
mov eax, dword [esi + eax*4 + 0x78]
mov edx, dword [ebx + 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x18]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jae 0x436b8e
mov ecx, 0x10971
call fcn.0047332e
jmp 0x436c7c
push ecx
push ebx
call dword [ebx + 0x4c]
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
mov ecx, dword [ebx + 0x48]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xc], eax
call fcn.0042d318
mov dword [ebp - 8], eax
test eax, eax
jne 0x436bd8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0xc]
add eax, 4
push eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffffc
push eax
call fcn.004349b2
add esp, 0x14
movzx edx, word [ebx + 0x16]
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
dec edx
mov ecx, ebx
call fcn.0043489c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x436c7c
mov ecx, esi
call fcn.004365c9
mov edx, eax
test edx, edx
jne 0x436c7a
movsx ecx, byte [esi + 0x44]
mov ebx, dword [ebp - 0x18]
cmp ecx, ebx
jle 0x436c39
mov dl, byte [esi + 0x44]
movsx eax, dl
dec dl
mov ecx, dword [esi + eax*4 + 0x74]
mov byte [esi + 0x44], dl
call fcn.004315af
movsx eax, byte [esi + 0x44]
cmp eax, ebx
jg 0x436c10
mov ecx, esi
call fcn.004365c9
mov edx, eax
test edx, edx
jne 0x436c7a
cmp dword [ebp - 0x1c], 0
je 0x436c65
mov byte [esi + 0x42], 2
movzx eax, word [edi + 0x16]
cmp dword [ebp - 0x10], eax
jl 0x436c5c
or dword [esi + 0x3c], 0xffffffff
mov ax, word [edi + 0x16]
dec ax
mov word [esi + 0x46], ax
jmp 0x436c7a
mov dword [esi + 0x3c], 1
jmp 0x436c7a
mov ecx, esi
call fcn.004334a1
cmp byte [ebp - 1], 0
mov edx, eax
je 0x436c7a
push 3
pop eax
mov byte [esi + 0x42], al
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret