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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x4cb598]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
mov ebx, dword [esp + 0xc4]
push ebp
mov ebp, dword [esp + 0xc0]
push esi
push edi
mov edi, dword [esp + 0xcc]
xor esi, esi
push 0xffff
push esi
push ebx
push ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov word [esp + 0x68], 0xbbb9
mov word [esp + 0x6a], 0x4aa6
mov byte [esp + 0x6c], 0x80
mov byte [esp + 0x6d], 0xf7
mov byte [esp + 0x6e], 0x49
mov byte [esp + 0x6f], 0x8a
mov byte [esp + 0x70], 0xe4
mov byte [esp + 0x71], 7
mov byte [esp + 0x72], 0xc3
mov byte [esp + 0x73], 0x1f
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x50], 1
call fcn.004426a0
add esp, 0x10
test eax, eax
mov dword [esp + 0x10], eax
jne 0x435119
push eax
call fcn.00442680
mov eax, dword [ebp]
movzx eax, word [eax]
movzx eax, ax
push eax
mov dword [esp + 0x30], eax
call fcn.004363e0
mov ebp, eax
mov cl, byte [ebp + 8]
push ebx
push edi
mov dword [ebp + 0x44], 1
mov dword [ebp + 0x38], 0xffffffff
mov dword [ebp + 0x3c], esi
mov byte [esp + 0x37], cl
mov byte [ebp + 8], 4
call fcn.00432e70
push ebx
lea ebx, [esp + 0x40]
mov dword [ebp + 0x4c], eax
call fcn.00434670
add esp, 0x14
test eax, eax
je 0x434e22
mov dword [esp + 0x40], esi
call fcn.00432dc0
test eax, eax
mov dword [esp + 0x2c], eax
ja 0x434d45
cmp dword [esp + 0xd4], esi
je 0x434e22
mov edx, dword [eax*4 + 0x4c9904]
test byte [edx + 0x10], 2
mov eax, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
je 0x434db6
mov ebx, dword [esp + 0x14]
movzx edx, word [edi + 0x1c]
xor esi, esi
sub eax, ebx
sbb ecx, esi
add eax, 1
adc ecx, esi
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push edi
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edx
call fcn.004363e0
add esp, 4
push eax
call fcn.004418e0
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x434db0
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x434db0
mov eax, 6
mov dword [esi + 0x40], eax
mov dword [esp + 0x30], eax
call fcn.00432dc0
mov dword [esi + 0x3c], eax
mov esi, dword [esp + 0x20]
jmp 0x434e26
xor edx, edx
sub eax, dword [esp + 0x14]
sbb ecx, edx
add eax, 1
adc ecx, edx
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
push edi
push eax
call fcn.004363e0
add esp, 4
push eax
call fcn.004418e0
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jne 0x434e22
mov ebx, dword [ebp + 0x1c]
or eax, 0xffffffff
mov dword [ebx + 0x40], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x434e1f
lea edi, [esp + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call fcn.00432dc0
mov dword [ebx + 0x3c], eax
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
cmp edi, ebx
jae 0x434f79
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x435119
lea ecx, [edi + 4]
cmp ecx, ebx
jae 0x434f6a
mov edx, dword [esp + 0x1c]
push 4
add edx, edi
push str._FVH
push edx
call fcn.004786f8
add esp, 0xc
test eax, eax
jne 0x434f6a
lea ebx, [edi - 0x28]
cmp ebx, esi
mov dword [esp + 0x3c], ebx
je 0x434eb3
xor ecx, ecx
xor edx, edx
mov edi, ebx
sub edi, esi
mov eax, esi
sub eax, dword [esp + 0x14]
sbb ecx, edx
add eax, dword [ebp + 0x38]
adc ecx, dword [ebp + 0x3c]
add eax, 1
adc ecx, edx
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push edi
add eax, esi
push eax
push ecx
call fcn.004363e0
add esp, 4
push eax
call fcn.00440dd0
add esp, 0x14
add esi, edi
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x1c]
add edx, ebx
xor eax, eax
mov esi, edx
mov dword [esp + 0x2c], eax
mov ecx, 0x10
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xbc]
imul edi, dword [esp + 0xb8]
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, ebx
mov ebx, dword [esp + 0x2c]
sub eax, esi
sbb ecx, ebx
add eax, dword [ebp + 0x38]
mov ebx, dword [esp + 0x1c]
adc ecx, dword [ebp + 0x3c]
add eax, 1
adc ecx, 0
mov dword [esp + 0x10], edx
add edx, edi
add esi, ebx
cmp edx, esi
ja 0x434ffc
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x18]
push edi
push eax
push ecx
call fcn.004363e0
add esp, 4
push eax
call fcn.00442200
mov ebx, dword [esp + 0x28]
add esp, 0x14
cmp eax, 0xc004
mov dword [esp + 0x10], eax
jne 0x434f52
add dword [esp + 0x18], 1
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
jmp 0x434f71
mov edx, dword [esp + 0x18]
add dword [esp + 0x20], edi
mov esi, dword [esp + 0x20]
lea eax, [edx + edi - 0x28]
mov dword [esp + 0x18], eax
mov edi, eax
jmp 0x434f71
add edi, 1
mov dword [esp + 0x18], edi
cmp edi, ebx
jb 0x434e32
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x435119
test esi, esi
je 0x434fca
cmp esi, ebx
jae 0x434fca
xor ecx, ecx
xor edx, edx
mov eax, esi
sub eax, ebx
sbb ecx, edx
add eax, dword [ebp + 0x38]
adc ecx, dword [ebp + 0x3c]
add eax, 1
adc ecx, edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov eax, ebx
sub eax, esi
push eax
add ecx, esi
push ecx
push edx
call fcn.004363e0
add esp, 4
push eax
call fcn.00440dd0
add esp, 0x14
mov dword [esp + 0x10], eax
cmp dword [esp + 0x3c], 0
jne 0x435006
test esi, esi
jne 0x435006
cmp edi, ebx
jne 0x435006
push esi
push str.Error_Loading._Invalid_Input_File
push SysReAllocStringLen
push esi
push str.FWLIB
call fcn.0043a1a0
add esp, 0x14
mov eax, SysReAllocStringLen
jmp 0x435119
mov eax, 0xc005
jmp 0x435119
mov eax, dword [esp + 0x1c]
push eax
push ebp
mov dword [ebp + 0x48], 0
call fcn.00441c00
add esp, 8
test eax, eax
je 0x43503a
push 0
push str.ESEC_table_is_not_loaded_successfully
push SysReAllocStringLen
push 0
push str.FWLIB
call fcn.0043a1a0
add esp, 0x14
mov cl, byte [esp + 0x27]
push ebp
mov byte [ebp + 8], cl
call fcn.00440b40
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x435119
cmp dword [esp + 0x40], 1
mov esi, dword [esp + 0x44]
mov edi, 5
jne 0x4350c5
push 1
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x64]
push eax
sub esp, 0x10
mov eax, esp
mov ecx, 0x5a88641b
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea edx, [esp + 0x64]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x5b]
push ecx
push edx
call fcn.0043f610
add esp, 0x2c
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4350b6
mov dword [ebp + 0x50], edi
jmp 0x4350c5
mov dword [ebp + 0x50], 4
mov dword [esp + 0x10], 0
cmp dword [0x4e2254], 0
jne 0x435115
cmp dword [ebp + 0x50], edi
je 0x4350da
cmp dword [esp + 0x30], 6
jne 0x435115
lea eax, [esp + 0x38]
push eax
push ebx
push esi
call fcn.0043def0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
jne 0x435108
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
push ecx
push esi
push edx
call fcn.0043e7a0
add esp, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
push eax
call fcn.00478435
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00475cba
add esp, 0xb4
ret