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

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [esp + 0x170]
mov dword [esp + 0x40], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.00558210
mov dword [esp], ebx
mov dword [esp + 0x44], eax
call fcn.005582d0
mov ebx, eax
mov eax, dword [esp + 0x17c]
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ecx, dword [esp + 0x160]
mov dword [esp + 0x108], 0
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x164]
cmp ax, 0xffff
sete dl
test ecx, ecx
setne al
and al, dl
mov edi, eax
jne 0x4edcd0
cmp word [esp + 0x16c], 0xffff
mov esi, dword [esp + 0x168]
sete al
test esi, esi
setne cl
and cl, al
mov edi, ecx
jne 0x4edd00
mov ecx, dword [esp + 0x108]
cmp dl, al
je 0x4edca0
cmp ebp, dword [esp + 0x3c]
jae 0x4edca0
test ecx, ecx
jne 0x4edcaa
mov edi, dword [esp + 0x17c]
lea esi, [ebp + ebp]
mov eax, dword [ebx]
mov dword [esp + 4], 0
add edi, esi
movzx ecx, word [edi]
mov dword [esp], ecx
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
jne 0x4edc00
mov edx, dword [esp + 0x17c]
mov eax, dword [ebx]
lea edi, [ebp + 1]
mov dword [esp + 4], 0
movzx ecx, word [edx + esi + 2]
mov dword [esp], ecx
mov ecx, ebx
call dword [eax + 0x30]
sub esp, 8
mov dword [esp + 0x10c], 0
cmp al, 0x45
je 0x4edc48
cmp al, 0x4f
je 0x4edc48
sub eax, 0x41
cmp al, 0x38
ja case.0x4edbf4.4
movzx eax, al
jmp dword [eax*4 + 0x582a40]
mov ecx, dword [esp + 0x160]
movzx esi, word [edi]
movzx eax, word [esp + 0x164]
test ecx, ecx
je 0x4edc20
cmp ax, 0xffff
je 0x4edd68
cmp si, ax
je 0x4edd40
or dword [esp + 0x108], 4
movzx eax, word [esp + 0x164]
mov edi, ebp
lea ebp, [edi + 1]
jmp 0x4edb2d
mov edx, dword [esp + 0x17c]
mov eax, dword [ebx]
mov ecx, ebx
lea edi, [ebp + 2]
mov dword [esp + 4], 0
movzx edx, word [edx + esi + 4]
mov dword [esp], edx
call dword [eax + 0x30]
sub eax, 0x41
sub esp, 8
cmp al, 0x38
jbe 0x4edbf1
or dword [esp + 0x108], 4
movzx eax, word [esp + 0x164]
lea esi, [esi]
nop
mov ecx, dword [esp + 0x160]
jmp 0x4edc3b
cmp ebp, dword [esp + 0x3c]
je 0x4edd30
mov eax, dword [esp + 0x174]
or dword [eax], 4
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x164]
add esp, 0x14c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4eeeb0
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
jne 0x4edb43
mov dword [esp + 0x160], 0
mov edx, edi
jmp 0x4edb43
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4eee98
movzx ecx, word [eax]
xor eax, eax
cmp cx, 0xffff
jne 0x4edb65
mov dword [esp + 0x168], 0
mov eax, edi
jmp 0x4edb65
test ecx, ecx
jne 0x4edcaa
jmp 0x4edcb4
call fcn.00520fe0
mov eax, 0xffffffff
mov edi, ebp
mov ecx, dword [esp + 0x160]
mov word [esp + 0x164], ax
mov eax, 0xffffffff
jmp 0x4edc3b
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4eef91
movzx eax, word [eax]
cmp ax, 0xffff
je 0x4eeec0
mov ecx, dword [esp + 0x160]
jmp 0x4edc20
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x68], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x6c]
mov word [esp + 0x164], ax
test edx, edx
jne 0x4edc90
mov ecx, dword [esp + 0x10c]
lea esi, [ecx + 0x64]
lea edx, [ecx - 0x76c]
test ecx, ecx
cmovs edx, esi
mov esi, dword [esp + 0x178]
mov dword [esi + 0x14], edx
jmp 0x4edc90
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x128], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x12c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x130], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x134], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x138], edx
mov eax, dword [eax + 0xc0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ed360
sub esp, 0x24
mov dword [esp + 0xe8], eax
mov esi, dword [esp + 0x108]
mov dword [esp + 0xec], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xec]
mov word [esp + 0x164], ax
test esi, esi
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi + 0x10], edx
jmp 0x4edc90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x124], edx
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x128], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004ed360
sub esp, 0x24
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x108]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xfc]
mov word [esp + 0x164], ax
test edx, edx
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi + 0x18], edx
jmp 0x4edc90
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x74]
mov word [esp + 0x164], ax
jmp 0x4edc90
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp], 1
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je case.0x4edbf4.4
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
lea esi, [esp + 0x110]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x14], 0x572640
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ed360
sub esp, 0x24
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x160]
mov dword [esp + 0x60], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x64]
mov word [esp + 0x164], ax
lea eax, [esp + 0x168]
mov dword [esp], eax
call fcn.004b8ad0
sub esp, 4
test al, al
jne 0x4edc7f
mov eax, dword [esp + 0x108]
or eax, dword [esp + 0x110]
jne 0x4edc7f
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov ecx, ebx
mov ebp, eax
mov eax, dword [ebx]
mov dword [esp], 0x2d
call dword [eax + 0x28]
sub esp, 4
cmp bp, ax
je 0x4ee27a
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov ecx, ebx
mov ebp, eax
mov eax, dword [ebx]
mov dword [esp], 0x2b
call dword [eax + 0x28]
sub esp, 4
cmp bp, ax
jne 0x4edc7f
lea eax, [esp + 0x108]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov ecx, ebp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x160], eax
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x5c], ecx
mov ecx, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
movzx eax, word [esp + 0x5c]
mov dword [esp + 0xc], edx
mov word [esp + 0x164], ax
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x164]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x54]
mov word [esp + 0x164], ax
jmp 0x4edc7f
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xdc]
mov word [esp + 0x164], ax
jmp 0x4edc90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0xd4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xd0], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xd4]
mov word [esp + 0x164], ax
test edx, edx
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi + 0xc], edx
jmp 0x4edc90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0xb0], eax
mov esi, dword [esp + 0x108]
mov dword [esp + 0xb4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xb4]
mov word [esp + 0x164], ax
test esi, esi
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi + 8], edx
jmp 0x4edc90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xac], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xac]
mov word [esp + 0x164], ax
test ecx, ecx
jne 0x4edc90
jmp 0x4ee596
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x98], eax
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x9c]
mov word [esp + 0x164], ax
test ebp, ebp
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi + 4], edx
jmp 0x4edc90
mov eax, dword [ebx]
lea esi, [esp + 0x110]
mov ecx, ebx
mov dword [esp + 4], 0x582a35
mov dword [esp + 8], esi
mov dword [esp], 0x582a2f
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x94]
mov word [esp + 0x164], ax
jmp 0x4edc90
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x124], edx
mov eax, dword [eax + 0x44]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x18], 7
mov dword [esp + 0x128], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004ed360
sub esp, 0x24
mov dword [esp + 0xf0], eax
mov ebp, dword [esp + 0x108]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xf4]
mov word [esp + 0x164], ax
test ebp, ebp
jne 0x4edc90
jmp 0x4ee0a0
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x110], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x118], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x120], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x128], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x12c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x130], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x134], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x138], edx
mov eax, dword [eax + 0x90]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ed360
sub esp, 0x24
mov dword [esp + 0xe0], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 0xe4], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xe4]
mov word [esp + 0x164], ax
test ecx, ecx
jne 0x4edc90
jmp 0x4edf92
mov eax, dword [ebx]
lea esi, [esp + 0x110]
mov ecx, ebx
mov dword [esp + 4], 0x582a2f
mov dword [esp + 8], esi
mov dword [esp], 0x582a26
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xbc]
mov word [esp + 0x164], ax
jmp 0x4edc90
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp], 0x20
movzx eax, ax
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
jne 0x4eeed2
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0xa
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xc4]
mov word [esp + 0x164], ax
mov ebp, dword [esp + 0x108]
movzx eax, word [esp + 0x164]
test ebp, ebp
jne 0x4edc90
jmp 0x4ee4dc
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xa4]
mov word [esp + 0x164], ax
test edx, edx
jne 0x4edc90
mov esi, dword [esp + 0x10c]
lea edx, [esi - 1]
mov esi, dword [esp + 0x178]
mov dword [esi + 0x10], edx
jmp 0x4edc90
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 0xa
jne case.0x4edbf4.4
mov ecx, dword [esp + 0x160]
call fcn.00520fe0
mov ecx, 0xffffffff
mov eax, 0xffffffff
mov word [esp + 0x164], cx
jmp 0x4edc90
lea ecx, [esp + 0x160]
call fcn.004b8b70
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 4], 0
movzx eax, ax
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 8
cmp al, 9
jne case.0x4edbf4.4
jmp 0x4eec58
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x7c]
mov word [esp + 0x164], ax
jmp 0x4edc90
lea eax, [esp + 0x108]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x108]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x8c]
mov word [esp + 0x164], ax
test esi, esi
jne 0x4edc90
mov edx, dword [esp + 0x10c]
mov esi, dword [esp + 0x178]
mov dword [esi], edx
jmp 0x4edc90
mov eax, dword [ebx]
lea esi, [esp + 0x110]
mov ecx, ebx
mov dword [esp + 4], 0x582a3e
mov dword [esp + 8], esi
mov dword [esp], 0x582a35
call dword [eax + 0x2c]
sub esp, 0xc
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp], eax
call fcn.004edad0
sub esp, 0x20
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0x84]
mov word [esp + 0x164], ax
jmp 0x4edc90
mov eax, dword [esi]
mov byte [esp + 0x48], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x48]
mov ecx, eax
jmp 0x4edd0f
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x4edcdf
mov dword [esp + 0x160], 0
xor ecx, ecx
jmp 0x4edc20
mov ecx, dword [esp + 0x160]
call fcn.00520fe0
mov eax, 0xffffffff
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x1c], 1
mov word [esp + 0x164], ax
lea eax, [esp + 0x108]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x170]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x164]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x168]
mov dword [esp + 0x18], 9
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ecef0
sub esp, 0x28
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x160], eax
movzx eax, word [esp + 0xcc]
mov word [esp + 0x164], ax
jmp 0x4eeb53
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x4edd77