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

Disassembly:
push 0xffffffffffffffff
push 0x5ca035
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
push 0x38
call fcn.0058ecf8
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x80], ebx
je 0x4df55b
mov eax, dword [0x639698]
mov dword [esi], eax
mov ecx, dword [0x639698]
mov dword [esi + 4], ecx
lea edi, [esi + 0x10]
mov byte [esp + 0x80], 2
mov ecx, edi
call fcn.0058d91e
mov dword [edi], 0x5e71d0
lea edi, [esi + 0x24]
mov byte [esp + 0x80], 3
mov ecx, edi
call fcn.0058d91e
mov dword [edi], 0x5e71d0
jmp 0x4df55d
xor esi, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.005946cf
mov edi, dword [esp + 0x88]
push ebx
push ebx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], 4
call fcn.005947e1
lea edx, [esp + 0x14]
push 2
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.005948fe
cmp word [esp + 0x14], 0xfeff
je 0x4df5f4
mov eax, dword [0x639698]
mov dword [esp + 0x18], eax
push edi
lea ecx, [esp + 0x1c]
push str._s_is_not_a_Unicode_file_
push ecx
mov byte [esp + 0x8c], 5
call fcn.0058aded
mov edx, dword [esp + 0x24]
add esp, 0xc
push ebx
push 0x30
push edx
call fcn.0059bd71
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 4
call fcn.005936db
lea ecx, [esp + 0x40]
call fcn.0050bc50
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 6
call fcn.0050bc50
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 7
mov dword [esp + 0x10], ebx
xor ebp, ebp
mov dword [esp + 0x20], ebx
call fcn.00594adb
shr eax, 1
sub eax, 2
je 0x4df9c2
lea eax, [esp + 0x14]
push 2
push eax
lea ecx, [esp + 0x38]
call fcn.005948fe
mov eax, dword [esp + 0x14]
cmp ax, 0xa
jne 0x4df999
push ebx
push 0x633028
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
je case.default.0x4df795
push ebx
push str._CharSet_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df68f
lea ecx, [esp + 0x40]
mov ebp, 1
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._Name_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df6b5
lea ecx, [esp + 0x40]
mov ebp, 2
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._StartCode_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df6db
lea ecx, [esp + 0x40]
mov ebp, 3
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._EndCode_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df701
lea ecx, [esp + 0x40]
mov ebp, 4
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._TX_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df727
lea ecx, [esp + 0x40]
mov ebp, 5
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._RX_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
jne 0x4df74d
lea ecx, [esp + 0x40]
mov ebp, 6
call fcn.0050c990
jmp 0x4df9a3
push ebx
push str._End_
lea ecx, [esp + 0x48]
call fcn.0050cc80
test eax, eax
je 0x4df9c2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x5c]
push ecx
push edx
sub esp, 0x1c
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.0050bcf0
call fcn.004df300
lea eax, [ebp - 1]
add esp, 0x24
cmp eax, 5
ja case.default.0x4df795
jmp dword [eax*4 + 0x4dfae4]
lea ecx, [esp + 0x5c]
call fcn.0050c980
test eax, eax
jne case.default.0x4df795
lea ecx, [esp + 0x5c]
call fcn.0050c9f0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x60]
call fcn.004844c0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x84], 8
call fcn.00593450
push eax
mov ecx, esi
mov byte [esp + 0x84], 9
call fcn.00593814
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 8
call fcn.005936db
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 7
call fcn.005936db
lea ecx, [esp + 0x40]
call fcn.0050c990
jmp 0x4df9a3
lea ecx, [esp + 0x5c]
call fcn.0050c980
test eax, eax
jne case.default.0x4df795
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x5c]
push eax
call fcn.004844c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 0xa
push ecx
lea ecx, [esp + 0x2c]
call fcn.00593450
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x84], 0xb
call fcn.00593814
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0xa
call fcn.005936db
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 7
call fcn.005936db
lea ecx, [esp + 0x40]
call fcn.0050c990
jmp 0x4df9a3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je case.default.0x4df795
lea ecx, [esp + 0x40]
mov dword [esi + 8], eax
call fcn.0050c990
jmp 0x4df9a3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je case.default.0x4df795
lea ecx, [esp + 0x40]
mov dword [esi + 0xc], eax
call fcn.0050c990
jmp 0x4df9a3
lea ecx, [esp + 0x5c]
call fcn.0050c980
test eax, eax
jne case.default.0x4df795
cmp dword [esp + 0x10], ebx
je case.default.0x4df795
push 0x20
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
cmp edi, ebx
mov byte [esp + 0x80], 0xc
je 0x4df90a
mov ecx, edi
call fcn.0050bc50
jmp 0x4df90c
xor edi, edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
mov ecx, edi
mov byte [esp + 0x84], 7
mov dword [edi + 0x1c], edx
call fcn.0050bec0
lea ecx, [esi + 0x24]
jmp 0x4df984
lea ecx, [esp + 0x5c]
call fcn.0050c980
test eax, eax
jne case.default.0x4df795
cmp dword [esp + 0x10], ebx
je case.default.0x4df795
push 0x20
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
cmp edi, ebx
mov byte [esp + 0x80], 0xd
je 0x4df964
mov ecx, edi
call fcn.0050bc50
jmp 0x4df966
xor edi, edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x5c]
mov dword [edi + 0x1c], ecx
push edx
mov ecx, edi
mov byte [esp + 0x84], 7
call fcn.0050bec0
lea ecx, [esi + 0x10]
mov eax, dword [ecx + 8]
push edi
push eax
call fcn.0058d4b1
lea ecx, [esp + 0x40]
call fcn.0050c990
jmp 0x4df9a3
push eax
lea ecx, [esp + 0x44]
call fcn.0050c1c0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
inc edi
mov dword [esp + 0x20], edi
call fcn.00594adb
shr eax, 1
sub eax, 2
cmp edi, eax
jb 0x4df634
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x4df9f1
mov ecx, dword [esi + 4]
cmp dword [ecx - 8], ebx
je 0x4df9f1
cmp dword [esi + 0x2c], ebx
jne 0x4df9db
cmp dword [esi + 0x18], ebx
je 0x4df9f1
mov eax, dword [0x6645e8]
push esi
push eax
mov ecx, 0x6645e0
call fcn.0058d4b1
jmp 0x4dfa8f
mov edx, dword [0x639698]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x18]
push eax
mov bl, 0xe
push str.Error_loading__s_
push ecx
mov byte [esp + 0x8c], bl
call fcn.0058aded
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push 0x30
push edx
call fcn.0059bd71
test esi, esi
mov dword [esp + 0x88], esi
je 0x4dfa7e
lea ecx, [esi + 0x24]
mov byte [esp + 0x80], 0x11
call fcn.0058d951
lea ecx, [esi + 0x10]
mov byte [esp + 0x80], 0x10
call fcn.0058d951
lea ecx, [esi + 4]
mov byte [esp + 0x80], 0xf
call fcn.005936db
mov ecx, esi
mov byte [esp + 0x80], bl
call fcn.005936db
push esi
call fcn.0058ed21
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 7
call fcn.005936db
lea ecx, [esp + 0x30]
call fcn.005949fc
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 6
call fcn.0050bd60
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 4
call fcn.0050bd60
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], 0xffffffff
call fcn.00594724
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret