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

Disassembly:
push ebp
mov ecx, 0x560084
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [0x5ec348]
mov dword [ebp - 0x1c], eax
xor eax, eax
call fcn.004b6010
mov edx, eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 4]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x4eee72
mov eax, dword [ebp + 0x20]
lea eax, [eax*8 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.00491680
sub esp, eax
lea ecx, [ebp + 8]
lea eax, [esp + 0x13]
and eax, 0xfffffff0
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.004b3ed0
sub esp, 4
test al, al
je 0x4eed12
movzx eax, word [ebp + 0xc]
mov dword [ebp - 0x30], 0
xor ebx, ebx
xor edi, edi
mov esi, dword [ebp + 8]
mov word [ebp - 0x3c], ax
cmp word [ebp + 0x14], 0xffff
sete byte [ebp - 0x49]
nop
cmp word [ebp - 0x3c], 0xffff
sete dl
test esi, esi
je 0x4eeb24
test dl, dl
jne 0x4eec10
mov esi, edx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4eeb37
cmp byte [ebp - 0x49], 0
jne 0x4eec50
movzx eax, byte [ebp - 0x49]
mov ecx, esi
cmp cl, al
je 0x4eec7a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4eeb54
test dl, dl
jne 0x4eecb8
test ebx, ebx
je 0x4eec90
mov eax, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x2c], edi
xor edx, edx
mov dword [ebp - 0x40], esi
add eax, eax
mov dword [ebp - 0x44], eax
jmp 0x4eeb7b
add dword [ebp - 0x40], 1
add edx, 1
cmp edx, ebx
jae 0x4eebcb
mov edi, dword [ebp - 0x2c]
lea eax, [edx*4]
mov esi, dword [ebp - 0x30]
lea ecx, [edi + eax]
cmp esi, dword [ecx]
jae 0x4eeb70
mov esi, dword [ebp - 0x34]
lea edi, [eax + esi]
mov eax, dword [ebp - 0x48]
mov esi, dword [edi]
mov dword [ebp - 0x38], edi
movzx edi, word [ebp - 0x3c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x44]
cmp word [eax + esi], di
je 0x4eec40
mov esi, dword [ebp - 0x34]
sub ebx, 1
mov edi, dword [ebp - 0x38]
mov eax, dword [esi + ebx*4]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
cmp edx, ebx
jb 0x4eeb7b
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
cmp ebx, esi
je 0x4eec7a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4eece8
add eax, 2
mov dword [esi + 8], eax
mov eax, 0xffffffff
mov edx, 0xffffffff
add dword [ebp - 0x30], 1
mov word [ebp + 0xc], ax
mov word [ebp - 0x3c], dx
jmp 0x4eeb10
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4eee46
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4eed98
cmp ax, 0xffff
sete al
mov esi, eax
jmp 0x4eeb26
add edx, 1
jmp 0x4eeb77
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4eee27
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4eeda4
cmp ax, 0xffff
mov ecx, esi
sete al
cmp cl, al
jne 0x4eeb45
cmp ebx, 1
je 0x4eecf4
cmp ebx, 2
jne 0x4eec90
mov eax, dword [ebp - 0x30]
cmp dword [edi], eax
je 0x4eecfb
cmp dword [edi + 4], eax
je 0x4eecfb
mov eax, dword [ebp - 0x50]
or dword [eax], 4
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [0x5ec348]
jne 0x4eee82
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4eee38
movzx eax, word [eax]
mov word [ebp - 0x3c], ax
cmp word [ebp - 0x3c], 0xffff
jne 0x4eeb54
mov dword [ebp + 8], 0
jmp 0x4eeb54
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
jmp 0x4eebee
mov eax, dword [ebp - 0x30]
cmp dword [edi], eax
jne 0x4eec90
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x54]
mov eax, dword [eax]
mov edx, eax
sub edx, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x20]
cmovge eax, edx
mov dword [edi], eax
jmp 0x4eec96
lea ecx, [ebp + 8]
call fcn.004b3f70
mov ebx, dword [ebp + 0x20]
mov word [ebp - 0x2c], ax
add ebx, ebx
je 0x4eee59
xor eax, eax
mov dword [ebp - 0x30], ebx
xor edi, edi
mov dword [ebp - 0x38], esi
mov ebx, eax
mov esi, dword [ebp - 0x48]
jmp 0x4eed60
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0x18]
sub esp, 4
cmp word [ebp - 0x2c], ax
je 0x4eed6c
mov eax, dword [ebp - 0x30]
add edi, 1
cmp edi, eax
je 0x4eed7f
mov eax, dword [esi + edi*4]
movzx ecx, word [eax]
cmp cx, word [ebp - 0x2c]
jne 0x4eed40
mov eax, dword [ebp - 0x34]
mov dword [eax + ebx*4], edi
mov eax, dword [ebp - 0x30]
add edi, 1
add ebx, 1
cmp edi, eax
jne 0x4eed60
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp + 8]
test ebx, ebx
jne 0x4eedb0
movzx eax, word [ebp + 0xc]
xor edi, edi
mov word [ebp - 0x3c], ax
jmp 0x4eeb05
mov dword [ebp + 8], 0
jmp 0x4eec29
mov dword [ebp + 0x10], 0
jmp 0x4eec69
mov ecx, esi
mov ebx, 0xffffffff
call fcn.0052e110
mov eax, dword [ebp - 0x30]
mov word [ebp + 0xc], bx
lea eax, [eax*4 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.00491680
xor ebx, ebx
mov edi, dword [ebp - 0x34]
sub esp, eax
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp - 0x48]
lea eax, [esp + 0x13]
and eax, 0xfffffff0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
nop
mov eax, dword [edi + ebx*4]
mov eax, dword [esi + eax*4]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + ebx*4], eax
add ebx, 1
cmp dword [ebp - 0x30], ebx
jne 0x4eedf0
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x30], 1
mov word [ebp - 0x3c], cx
jmp 0x4eeb05
mov eax, dword [ecx]
mov byte [ebp - 0x2c], dl
call dword [eax + 0x24]
movzx edx, byte [ebp - 0x2c]
jmp 0x4eec5f
mov eax, dword [ecx]
call dword [eax + 0x24]
mov word [ebp - 0x3c], ax
jmp 0x4eeccb
mov eax, dword [esi]
mov byte [ebp - 0x2c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [ebp - 0x2c]
jmp 0x4eec1f
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
xor edi, edi
mov word [ebp - 0x3c], ax
jmp 0x4eeb05
mov eax, dword [ebp - 0x1c]
sub eax, dword [0x5ec348]
jne 0x4eee82
call fcn.00552400
call fcn.00497000
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0xc8]
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc4]
mov word [esp + 0x64], di
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x44], ecx
mov ecx, 0x560084
mov dword [esp + 0x48], eax
mov eax, dword [0x5ec348]
mov dword [esp + 0x8c], eax
xor eax, eax
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], ebx
call fcn.004b6010
mov edx, eax
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 4]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x4ef5b1
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [eax], 0
lea eax, [esp + 0x78]
mov dword [esp + 0x80], 0
mov dword [esp + 0x58], eax
cmp esi, ecx
jne 0x4ef03f
jmp 0x4ef1b8
mov eax, dword [edi]
movzx edx, word [esi]
mov ecx, edi
mov dword [esp], 0x20
mov dword [esp + 4], edx
call dword [eax + 8]
sub esp, 8
mov byte [esp + 0x66], al
test al, al
jne 0x4ef200
test ebp, ebp
je 0x4eefa3
cmp byte [esp + 0x3c], 0
jne 0x4ef450
movzx edx, word [esp + 0x64]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x20]
movzx edx, word [esi]
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
cmp bx, ax
je 0x4ef008
test ebp, ebp
je 0x4eefdb
cmp byte [esp + 0x3c], 0
jne 0x4ef510
movzx edx, word [esp + 0x64]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x18]
movzx edx, word [esi]
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
cmp bx, ax
jne 0x4ef52d
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef4f0
add eax, 2
mov dword [ebp + 8], eax
mov edx, 0xffffffff
add esi, 2
mov word [esp + 0x64], dx
cmp dword [esp + 0x44], esi
je 0x4ef1b8
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
jne 0x4ef1b8
cmp word [esp + 0x64], 0xffff
sete byte [esp + 0x3c]
test ebp, ebp
movzx eax, byte [esp + 0x3c]
setne dl
and dl, al
jne 0x4ef428
movzx edx, byte [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp word [esp + 0x4c], 0xffff
sete byte [esp + 0x3b]
movzx eax, byte [esp + 0x3b]
test ecx, ecx
setne bl
and bl, al
jne 0x4ef3e0
movzx ebx, byte [esp + 0x3b]
cmp dl, bl
je 0x4ef415
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
jne 0x4eef70
lea eax, [esi + 2]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x44], eax
je 0x4ef52d
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi + 2]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x45
je 0x4ef390
cmp al, 0x4f
je 0x4ef390
mov eax, dword [esi]
mov dword [esp + 0x84], eax
xor eax, eax
mov word [esp + 0x88], ax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov dword [esp], ebp
mov cx, word [esp + 0x64]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
call fcn.004ed170
sub esp, 0x24
mov ebx, eax
cmp dx, 0xffff
mov si, dx
mov dword [esp + 0x6c], edx
mov ebp, eax
mov word [esp + 0x64], dx
sete dl
test ebx, ebx
mov dword [esp + 0x68], eax
setne al
and al, dl
mov dword [esp + 0x50], esi
mov esi, eax
jne 0x4ef4b0
mov esi, dword [esp + 0x40]
test esi, esi
setne bl
and bl, byte [esp + 0x3b]
jne 0x4ef470
cmp byte [esp + 0x3b], dl
jne 0x4ef1a3
mov eax, dword [esp + 0x48]
or dword [eax], 2
mov esi, dword [esp + 0x3c]
add esi, 2
cmp dword [esp + 0x44], esi
jne 0x4ef031
lea esi, [esi]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [esp], eax
call fcn.00530710
sub esp, 4
mov eax, dword [esp + 0x50]
mov ax, word [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
sub eax, dword [0x5ec348]
jne 0x4ef5ac
mov edx, dword [esp + 0x50]
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov ebx, dword [esp + 0x44]
add esi, 2
cmp dword [esp + 0x44], esi
jne 0x4ef217
jmp 0x4ef233
add esi, 2
cmp ebx, esi
je 0x4ef233
mov eax, dword [edi]
movzx edx, word [esi]
mov ecx, edi
mov dword [esp], 0x20
mov dword [esp + 4], edx
call dword [eax + 8]
sub esp, 8
test al, al
jne 0x4ef210
test ebp, ebp
je 0x4ef23e
cmp byte [esp + 0x3c], 0
jne 0x4ef2a8
movzx edx, byte [esp + 0x3c]
mov ecx, dword [esp + 0x40]
test ecx, ecx
setne bl
and bl, byte [esp + 0x3b]
jne 0x4ef2f0
movzx ebx, byte [esp + 0x3b]
cmp byte [esp + 0x3c], bl
je 0x4ef027
test ebp, ebp
je 0x4ef271
test dl, dl
jne 0x4ef328
movzx eax, word [esp + 0x64]
mov edx, dword [edi]
movzx eax, ax
mov dword [esp], 0x20
mov ecx, edi
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je 0x4ef027
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef348
add eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef35c
movzx eax, word [eax]
mov word [esp + 0x64], ax
cmp word [esp + 0x64], 0xffff
je 0x4ef378
mov ecx, dword [esp + 0x40]
mov ebx, 0xffffffff
mov byte [esp + 0x3c], 0
mov word [esp + 0x64], bx
movzx edx, byte [esp + 0x66]
test ecx, ecx
setne bl
and bl, byte [esp + 0x3b]
je 0x4ef256
nop
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4ef4d8
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne ebx, eax
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x4ef25b
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef500
movzx eax, word [eax]
xor ecx, ecx
cmp ax, 0xffff
cmove ebp, ecx
jmp 0x4ef276
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jb 0x4ef2b4
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
mov word [esp + 0x64], ax
cmp word [esp + 0x64], 0xffff
jne 0x4ef2c8
lea esi, [esi]
movzx eax, byte [esp + 0x66]
xor ebp, ebp
mov byte [esp + 0x3c], al
mov edx, eax
jmp 0x4ef243
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x44], eax
je 0x4ef52d
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi + 4]
mov dword [esp], edx
call dword [eax + 0x30]
mov eax, dword [esi]
sub esp, 8
mov dword [esp + 0x84], eax
movzx eax, word [esi + 4]
mov word [esp + 0x88], ax
xor eax, eax
mov word [esp + 0x8a], ax
jmp 0x4ef0fc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4ef53c
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne ebx, eax
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
cmp dl, bl
jne 0x4ef08f
mov eax, dword [esp + 0x48]
mov dword [eax], 6
jmp 0x4ef1b8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef553
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne edx, eax
mov eax, 0
cmove ebp, eax
jmp 0x4ef061
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef569
movzx edx, word [eax]
xor eax, eax
cmp dx, 0xffff
cmove ebp, eax
jmp 0x4eefa8
mov esi, dword [esp + 0x40]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4ef585
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmove eax, ebx
mov byte [esp + 0x3b], al
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x4ef196
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x4ef579
movzx eax, word [eax]
xor edx, edx
mov ebp, 0
cmp ax, 0xffff
cmove edx, esi
cmovne ebp, ebx
jmp 0x4ef183
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x67], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x67]
jmp 0x4ef303
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x28]
jmp 0x4ef01a
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
jmp 0x4ef337
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x4ef59c
movzx edx, word [eax]
xor eax, eax
cmp dx, 0xffff
cmove ebp, eax
jmp 0x4eefe0
mov eax, dword [esp + 0x48]
mov dword [eax], 4
jmp 0x4ef1b8
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x66], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x66]
jmp 0x4ef3f3
mov eax, dword [ebp]
mov byte [esp + 0x3b], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3b]
jmp 0x4ef437
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, ax
jmp 0x4ef45f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x4ef4bf
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x3b], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3b]
jmp 0x4ef483
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, ax
jmp 0x4ef51f
call fcn.00497000
mov eax, dword [esp + 0x8c]
sub eax, dword [0x5ec348]
jne 0x4ef5ac
call fcn.00552400
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x40], ecx
mov ecx, 0x560084
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x44], ebx
mov esi, dword [esp + 0xac]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x3c], eax
mov eax, dword [0x5ec348]
mov dword [esp + 0x6c], eax
xor eax, eax
call fcn.004b6010
mov ecx, eax
mov eax, dword [edi + 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
je 0x4ef809
mov eax, dword [ecx]
mov dword [ebp], 0
mov dword [esp], 0x25
call dword [eax + 0x28]
sub esp, 4
mov word [esp + 0x64], ax
mov eax, esi
movsx si, al
xor eax, eax
cmp byte [esp + 0x3c], 0
jne 0x4ef780
mov word [esp + 0x68], ax
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x64]
mov word [esp + 0x66], si
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], esi
mov dword [esp], edi
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004ed170
sub esp, 0x24
mov esi, eax
mov edi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], edx
movzx edx, dx
mov dword [esp], eax
or ebx, edx
mov dword [esp + 0x3c], esi
call fcn.00530710
sub esp, 4
cmp di, 0xffff
sete dl
test esi, esi
setne al
and al, dl
mov edi, eax
jne 0x4ef7c0
cmp word [esp + 0x38], 0xffff
mov esi, dword [esp + 0x30]
sete al
mov ecx, eax
test esi, esi
je 0x4ef745
test al, al
jne 0x4ef7a0
cmp cl, dl
je 0x4ef770
mov eax, dword [esp + 0x6c]
sub eax, dword [0x5ec348]
jne 0x4ef81a
mov eax, dword [esp + 0x3c]
add esp, 0x7c
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
or dword [ebp], 2
jmp 0x4ef749
movsx dx, byte [esp + 0x3c]
xor eax, eax
mov word [esp + 0x6a], ax
mov eax, esi
mov esi, edx
jmp 0x4ef684
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x4ef7e8
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
cmp cl, dl
jne 0x4ef749
jmp 0x4ef770
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4ef800
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
cmove edx, edi
mov edi, 0
cmovne edi, esi
mov dword [esp + 0x3c], edi
jmp 0x4ef72e
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x34], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x34]
jmp 0x4ef7af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x4ef7cb
mov eax, dword [esp + 0x6c]
sub eax, dword [0x5ec348]
jne 0x4ef81a
call fcn.00552400
call fcn.00497000
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x3c], ecx
mov ecx, 0x560084
mov edi, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x34], eax
mov eax, dword [0x5ec348]
mov dword [esp + 0x6c], eax
xor eax, eax
call fcn.004b6010
mov edx, eax
mov eax, dword [edi + 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4efa51
mov eax, dword [ecx]
mov dword [ebp], 0
movsx bx, bl
mov dword [esp], 0x25
call dword [eax + 0x28]
mov edx, esi
sub esp, 4
mov word [esp + 0x64], ax
xor eax, eax
test dl, dl
jne 0x4ef9d0
mov esi, dword [esp + 0x30]
mov word [esp + 0x68], ax
lea eax, [esp + 0x58]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x64]
mov ecx, dword [esp + 0x3c]
mov word [esp + 0x66], bx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0xc], edi
mov dword [esp], esi
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.004ed170
sub esp, 0x24
mov esi, eax
mov edi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], edx
movzx edx, dx
mov dword [esp], eax
or ebx, edx
mov dword [esp + 0x3c], esi
call fcn.00530710
sub esp, 4
cmp di, 0xffff
sete dl
test esi, esi
setne al
and al, dl
mov edi, eax
jne 0x4efa08
cmp word [esp + 0x38], 0xffff
mov esi, dword [esp + 0x30]
sete al
mov ecx, eax
test esi, esi
je 0x4ef996
test al, al
jne 0x4ef9e8
cmp cl, dl
je 0x4ef9c0
mov eax, dword [esp + 0x6c]
sub eax, dword [0x5ec348]
jne 0x4efa62
mov eax, dword [esp + 0x3c]
add esp, 0x7c
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
or dword [ebp], 2
jmp 0x4ef99a
xor eax, eax
movsx si, dl
mov word [esp + 0x6a], ax
mov eax, ebx
mov ebx, esi
jmp 0x4ef8d1
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4efa30
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
cmp cl, dl
jne 0x4ef99a
jmp 0x4ef9c0
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4efa48
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
cmove edx, edi
mov edi, 0
cmovne edi, esi
mov dword [esp + 0x3c], edi
jmp 0x4ef97f
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x34], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x34]
jmp 0x4ef9f7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x4efa13
mov eax, dword [esp + 0x6c]
sub eax, dword [0x5ec348]
jne 0x4efa62
call fcn.00552400
call fcn.00497000
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ecx]
jmp dword [eax + 0x10]