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

Disassembly:
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x18]
mov ebp, 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebp
push edi
test eax, 0x400
je 0x4e8ba6
mov edx, eax
mov ebp, 2
shr edx, 0xb
mov ecx, 0x4ec380
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x4e8bdc
test eax, 0x1000
je 0x4e8bc7
mov edx, eax
mov ebp, 2
shr edx, 0xd
mov ecx, 0x4ec400
not edx
mov dword [esp + 0x58], ebp
and edx, 1
jmp 0x4e8bdc
test eax, 0x100
je 0x4e8c18
mov edx, eax
mov ecx, fcn.004ec480
shr edx, 9
not edx
and edx, ebp
mov dword [esp + 0x1c], ecx
mov esi, ebp
mov dword [esp + 0x64], edx
mov ebx, edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x800
jne 0x4e8c44
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], ebx
test eax, 0x2000
je 0x4e8ca2
jmp 0x4e8c7b
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
test eax, 0x800
je 0x4e8c5f
mov ebp, 2
mov dword [esp + 0x1c], 0x4ec380
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x4ec630
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x4e8cb8
test eax, 0x2000
je 0x4e8c96
mov ebp, 2
mov dword [esp + 0x1c], 0x4ec400
mov dword [esp + 0x58], ebp
mov dword [esp + 0x68], ebp
mov eax, 1
mov dword [esp + 0x48], 0x4ec650
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], 4
jmp 0x4e8cb8
mov dword [esp + 0x1c], fcn.004ec480
mov dword [esp + 0x68], ebp
mov dword [esp + 0x48], fcn.004eb2c0
mov eax, ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x6c], 6
mov ecx, dword [esp + 0xcc]
mov edi, dword [esp + 0xc4]
imul eax, ecx
mov dword [esp + 0x10], ecx
add eax, dword [edi + 4]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
push dword [esp + 0x10]
mov ebx, dword [edi + 8]
lea eax, [esp + 0x1c]
mov esi, dword [edi + 4]
sub ebx, ebp
push dword [esp + 0xcc]
add esi, dword [edi]
add ebx, dword [edi]
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebx
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], ecx
test ecx, ecx
je case.default.0x4e9aea
jns 0x4e8dbd
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e8d8c
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e8d45
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x2c]
add edx, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x4e9a7d
cmp ecx, dword [esp + 0x6c]
je 0x4e8dd7
cmp dword [esp + 0x60], 0
jne 0x4e8dd7
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x20], edx
jmp 0x4e8de4
mov edx, dword [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
add edx, ecx
sub eax, ecx
mov dword [esp + 0xc8], edx
push eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
push edx
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jle 0x4e9902
cmp edx, dword [esp + 0x6c]
je 0x4e8e2d
cmp dword [esp + 0x64], 0
jne 0x4e8e2d
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], eax
jmp 0x4e8e3c
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x38], 0
sub dword [esp + 0x10], edx
add eax, edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc8], eax
mov eax, edx
shr eax, 8
mov dword [esp + 0x5c], eax
cmp eax, 0x1d2
ja 0x4e9222
cmp byte [eax + 0x5c9310], 0
je 0x4e9222
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x1100]
cmp ecx, 0x12
ja 0x4e8fa1
add edx, 0xffffee9f
cmp edx, 0x14
ja 0x4e8eb2
imul ecx, ecx, 0x15
mov dword [esp + 0x20], 0
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax*4 + 0xac00]
mov dword [esp + 0x18], eax
jmp 0x4e9309
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e8f32
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e8f01
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e927b
jmp dword [eax*4 + 0x4e9ba8]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp 0x4e92ed
push eax
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e92eb
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e8f55
jmp 0x4e92eb
lea ecx, [eax - 0xac00]
mov dword [esp + 0x14], ecx
cmp ecx, 0x2ba3
ja 0x4e90e6
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, 2
sub ecx, eax
jne 0x4e90e2
mov ecx, dword [esp + 0x40]
add ecx, 0xffffee59
lea eax, [ecx - 1]
cmp eax, 0x1a
ja 0x4e9005
add dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
jmp 0x4e9309
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e9070
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e9054
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e927b
jmp dword [eax*4 + 0x4e9bb8]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e92eb
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e9096
jmp 0x4e92eb
mov eax, dword [esp + 0x18]
push dword [esp + 0x40]
push eax
call fcn.004eb8d0
add esp, 8
test eax, eax
je 0x4e9108
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
jmp 0x4e9309
mov edx, dword [esp + 0x40]
cmp edx, 0x1d244
ja 0x4e914a
mov eax, dword [esp + 0x5c]
movzx ecx, byte [eax + 0x5c9e88]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
and edx, 0xf
movzx eax, byte [eax + ecx*8 + 0x5c9c18]
add eax, eax
movzx ecx, byte [edx + eax*8 + 0x5c94e8]
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x4e9333
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e91b0
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e9199
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e927b
jmp dword [eax*4 + 0x4e9bc8]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e92eb
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e91d6
jmp 0x4e92eb
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e9282
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e9271
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x10]
sub esi, dword [edi]
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e927b
jmp dword [eax*4 + 0x4e9bd8]
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e92eb
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e92a4
add esi, eax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
push dword [esp + 0x10]
lea eax, [esp + 0x44]
push dword [esp + 0xcc]
push eax
call dword [esp + 0x54]
mov edx, eax
add esp, 0xc
mov dword [esp + 0x50], edx
test edx, edx
jg 0x4e8e13
jmp 0x4e9902
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, 1
mov dword [esp + 0x3c], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
shl eax, 2
lea ecx, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x54], eax
add eax, ecx
push eax
call dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jle 0x4e9433
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + eax + 0x70]
cmp edx, 0x1d244
jbe 0x4e9393
xor ecx, ecx
jmp 0x4e93c2
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x5c9e88]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x5c9c18]
add eax, eax
and edx, 0xf
movzx ecx, byte [edx + eax*8 + 0x5c94e8]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
cmp edx, ecx
jb 0x4e93de
cmp edx, 0xe4
je 0x4e93de
cmp ecx, 0xe4
jne 0x4e940c
mov edx, dword [esp + 0x38]
add dword [esp + 0xc8], edx
sub dword [esp + 0x10], edx
mov dword [esp + eax + 0x98], ecx
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], eax
cmp eax, 0xa
jl 0x4e9353
jmp 0x4e9419
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
cmp eax, 0xa
jl 0x4e943b
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], 0xa
mov dword [esp + 0x4c], 1
jmp 0x4e9476
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xc8]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], ecx
cmp eax, 1
jle 0x4e9643
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
nop word [eax + eax]
lea eax, [ebx*4]
push dword [esp + eax + 0x70]
mov dword [esp + 0x60], eax
push dword [esp + 0x1c]
call fcn.004eb8d0
mov ecx, eax
add esp, 8
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x4e94c0
mov ebx, eax
jmp 0x4e9628
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], 0
cmp edi, ecx
jge 0x4e94fe
mov edx, dword [esp + 0x5c]
nop dword [eax]
mov eax, dword [esp + edx + 0x74]
lea edx, [edx + 4]
mov dword [esp + edx + 0x6c], eax
inc edi
mov eax, dword [esp + edx + 0x98]
mov dword [esp + edx + 0x94], eax
cmp edi, ecx
jl 0x4e94e0
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x4e9622
cmp ebx, ecx
jne 0x4e9622
test esi, esi
jle 0x4e9622
cmp ebp, dword [esp + 0x44]
jne 0x4e9622
mov ebx, dword [esp + ecx*4 + 0x94]
mov dword [esp + 0x44], ebx
cmp ecx, 0xa
jge 0x4e95fa
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
lea ebp, [ecx*4]
push esi
lea edi, [esp + 0x74]
push edx
add edi, ebp
push edi
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x4e960d
mov edx, dword [edi]
cmp edx, 0x1d244
jbe 0x4e9577
xor eax, eax
jmp 0x4e95a6
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x5c9e88]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x5c9c18]
mov ecx, dword [esp + 0x38]
add eax, eax
and edx, 0xf
movzx eax, byte [edx + eax*8 + 0x5c94e8]
mov dword [esp + 0x3c], eax
cmp ebx, eax
jl 0x4e95bd
cmp ebx, 0xe4
je 0x4e95bd
cmp eax, 0xe4
jne 0x4e960d
mov edx, dword [esp + 0xc8]
sub esi, ecx
add edx, ecx
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x24]
mov ebx, eax
inc ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x44], ebx
mov dword [esp + ebp + 0x98], eax
mov dword [esp + 0x24], ecx
cmp ecx, 0xa
jl 0x4e9544
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edi, 0xa
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], edi
jmp 0x4e9626
mov ecx, dword [esp + 0x24]
cmp ecx, 0xa
jge 0x4e95f2
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x24]
xor ebx, ebx
cmp ebx, edi
jl 0x4e9490
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
test edx, edx
je 0x4e96d0
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e969c
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
mov dword [esp + 0x28], esi
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e96a6
jmp dword [eax*4 + 0x4e9be8]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
mov dword [esp + 0x28], esi
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x4e9730
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e972a
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4e96e5
add esi, eax
mov dword [esp + 0x28], esi
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x4e97ca
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
nop dword [eax + eax]
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e97aa
mov eax, dword [edi + 8]
add eax, dword [esp + 0x5c]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x4c]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
push dword [eax]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4e9763
mov ecx, dword [esp + 0x14]
add esi, eax
mov eax, dword [esp + 0x4c]
inc ecx
add eax, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x24]
jl 0x4e9750
cmp dword [esp + 0x38], 0
mov edx, dword [esp + 0x10]
jle 0x4e9906
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x3c], eax
jne 0x4e9906
test edx, edx
je 0x4e9906
push edx
push dword [esp + 0xcc]
lea eax, [esp + 0x78]
push eax
call dword [esp + 0x54]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jle 0x4e9902
mov edx, dword [esp + 0x70]
cmp edx, 0x1d244
jbe 0x4e9821
xor eax, eax
jmp 0x4e9852
mov eax, edx
shr eax, 8
movzx ecx, byte [eax + 0x5c9e88]
mov eax, edx
shr eax, 4
add ecx, ecx
and eax, 0xf
movzx ecx, byte [eax + ecx*8 + 0x5c9c18]
mov eax, edx
add ecx, ecx
and eax, 0xf
movzx eax, byte [eax + ecx*8 + 0x5c94e8]
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x44], eax
jg 0x4e9902
add dword [esp + 0xc8], ecx
sub dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
mov eax, ebx
push edx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e98d7
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
nop word [eax + eax]
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x70]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x4e9890
push dword [esp + 0x10]
add esi, eax
lea eax, [esp + 0x74]
push dword [esp + 0xcc]
mov dword [esp + 0x30], esi
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x20], eax
add esp, 0xc
test ecx, ecx
jg 0x4e9811
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
jns 0x4e9a74
mov ecx, dword [esp + 0x30]
imul ecx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x4e9990
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e9961
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x20]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e996f
jmp dword [eax*4 + 0x4e9bf8]
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
inc edx
mov al, byte [edx]
mov byte [esi], al
inc esi
jmp case.default.0x4e996f
push dword [esp + 0x18]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e99ea
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4e99a5
add esi, eax
push dword [esp + 0x40]
mov eax, ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x4e9a46
mov eax, dword [edi + 8]
add eax, dword [esp + 0x14]
sub esi, dword [edi]
add eax, ebp
push eax
push edi
mov dword [edi + 4], esi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov ebx, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x40]
add esi, ebx
sub ebx, ebp
add ebx, dword [edi + 8]
mov eax, ebx
mov dword [esp + 0x38], ebx
sub eax, esi
push eax
push esi
call dword [esp + 0x28]
add esp, 0xc
test eax, eax
je 0x4e9a01
mov ecx, dword [esp + 0xc8]
add esi, eax
mov edx, dword [esp + 0x10]
sub ecx, dword [esp + 0x50]
add edx, dword [esp + 0x50]
mov dword [esp + 0x28], esi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], 0xffffffff
jmp 0x4e9a7d
je 0x4e9a9e
mov ecx, dword [esp + 0xc8]
push edx
push ecx
lea eax, [esp + 0x20]
push eax
call dword [esp + 0x54]
mov ecx, eax
mov dword [esp + 0x38], eax
add esp, 0xc
test ecx, ecx
jne 0x4e8d1d
jmp case.default.0x4e9aea
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4e9b10
mov eax, dword [esp + 0x2c]
add eax, esi
cmp eax, ebx
jbe 0x4e9adc
mov eax, dword [esp + 0x30]
sub esi, dword [edi]
imul eax, edx
mov dword [edi + 4], esi
add eax, dword [edi + 8]
add eax, ebp
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov esi, dword [edi]
add esi, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
dec eax
cmp eax, 3
ja case.default.0x4e9aea
jmp dword [eax*4 + 0x4e9c08]
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
inc ecx
mov al, byte [ecx]
mov byte [esi], al
inc esi
jmp case.default.0x4e9aea
push dword [esp + 0x18]
sub ebx, esi
push ebx
mov ebx, dword [esp + 0x24]
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4e9b6d
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x10]
mov dword [esp + 0x30], ecx
mov eax, dword [edi + 8]
sub esi, dword [edi]
add eax, ecx
add eax, ebp
mov dword [edi + 4], esi
push eax
push edi
call fcn.004e8aa0
add esp, 8
test eax, eax
je 0x4e9b99
mov eax, dword [edi]
mov esi, dword [edi + 4]
push dword [esp + 0x18]
add esi, eax
sub eax, ebp
add eax, dword [edi + 8]
sub eax, esi
push eax
push esi
call ebx
mov ecx, dword [esp + 0x3c]
add esp, 0xc
test eax, eax
je 0x4e9b32
add esi, eax
mov eax, esi
sub eax, dword [edi]
cmp dword [esp + 0x68], 2
mov dword [edi + 4], eax
mov byte [esi], 0
jne 0x4e9b8a
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov byte [edx + ecx + 1], 0
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xb0
ret