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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x5efecf
sub esp, 0x110
mov eax, dword [esp + 0x114]
movzx ecx, byte [eax + 0x38]
mov edx, dword [eax]
mov dword [esp + 0x88], edx
test cl, cl
je 0x5ef725
mov eax, dword [edx + 0x2c]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5ef6c5
mov dword [esp], edx
call fcn.005e57f0
lea edi, [esp + 0xac]
lea esi, [esp + 4]
call fcn.0046cf5a
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x80], ecx
lea edi, [esp]
lea esi, [esp + 0xac]
call fcn.0046cf5a
mov ecx, dword [esp + 0x80]
call ecx
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5ef6e2
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov byte [esp + 4], 0x2a
call fcn.005e1700
mov eax, dword [esp + 0x74]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov ecx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
test ecx, ecx
je 0x5ef75d
mov dword [esp + 0x10c], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x965b60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac30
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x88]
mov ebx, dword [esp + 0x10c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.005e28c0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5efb71
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6a1540]
cmp eax, edx
jne 0x5ef78f
mov edx, ecx
jmp 0x5ef796
mov edx, ecx
mov ecx, 0
jne 0x5ef839
mov eax, dword [0x9aef70]
test eax, eax
jne 0x5ef7af
mov eax, dword [esp + 0x114]
jmp 0x5ef7c3
call fcn.0046c8a0
mov dword [edi], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x34]
mov dword [edi + 4], edx
mov dword [eax + 0x34], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x44]
test ecx, ecx
je 0x5ef7f7
mov dword [esp + 0x10c], edx
mov eax, dword [ecx + 4]
lea ecx, [0x965b70]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac30
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.005e28c0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ef820
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x5ef83b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, edx
lea edx, [0x6a15a0]
cmp eax, edx
jne 0x5ef849
mov ebx, ecx
jmp 0x5ef850
mov ebx, ecx
mov ecx, 0
jne 0x5efa9c
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5efa4b
mov eax, dword [ecx + 0x3c]
mov edx, dword [ecx + 0x40]
mov ebx, dword [ecx + 0x38]
mov ebp, dword [esp + 0x88]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov eax, dword [0x9aef70]
test eax, eax
je 0x5ef88e
call fcn.0046c8a0
mov dword [edi], ebx
mov eax, dword [ebp + 0x44]
mov dword [edi + 4], eax
mov dword [ebp + 0x44], ebx
mov eax, dword [ecx + 0x30]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x2c]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x40], edx
mov eax, dword [0x9aef70]
test eax, eax
je 0x5ef8b7
call fcn.0046c8a0
mov dword [edi], ebx
mov eax, dword [ebp + 0x38]
mov dword [edi + 4], eax
mov dword [ebp + 0x38], ebx
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.005eba00
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5efa32
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.005e28c0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5efa19
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6a1480]
cmp eax, edx
jne 0x5ef924
mov ebx, ecx
jmp 0x5ef92b
mov ebx, ecx
mov ecx, 0
mov dword [esp + 0x98], ecx
jne 0x5ef94b
movzx eax, word [ecx + 0xe]
mov edx, dword [0x965740]
mov ebx, dword [0x965744]
xor ebp, ebp
jmp 0x5efb8b
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e1700
nop
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xa0], eax
lea eax, [0x6a1480]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa8], eax
lea eax, [0x6e6336]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.005e1700
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6dfe15]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x10c], ebx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.005e1700
nop
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xa0], eax
lea eax, [0x6a15a0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa8], eax
lea eax, [0x6e6336]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x9c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c4ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
inc ebp
cmp ebp, ebx
jge 0x5efe74
lea esi, [edx + ebp*2]
cmp word [esi], ax
jne 0x5efb8a
mov word [esp], ax
call fcn.005d9480
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x5efe43
movzx eax, byte [esp + 4]
cmp al, 0xe1
je 0x5efbc3
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x5efc14
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e1700
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6e3f68]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov byte [esp + 0x67], al
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x114]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov dword [esp], ecx
lea ebp, [0x6dd702]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x22
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005d9240
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jbe 0x5efec5
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [eax + 0x50]
mov ebp, dword [ebp]
mov esi, dword [ebp + 0x54]
mov ebp, dword [ebp + 0x50]
mov edi, dword [esp + 0x98]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x108], eax
mov eax, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
mov dword [esp + 0x7c], edi
movzx edi, byte [esp + 0x67]
xchg edi, eax
mov byte [esp], al
xchg edi, eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
call fcn.005d8db0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x5efd75
mov eax, dword [esp + 0x114]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
test ecx, ecx
je 0x5efd16
mov dword [esp + 0x10c], eax
mov eax, dword [ecx + 4]
lea ecx, [0x965b80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040ac30
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10c]
lea edx, [0x74a010]
mov dword [esp], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00605210
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5efd58
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
add esp, 0x110
ret
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov byte [esp + 4], 0x33
call fcn.005e1700
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6e3242]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00454370
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
lea edx, [0x69de40]
mov dword [esp], edx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
mov ecx, dword [0x9aef70]
test ecx, ecx
jne 0x5efe18
mov ecx, dword [esp + 0x84]
jmp 0x5efe26
call fcn.0046c890
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.005e1700
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
add esp, 0x110
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.005e1700
nop
lea eax, [0x69de40]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x6e3f68]
mov dword [eax], ecx
lea ecx, [0x74924c]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
add esp, 0x110
ret
xor eax, eax
mov ecx, eax
call fcn.0046c910
nop
call fcn.0046b490
jmp fcn.005ef630