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

Disassembly:
push ebp
sub esp, 0x198
lea eax, [esp + 0x190]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 0x64], 0x567468
mov dword [esp + 0x68], 0x5c3441
mov dword [esp + 0x70], 0x4dfcdd
mov dword [esp + 0x74], esp
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Register
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x80]
test ecx, ecx
je 0x4dfc34
lea eax, [ecx - 1]
cmp dword [edx + eax*4], 0
je 0x4dfc2e
mov eax, dword [edx]
test eax, eax
jne 0x4df6cc
xor eax, eax
add eax, 1
cmp ecx, eax
je 0x4dfc34
cmp dword [edx + eax*4], 0
je 0x4df6bb
mov eax, dword [esp + 0x18]
add eax, 0x94
mov ecx, eax
mov dword [esp + 0x30], eax
call fcn.0059e7f0
test al, al
jne 0x4dfc50
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x20], eax
add eax, 0x14
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
add eax, 0x28
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
add eax, 0x3c
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
add eax, 0x50
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
add eax, 0x64
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add eax, 0x78
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, 0x8c
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, 0xa0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004db710
sub esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
sub eax, 0xffffff80
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004db930
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [esp], 2
call fcn.00466010
sub esp, 4
jmp 0x4df7d7
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x50], 0xffffffff
call fcn.00466370
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00457320
sub esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
jns 0x4df7c0
add eax, 0xa8
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x40], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.005a03c0
sub esp, 8
lea eax, [esp + 0xb0]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004db710
sub esp, 8
lea ecx, [esp + 0xb0]
mov dword [esp + 0x50], 0xffffffff
call fcn.0058d820
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
add eax, 0x54
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004db930
sub esp, 0xc
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.005a03c0
sub esp, 8
mov dword [esp], 3
lea ecx, [esp + 0x9c]
mov dword [esp + 4], 0
mov dword [esp + 0x50], 3
call fcn.004d9f80
sub esp, 8
lea eax, [esp + 0x88]
mov dword [esp + 0x50], 4
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.004d0b30
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xb0]
mov dword [esp + 0x50], 5
mov dword [esp], eax
call fcn.0058d860
sub esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x50], 4
call fcn.0058d820
lea ecx, [esp + 0x9c]
mov dword [esp + 0x50], 3
call fcn.0058d820
lea ecx, [esp + 0x88]
mov dword [esp + 0x50], 0xffffffff
call fcn.0058d820
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0049bf70
sub esp, 4
jmp 0x4df98b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00466370
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00457320
sub esp, 8
test eax, eax
jns 0x4df970
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004db710
sub esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
lea eax, [esp + 0xb0]
mov dword [esp], eax
call fcn.004d0580
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 0x50], 6
call fcn.00466370
sub esp, 4
lea ecx, [esp + 0xb0]
mov dword [esp + 0x50], 0xffffffff
call fcn.0058d820
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4dfa59
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0049bf70
sub esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x88]
test eax, eax
je 0x4dfa30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004db710
sub esp, 8
mov ecx, dword [esp + 0x28]
mov dword [esp], 3
call fcn.00466010
sub esp, 4
jmp 0x4dfaac
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00466370
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00457320
sub esp, 8
test eax, eax
jns 0x4dfa91
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.00466370
sub esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4dfb17
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0049bf70
sub esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4dfaf1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004db930
sub esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00466370
sub esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x9c]
test eax, eax
je 0x4dfca5
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004db930
sub esp, 0xc
mov ecx, dword [esp + 0x34]
mov dword [esp], 1
call fcn.00466010
sub esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 4], 1
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00457320
sub esp, 8
test eax, eax
jns 0x4dfcc5
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0058d860
sub esp, 4
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0058d860
sub esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
call fcn.0058d860
sub esp, 4
lea eax, [esp + 0x4c]
mov dword [esp], eax
call sub.libgcc_s_sjlj_1.dll__Unwind_SjLj_Unregister
add esp, 0x198
pop ebp
ret 4
cmp dword [edx + eax*4 - 4], 0
jne 0x4df6b3
sub eax, 1
test eax, eax
mov ecx, eax
jne 0x4dfc20
mov ecx, dword [esp + 0x18]
add ecx, 0xa8
call fcn.0059e7f0
test al, al
je 0x4df6cc
jmp 0x4dfc09
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc4]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp], eax
call fcn.004dcca0
sub esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc4]
mov dword [esp + 0x50], 1
mov dword [esp], eax
call fcn.005959e0
sub esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x50], 0xffffffff
call fcn.005957c0
jmp 0x4dfc09
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0049bf70
sub esp, 4
jmp 0x4dfb67
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00466370
sub esp, 4
jmp 0x4dfbc8