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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x30], ecx
lea ebx, [eax + 0x6c]
mov dword [esp], ebx
call fcn.005581b0
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 0x34], eax
call fcn.00558270
mov esi, eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0xa0]
mov ebp, eax
mov eax, dword [esp + 0xa4]
cmp eax, 0xffffffff
sete dl
test ecx, ecx
setne al
and al, dl
mov edi, eax
jne 0x4eae40
mov ecx, dword [esp + 0xa8]
cmp dword [esp + 0xac], 0xffffffff
sete al
test ecx, ecx
je 0x4eacca
test al, al
jne 0x4ead60
xor edx, eax
mov eax, dword [esp + 0x48]
cmp ebx, ebp
jae 0x4eae10
test dl, dl
je 0x4eae10
test eax, eax
jne 0x4eae18
mov edi, dword [esp + 0xbc]
add edi, ebx
movzx edx, byte [edi]
movzx eax, byte [esi + edx + 0x11d]
mov ecx, edx
test al, al
jne 0x4ead1f
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4ba280
jne 0x4eaea8
test cl, cl
je 0x4ead23
mov byte [esi + edx + 0x11d], cl
mov eax, ecx
cmp al, 0x25
je 0x4eada0
mov eax, dword [esp + 0xa4]
movzx edx, byte [edi]
mov ecx, dword [esp + 0xa0]
cmp eax, 0xffffffff
jne 0x4ead41
test ecx, ecx
jne 0x4eaf18
cmp dl, al
je 0x4eae80
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
add ebx, 1
jmp 0x4eac97
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 8], eax
jb 0x4eaccc
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
jne 0x4eaccc
mov dword [esp + 0xa8], 0
xor edx, 1
jmp 0x4eaccc
mov eax, dword [esp + 0xbc]
lea edx, [ebx + 1]
movzx edi, byte [eax + ebx + 1]
movzx eax, byte [esi + edi + 0x11d]
mov ecx, edi
test al, al
jne 0x4eadde
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4ba280
jne 0x4eba20
test cl, cl
je 0x4eaf30
mov byte [esi + edi + 0x11d], cl
mov eax, ecx
mov dword [esp + 0x4c], 0
cmp al, 0x45
je 0x4eaed0
cmp al, 0x4f
je 0x4eaed0
mov ebx, edx
sub eax, 0x41
cmp al, 0x38
ja case.0x4eae06.4
movzx eax, al
jmp dword [eax*4 + 0x582604]
cmp ebx, ebp
jne 0x4eae18
test eax, eax
je 0x4eae22
mov eax, dword [esp + 0xb4]
or dword [eax], 4
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0x20
mov eax, dword [ecx + 0xc]
xor edx, edx
cmp dword [ecx + 8], eax
jb 0x4eacac
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
jne 0x4eacac
mov dword [esp + 0xa0], 0
mov edx, edi
jmp 0x4eacac
call fcn.00520600
mov ecx, dword [esp + 0xa0]
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
jmp 0x4ead55
movsx ecx, dl
mov dword [esp + 0x38], edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x38]
jmp 0x4ead12
mov eax, dword [esp + 0xbc]
add ebx, 2
movzx edi, byte [eax + ebx]
movzx eax, byte [esi + edi + 0x11d]
mov edx, edi
test al, al
jne 0x4eadf8
mov eax, dword [esi]
mov eax, dword [eax + 0x20]
cmp eax, 0x4ba280
jne 0x4eba48
test dl, dl
je case.0x4eae06.4
mov byte [esi + edi + 0x11d], dl
mov eax, edx
jmp 0x4eadf8
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4ebac4
movzx eax, byte [eax]
jmp 0x4ead41
mov ebx, edx
or dword [esp + 0x48], 4
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
jmp 0x4ead55
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x270f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test edi, edi
jne 0x4eb198
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
lea ecx, [edx + 0x64]
lea eax, [edx - 0x76c]
test edx, edx
cmovs eax, ecx
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x94]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x98]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x9c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xa0]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xa4]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0xac]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0xb4]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0xbc]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0xc0]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ea5c0
sub esp, 0x24
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test edi, edi
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
je 0x4ebaab
lea esi, [esi]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
jmp 0x4ead55
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0xc
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
sub eax, 1
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004eac40
sub esp, 0x20
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0xa4]
jmp 0x4ead55
lea ecx, [esp + 0xa0]
call fcn.004b8a80
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 1
je case.0x4eae06.4
lea eax, [esp + 0x48]
lea edi, [esp + 0x50]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], 0x572600
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea5c0
sub esp, 0x24
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa8]
lea ecx, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0xa4], edx
call fcn.004b89e0
sub esp, 4
test al, al
jne 0x4eb198
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x50]
jne 0x4eb198
lea ecx, [esp + 0xa0]
call fcn.004b8a80
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x38], eax
je 0x4ebafa
movzx eax, byte [esi + 0x4a]
cmp byte [esp + 0x38], al
je 0x4eb3d7
lea ecx, [esp + 0xa0]
call fcn.004b8a80
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x38], eax
je 0x4ebb0e
movzx eax, byte [esi + 0x48]
cmp byte [esp + 0x38], al
jne 0x4eb198
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x17
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x3c], edx
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x18], 0x3b
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x4eb198
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x60]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 7
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ea5c0
sub esp, 0x24
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
lea ecx, [esp + 0xa0]
call fcn.004b8a80
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.004ba180
sub esp, 8
cmp al, 0xa
jne case.0x4eae06.4
mov ecx, dword [esp + 0xa0]
call fcn.00520600
mov eax, 0xffffffff
mov dword [esp + 0xa4], 0xffffffff
jmp 0x4eaf3e
lea ecx, [esp + 0xa0]
call fcn.004b8a80
mov dword [esp + 4], 0
mov ecx, esi
movsx eax, al
mov dword [esp], eax
call fcn.004ba180
sub esp, 8
cmp al, 9
jne case.0x4eae06.4
jmp 0x4eb5ca
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
jmp 0x4eb256
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x44]
jmp 0x4eb504
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x64]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x68]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x80]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x90]
jmp 0x4eb077
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x3b
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x5825f9
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x5825f3
call fcn.004ba0a0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x4eb25a
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x582602
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x5825f9
call fcn.004ba0a0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x4eb25a
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], edx
test eax, eax
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 1
jmp 0x4eb7e9
lea edi, [esp + 0x50]
mov dword [esp + 4], 0x5825f3
mov ecx, esi
mov dword [esp + 8], edi
mov dword [esp], 0x5825ea
call fcn.004ba0a0
sub esp, 0xc
mov dword [esp + 0x1c], edi
jmp 0x4eb25a
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
jmp 0x4eb256
lea eax, [esp + 0x48]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004ea140
sub esp, 0x28
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test ecx, ecx
jne 0x4eb198
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
lea ecx, [esp + 0xa0]
call fcn.004b8a80
mov edx, dword [esi + 0x18]
movzx eax, al
test byte [edx + eax*2], 0x20
jne 0x4eba64
lea eax, [esp + 0x48]
mov dword [esp + 0x1c], 2
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], 0x1f
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0xa
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ea140
sub esp, 0x28
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
test edx, edx
jne 0x4eaf3e
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi + 0xc], edx
jmp 0x4eaf3e
movsx ecx, cl
mov dword [esp + 0x38], edx
mov dword [esp], ecx
mov ecx, esi
mov dword [esp + 4], 0
call eax
sub esp, 8
mov ecx, eax
mov edx, dword [esp + 0x38]
jmp 0x4eadcd
movsx edx, dl
mov dword [esp + 4], 0
mov ecx, esi
mov dword [esp], edx
call eax
sub esp, 8
mov edx, eax
jmp 0x4eaf00
mov ecx, dword [esp + 0xa0]
call fcn.00520600
lea eax, [esp + 0x48]
mov dword [esp + 0xa4], 0xffffffff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 9
mov dword [esp + 0x14], 1
jmp 0x4eb9aa
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xb8]
mov dword [edi], eax
mov eax, dword [esp + 0xa4]
jmp 0x4eaf3e
mov eax, dword [ecx]
mov byte [esp + 0x38], dl
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
je 0x4ebae3
mov ecx, dword [esp + 0xa0]
jmp 0x4ead41
mov dword [esp + 0xa0], 0
xor ecx, ecx
mov eax, 0xffffffff
jmp 0x4ead41
mov dword [esp], 0x2d
mov ecx, esi
call fcn.004ba130
push ecx
jmp 0x4eb3a9
mov dword [esp], 0x2b
mov ecx, esi
call fcn.004ba130
push edx
jmp 0x4eb3cd