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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1bc
mov eax, dword [esp + 0x1d0]
mov dword [eax], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x1d8]
mov dword [eax], 0
mov eax, dword [esp + 0x1d4]
mov dword [eax], 0
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp], eax
call fcn.004e584d
mov ebx, eax
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], ebx
test ebx, ebx
jne 0x4e5f26
mov eax, dword [esp + 0x1d8]
mov esi, dword [eax]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1dc]
mov edx, dword [eax + 0xa4]
mov eax, dword [eax + 0x78]
cmp edx, 6
jbe 0x4e609d
cmp eax, 6
jbe 0x4e6079
test ecx, ecx
je 0x4e5f33
mov eax, esi
mul ecx
jo 0x4e5f10
shr eax, 0x1d
jne 0x4e5f10
mov eax, ecx
shr eax, 3
mul ebx
mov edi, eax
seto al
movzx eax, al
cmp ecx, 7
jbe 0x4e5ef7
test eax, eax
jne 0x4e5f10
and ecx, 7
mov eax, ecx
imul eax, ebx
add eax, 7
shr eax, 3
add eax, edi
jb 0x4e5f10
add eax, 5
mov edx, eax
jae 0x4e5f38
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x5c
mov ebx, 0x5c
mov eax, ebx
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, 5
mov eax, esi
mul edx
seto al
movzx eax, al
mov dword [esp + 0x2c], eax
jo 0x4e5f10
mov eax, dword [esp + 0x1e4]
mov dword [esp], eax
call fcn.004f0ac4
mov dword [esp + 0x34], eax
test eax, eax
je 0x4e6ecc
mov eax, dword [esp + 0x1dc]
add eax, 0xa4
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1e0]
lea ebp, [eax + 0x21]
mov dword [esp + 0x38], 1
add eax, dword [esp + 0x1e4]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x1dc]
mov edx, ebp
sub edx, dword [esp + 0x1e0]
cmp ebp, dword [esp + 0x1e0]
jb 0x4e6558
lea eax, [edx + 0xc]
cmp dword [esp + 0x1e4], eax
jb 0x4e6558
mov esi, dword [ebp]
mov edi, esi
bswap edi
test edi, edi
js 0x4e6978
add eax, edi
cmp dword [esp + 0x1e4], eax
jb 0x4e6579
cmp eax, edx
jb 0x4e6579
lea eax, [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 4], 0x4f71c8
mov dword [esp], ebp
call fcn.004e2db5
test al, al
jne 0x4e60bd
mov dword [esp + 4], 0x4f71cd
mov dword [esp], ebp
call fcn.004e2db5
test al, al
jne 0x4e633a
mov dword [esp + 4], 0x4f70f4
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e62cb
mov ecx, edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
call fcn.004daa03
mov dword [ebx + 0x190], eax
test eax, eax
jne 0x4e6145
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4e6471
mov dword [esp + 0x38], 2
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004e30a2
mov ebp, eax
jmp 0x4e5f97
mov edi, dword [esp + 0x1dc]
mov edx, dword [edi + 0x7c]
imul edx, dword [eax*4 + 0x4f8770]
cmp ebx, edx
cmovb ebx, edx
test ecx, ecx
je 0x4e5f33
jmp 0x4e5ed4
mov edi, dword [esp + 0x1dc]
mov ebx, dword [edi + 0xa8]
imul ebx, dword [edx*4 + 0x4f8770]
cmp eax, 6
ja 0x4e5ed0
jmp 0x4e6079
mov edx, dword [esp + 0x2c]
add edx, edi
jb 0x4e69aa
cmp dword [esp + 0x1e4], edx
jb 0x4e69aa
test esi, esi
je 0x4e610e
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esi, eax
test edi, edi
mov eax, 1
cmovne eax, edi
mov ecx, eax
mov dword [esp + 0x2c], esi
mov edi, esi
mov esi, dword [esp + 0x28]
cmp eax, 4
jae 0x4e642b
test al, 2
je 0x4e6109
movsw word es:[edi], word [esi]
test al, 1
je 0x4e610e
movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4e629c
mov esi, dword [ebx + 0x190]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 3
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004e30a2
mov ebp, eax
test esi, esi
je 0x4e5f97
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004f0a84
mov eax, dword [esp + 0x1dc]
mov ebx, dword [eax + 0x190]
mov esi, dword [esp + 0x78]
test ebx, ebx
je 0x4e64b7
mov dword [esp], esi
call fcn.004f0a84
mov eax, dword [esp + 0x1dc]
mov ebx, dword [eax + 0x190]
test ebx, ebx
jne 0x4e5f26
mov edx, dword [eax + 0x24]
test edx, edx
jne 0x4e61c7
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1dc]
add eax, 0x78
mov dword [esp], eax
call fcn.004e3389
mov edi, dword [esp + 0x1dc]
mov dword [edi + 0x190], eax
test eax, eax
je 0x4e5f26
mov ebx, 0x53
jmp 0x4e5f26
lea ebp, [eax + 0x78]
mov edx, dword [esp + 0x48]
mov eax, ebp
call fcn.004da77c
test eax, eax
jne 0x4e5f26
mov eax, dword [esp + 0x1dc]
mov edx, dword [eax + 0x78]
mov eax, edx
and eax, 0xfffffffb
cmp eax, 2
je 0x4e658f
mov eax, dword [esp + 0x1dc]
mov eax, dword [eax + 0x7c]
cmp eax, 8
jne 0x4e69a0
mov edi, dword [esp + 0x1d8]
mov edi, dword [edi]
mov esi, dword [esp + 0x1d4]
mov ecx, dword [esi]
cmp edx, 6
jbe 0x4e65ab
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x1d0]
mov esi, dword [eax]
mov dword [esp], ebx
call fcn.004f0ac4
mov ebx, dword [esp + 0x1d0]
mov dword [ebx], eax
test eax, eax
je 0x4e6ee2
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x48]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004e3caf
mov edi, dword [esp + 0x1dc]
mov dword [edi + 0x190], eax
mov dword [esp], esi
call fcn.004f0a84
mov eax, dword [esp + 0x1dc]
mov ebx, dword [eax + 0x190]
mov eax, ebx
add esp, 0x1bc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x28], edx
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
jne 0x4e6537
mov esi, dword [ebx + 0x190]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 3
jmp 0x4e612b
mov dword [esp + 4], 0x4f7191
mov dword [esp], ebp
call fcn.004e2db5
test al, al
jne 0x4e644f
mov dword [esp + 4], 0x4f7196
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6501
lea eax, [ebx + 0x98]
mov ecx, edi
mov edx, dword [esp + 0x28]
call fcn.004d9d38
mov dword [ebx + 0x190], eax
test eax, eax
jne 0x4e6145
mov edi, dword [ebx + 0x18]
test edi, edi
jne 0x4e6062
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
je 0x4e6062
jmp 0x4e6537
mov eax, dword [esp + 0x1dc]
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4e635f
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
jne 0x4e6537
mov eax, dword [esp + 0x1dc]
mov eax, dword [eax + 0x190]
test eax, eax
jne 0x4e6145
mov edi, dword [esp + 0x1dc]
mov edx, dword [edi + 0xa4]
cmp edx, 3
je 0x4e6486
mov edi, dword [esp + 0x1dc]
mov ecx, dword [edi + 0xa0]
mov ebx, dword [edi + 0xa8]
test ecx, ecx
jne 0x4e65d3
cmp edx, 6
jbe 0x4e64a8
mov eax, dword [esp + 0x1d4]
mov edx, dword [eax]
mov eax, edx
and eax, 7
imul eax, ecx
add eax, 7
shr eax, 3
shr edx, 3
imul edx, ecx
add edx, 1
lea ebx, [eax + edx]
mov eax, dword [esp + 0x1d8]
imul ebx, dword [eax]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x78]
mov edi, dword [esp + 0x1dc]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x34]
mov dword [esp], edi
mov ecx, ebx
call fcn.004de17d
mov edi, dword [esp + 0x1dc]
mov dword [edi + 0x190], eax
test eax, eax
jne 0x4e6145
cmp ebx, dword [esp + 0x7c]
je 0x4e6145
mov dword [edi + 0x190], 0x5b
jmp 0x4e6145
test edi, 1
jne 0x4e6a55
test edi, 2
jne 0x4e6a41
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4e6103
mov ecx, edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
call fcn.004d9c6e
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
je 0x4e605a
jmp 0x4e6537
mov ecx, dword [edi + 0xac]
test ecx, ecx
je 0x4e6962
mov ebx, dword [edi + 0xa8]
mov ebp, dword [edi + 0xa0]
test ebp, ebp
jne 0x4e6860
imul ebx, dword [edx*4 + 0x4f8770]
mov ecx, ebx
jmp 0x4e63a7
mov eax, dword [eax + 0xa4]
cmp eax, 6
jbe 0x4e6729
mov dword [esp], 0
call fcn.004f0ac4
mov edi, dword [esp + 0x1d0]
mov dword [edi], eax
test eax, eax
je 0x4e6eec
mov dword [esp + 0x58], 0x1f
mov eax, dword [esp + 0x1dc]
mov edi, dword [esp + 0x58]
mov dword [eax + 0x190], edi
jmp 0x4e616a
mov dword [esp + 4], 0x4f70f9
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e69c0
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4e693e
mov edx, dword [ebx + 0x18]
test edx, edx
jne 0x4e654d
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
je 0x4e654d
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x39
jmp 0x4e6145
mov esi, dword [ebx + 0x190]
jmp 0x4e612b
mov eax, dword [esp + 0x1dc]
mov ebx, dword [eax + 0x20]
test ebx, ebx
jne 0x4e6358
mov dword [eax + 0x190], 0x1e
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x40
jmp 0x4e6145
mov eax, dword [esp + 0x1d8]
mov edi, dword [eax]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [eax]
mov eax, dword [esp + 0x1dc]
mov eax, dword [eax + 0x7c]
imul eax, dword [edx*4 + 0x4f8770]
mov edx, edi
imul edx, ecx
mov ebx, edx
and ebx, 7
imul ebx, eax
add ebx, 7
shr ebx, 3
shr edx, 3
imul edx, eax
add ebx, edx
jmp 0x4e6223
cmp edx, 6
jbe 0x4e6860
mov edi, dword [esp + 0x1d8]
mov esi, dword [edi]
lea edx, [esi + 7]
mov edi, edx
shr edi, 3
mov ebx, dword [esp + 0x1d4]
mov ebx, dword [ebx]
lea edx, [ebx + 7]
mov ecx, edx
shr ecx, 3
and ecx, 7
imul ecx, eax
add ecx, 7
shr ecx, 3
shr edx, 6
imul edx, eax
add edx, 1
add edx, ecx
mov dword [esp + 0x28], edi
imul edx, edi
mov dword [esp + 0x38], edx
lea edi, [esi + 3]
mov dword [esp + 0x44], edi
lea ebp, [ebx + 3]
mov edx, ebp
shr edx, 2
and edx, 7
imul edx, eax
add edx, 7
mov ecx, edx
shr ecx, 3
mov edx, ebp
shr edx, 5
imul edx, eax
add edx, 1
add edx, ecx
shr edi, 3
imul edx, edi
mov dword [esp + 0x3c], edx
lea edi, [esi + 1]
mov dword [esp + 0x30], edi
lea edi, [ebx + 1]
mov edx, edi
shr edx, 1
and edx, 7
imul edx, eax
add edx, 7
mov ecx, edx
shr ecx, 3
mov edx, edi
shr edx, 4
imul edx, eax
add edx, 1
add edx, ecx
mov ecx, dword [esp + 0x30]
shr ecx, 2
imul edx, ecx
mov dword [esp + 0x40], edx
cmp ebx, 4
jbe 0x4e681a
mov edx, ebp
shr edx, 3
and edx, 7
imul edx, eax
add edx, 7
mov ecx, edx
shr ecx, 3
shr ebp, 6
mov edx, ebp
imul edx, eax
add edx, 1
add edx, ecx
mov ebp, dword [esp + 0x28]
imul edx, ebp
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
add ecx, ebp
add ecx, edx
mov edx, edi
shr edx, 2
and edx, 7
imul edx, eax
add edx, 7
shr edx, 3
mov ebp, edx
shr edi, 5
mov edx, edi
imul edx, eax
add edx, 1
add edx, ebp
mov edi, dword [esp + 0x44]
shr edi, 2
imul edx, edi
mov edi, dword [esp + 0x40]
add edx, edi
lea ebp, [edx + ecx]
mov edx, ebx
shr edx, 1
and edx, 7
imul edx, eax
add edx, 7
shr edx, 3
mov ecx, edx
mov edx, ebx
shr edx, 4
imul edx, eax
add edx, 1
add edx, ecx
mov ecx, dword [esp + 0x30]
shr ecx, 1
imul edx, ecx
add ebp, edx
jmp 0x4e683a
mov edi, dword [esp + 0x1d8]
mov ebp, dword [edi]
mov edi, dword [esp + 0x1d4]
mov edi, dword [edi]
mov dword [esp + 0x4c], edi
mov edx, dword [esp + 0x1dc]
mov ecx, dword [edx + 0xa8]
imul edi, ebp
mov edx, edi
mov edi, dword [eax*4 + 0x4f8770]
imul edi, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 4], 1
mov eax, edx
and eax, 7
imul eax, edi
add eax, 7
shr eax, 3
shr edx, 3
imul edx, edi
add eax, edx
mov dword [esp], eax
call fcn.004f0a54
mov dword [esp + 0x2c], eax
mov edi, dword [esp + 0x1d0]
mov dword [edi], eax
test eax, eax
je 0x4e6eec
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e64e3
mov eax, dword [esp + 0x1dc]
mov edi, dword [eax + 0xa0]
test edi, edi
jne 0x4e686f
mov edx, dword [esp + 0x28]
cmp edx, 7
ja 0x4e6a0a
mov ecx, dword [esp + 0x4c]
mov ebx, ecx
imul ebx, edx
lea eax, [ebx + 7]
and eax, 0xfffffff8
mov edi, eax
cmp ebx, eax
je 0x4e6a0a
mov dword [esp + 4], edx
mov dword [esp], ebp
mov edx, esi
mov eax, esi
call fcn.004de9f4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x4e6be1
mov dword [esp + 4], ebp
mov dword [esp], edi
mov ecx, ebx
mov edx, esi
mov eax, dword [esp + 0x2c]
call fcn.004db1bc
mov esi, dword [esp + 0x78]
jmp 0x4e64eb
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x40]
lea ebp, [ecx + edx]
cmp ebx, 2
ja 0x4e66c7
je 0x4e66fa
mov edx, ebx
and edx, 7
imul edx, eax
add edx, 7
shr edx, 3
shr ebx, 3
imul ebx, eax
lea eax, [ebx + 1]
add eax, edx
shr esi, 1
imul eax, esi
lea ebx, [eax + ebp]
jmp 0x4e63d4
mov eax, dword [edx*4 + 0x4f8770]
imul eax, ebx
jmp 0x4e65dc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
lea eax, [esp + 0x130]
mov dword [esp + 4], eax
lea eax, [esp + 0x110]
mov dword [esp], eax
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x9c]
lea eax, [esp + 0x80]
call fcn.004d9b31
mov dword [esp + 0x38], ebp
jmp 0x4e68c4
add ebx, 1
cmp ebx, 7
je 0x4e6a6c
mov ebp, dword [esp + ebx*4 + 0x9c]
mov ecx, dword [esp + ebx*4 + 0x80]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + ebx*4 + 0x110]
add eax, esi
mov dword [esp + 0x34], eax
mov edx, dword [esp + ebx*4 + 0xf0]
add edx, esi
mov edi, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.004de9f4
mov dword [esp + 0x58], eax
test eax, eax
jne 0x4e6be1
cmp dword [esp + 0x28], 7
ja 0x4e68b8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
imul ecx, eax
mov eax, dword [esp + ebx*4 + 0x130]
add eax, esi
mov dword [esp + 4], ebp
lea edx, [ecx + 7]
and edx, 0xfffffff8
mov dword [esp], edx
mov edx, dword [esp + 0x34]
call fcn.004db1bc
jmp 0x4e68b8
lea eax, [ebx + 0x98]
mov ecx, edi
mov edx, dword [esp + 0x28]
call fcn.004dbecb
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x6a
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4e635f
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x3f
jmp 0x4e6145
mov ebx, 0x38
jmp 0x4e5f26
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x5f
jmp 0x4e6145
mov dword [esp + 4], 0x4f719b
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6bf2
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x4e6524
lea eax, [ebx + 0x98]
mov dword [esp], edi
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.004de253
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebp
mov ecx, dword [esp + 0x4c]
mov edx, esi
mov eax, dword [esp + 0x2c]
call fcn.004de9f4
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x78]
test eax, eax
je 0x4e64eb
mov dword [esp + 0x58], 0x24
jmp 0x4e64eb
movzx ecx, word [esi]
mov word [edi], cx
add edi, 2
add esi, 2
sub eax, 2
jmp 0x4e6443
movzx eax, byte [esi]
mov byte [esp + 0x28], al
mov byte [edi], al
add edi, 1
add esi, 1
lea eax, [ecx - 1]
jmp 0x4e6437
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x150]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
lea eax, [esp + 0x190]
mov dword [esp + 4], eax
lea eax, [esp + 0x170]
mov dword [esp], eax
lea edx, [esp + 0xd4]
lea eax, [esp + 0xb8]
call fcn.004d9b31
cmp edi, 7
jbe 0x4e6c3c
shr edi, 3
xor edx, edx
lea eax, [edi + esi]
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], esi
mov eax, dword [esp + edx*4 + 0xd4]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4e6bcc
mov eax, dword [esp + edx*4 + 0xb8]
mov dword [esp + 0x30], eax
mov ebx, eax
imul ebx, edi
mov dword [esp + 0x50], ebx
test eax, eax
je 0x4e6bcc
mov dword [esp + 0x3c], 0
xor eax, eax
mov ebx, dword [edx*4 + 0x4f87c4]
mov dword [esp + 0x60], ebx
mov ebx, dword [edx*4 + 0x4f87e0]
mov dword [esp + 0x5c], ebx
mov ebx, dword [edx*4 + 0x4f87a8]
imul ebx, edi
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + edx*4 + 0x190]
lea ebp, [ecx + eax]
mov ebx, dword [esp + 0x3c]
imul ebx, dword [edx*4 + 0x4f878c]
mov esi, dword [esp + 0x60]
add ebx, esi
mov esi, dword [esp + 0x4c]
imul ebx, esi
mov esi, dword [esp + 0x5c]
add ebx, esi
imul ebx, edi
mov esi, dword [esp + 0x64]
add ecx, esi
add ecx, eax
xor esi, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
add eax, ebp
mov edx, dword [esp + 0x2c]
add edx, ebx
mov dword [esp + 0x28], ebx
lea esi, cs:[esi]
nop
movzx ebx, byte [eax]
mov byte [edx], bl
add eax, 1
add edx, 1
cmp eax, ecx
jne 0x4e6b80
mov ebx, dword [esp + 0x28]
add esi, 1
add ebp, edi
mov edx, dword [esp + 0x34]
add ebx, edx
lea ecx, [eax + edi]
mov eax, dword [esp + 0x30]
cmp esi, eax
jne 0x4e6b67
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add dword [esp + 0x3c], 1
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
add eax, esi
mov esi, dword [esp + 0x54]
cmp ebx, esi
jne 0x4e6b29
add edx, 1
cmp edx, 7
jne 0x4e6acc
mov esi, dword [esp + 0x78]
jmp 0x4e64eb
mov esi, dword [esp + 0x78]
mov dword [esp + 0x58], 0x24
jmp 0x4e64eb
mov dword [esp + 4], 0x4f71a0
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6dc3
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x4e6524
lea eax, [ebx + 0x98]
mov dword [esp], edi
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.004de3e2
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x28]
imul eax, edx
mov dword [esp + 0x60], eax
xor edi, edi
mov dword [esp + 0x30], esi
mov esi, edx
mov eax, dword [esp + edi*4 + 0xb8]
mov dword [esp + 0x40], eax
imul eax, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + edi*4 + 0xd4]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4e6db2
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4e6db2
xor ecx, ecx
xor ebx, ebx
mov eax, dword [edi*4 + 0x4f87c4]
mov dword [esp + 0x6c], eax
mov eax, dword [edi*4 + 0x4f87a8]
imul eax, esi
mov dword [esp + 0x44], eax
mov eax, dword [edi*4 + 0x4f87e0]
imul eax, esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], ecx
mov ecx, esi
mov eax, dword [esp + edi*4 + 0x190]
add eax, eax
add eax, eax
add eax, eax
lea ebp, [eax + ecx]
mov eax, dword [esp + 0x4c]
add ebp, eax
mov eax, dword [edi*4 + 0x4f878c]
imul eax, ebx
mov esi, dword [esp + 0x6c]
add eax, esi
mov esi, dword [esp + 0x60]
imul eax, esi
mov esi, dword [esp + 0x68]
add esi, eax
xor edx, edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov eax, ecx
mov ecx, esi
mov esi, edx
mov edx, eax
mov eax, ebp
sub eax, edx
mov ebx, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
jmp 0x4e6d1f
or ecx, esi
mov byte [edx], cl
add ebx, 1
cmp dword [esp + 0x28], eax
je 0x4e6d6a
mov edx, eax
shr edx, 3
mov esi, dword [esp + 0x30]
movzx edi, byte [esi + edx]
mov ecx, eax
not ecx
and ecx, 7
sar edi, cl
add eax, 1
mov edx, ebx
shr edx, 3
mov esi, dword [esp + 0x2c]
add edx, esi
movzx esi, byte [edx]
mov ecx, ebx
not ecx
and ecx, 7
mov ebp, 1
shl ebp, cl
mov ecx, ebp
and edi, 1
jne 0x4e6d12
not ecx
and ecx, esi
mov byte [edx], cl
add ebx, 1
cmp dword [esp + 0x28], eax
jne 0x4e6d1f
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add esi, 1
add ebp, edx
mov eax, dword [esp + 0x44]
add ecx, eax
cmp dword [esp + 0x40], esi
jne 0x4e6cfa
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov ecx, edx
add ebx, 1
mov esi, dword [esp + 0x5c]
add dword [esp + 0x4c], esi
mov eax, dword [esp + 0x64]
cmp ebx, eax
jne 0x4e6cb5
mov esi, edx
add edi, 1
cmp edi, 7
jne 0x4e6c53
jmp 0x4e6bd8
mov dword [esp + 4], 0x4f71a5
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6e8e
cmp esi, 0x7000000
jne 0x4e6e78
mov dword [ebx + 0xf4], 1
movzx eax, byte [ebp + 8]
shl eax, 8
movzx edx, byte [ebp + 9]
add eax, edx
mov dword [ebx + 0xf8], eax
movzx eax, byte [ebp + 0xa]
mov dword [ebx + 0xfc], eax
movzx eax, byte [ebp + 0xb]
mov dword [ebx + 0x100], eax
movzx eax, byte [ebp + 0xc]
mov dword [ebx + 0x104], eax
movzx eax, byte [ebp + 0xd]
mov dword [ebx + 0x108], eax
movzx eax, byte [ebp + 0xe]
mov dword [ebx + 0x10c], eax
mov dword [ebx + 0x190], 0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x4e6e57
mov dword [esp], ebp
call fcn.004e2e5f
test eax, eax
jne 0x4e6537
mov eax, dword [esp + 0x1e0]
add eax, dword [esp + 0x1e4]
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004e30a2
mov ebp, eax
jmp 0x4e5f97
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x49
jmp 0x4e6145
mov dword [esp + 4], 0x4f71aa
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6f18
lea eax, [ebx + 0x98]
cmp esi, 0x9000000
jne 0x4e6f02
mov edx, dword [esp + 0x28]
call fcn.004da7fe
xor eax, eax
mov dword [ebx + 0x190], eax
cmp dword [ebx + 0x18], 0
jne 0x4e6e57
jmp 0x4e6e47
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x53
jmp 0x4e61bd
mov eax, 0x53
jmp 0x4e626d
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x53
jmp 0x4e616a
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x4a
jmp 0x4e6145
mov dword [esp + 4], 0x4f71af
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6f7e
cmp esi, 0x4000000
jne 0x4e6fc0
mov dword [ebx + 0x120], 1
movzx eax, byte [ebp + 8]
shl eax, 8
movzx edx, byte [ebp + 9]
add eax, edx
shl eax, 8
movzx edx, byte [ebp + 0xa]
add eax, edx
shl eax, 8
movzx edx, byte [ebp + 0xb]
add eax, edx
mov dword [ebx + 0x124], eax
xor eax, eax
mov dword [ebx + 0x190], eax
cmp dword [ebx + 0x18], 0
jne 0x4e6e57
jmp 0x4e6e47
mov dword [esp + 4], 0x4f71b4
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e6fec
lea eax, [ebx + 0x98]
cmp esi, 0x20000000
jne 0x4e6fd6
mov edx, dword [esp + 0x28]
call fcn.004da85c
xor eax, eax
mov dword [ebx + 0x190], eax
cmp dword [ebx + 0x18], 0
jne 0x4e6e57
jmp 0x4e6e47
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x60
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x61
jmp 0x4e6145
mov dword [esp + 4], 0x4f71b9
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e7033
cmp esi, 0x1000000
jne 0x4e706e
mov dword [ebx + 0x14c], 1
movzx eax, byte [ebp + 8]
mov dword [ebx + 0x150], eax
xor eax, eax
mov dword [ebx + 0x190], eax
cmp dword [ebx + 0x18], 0
jne 0x4e6e57
jmp 0x4e6e47
mov dword [esp + 4], 0x4f71be
mov dword [esp], ebp
call fcn.004e2db5
test al, al
je 0x4e7084
lea eax, [ebx + 0x98]
mov dword [esp], edi
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.004de831
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x62
jmp 0x4e6145
mov dword [esp + 4], 0x4f71c3
mov dword [esp], ebp
call fcn.004e2db5
test al, al
jne 0x4e70e3
cmp dword [ebx + 0x1c], 0
jne 0x4e70a4
test byte [ebp + 4], 0x20
je 0x4e7107
cmp dword [ebx + 0x2c], 0
je 0x4e654d
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 0x180]
mov dword [esp + 8], ebp
lea edx, [ebx + eax]
mov dword [esp + 4], edx
lea eax, [ebx + eax - 0xc]
mov dword [esp], eax
call fcn.004e3209
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e6e57
jmp 0x4e6145
lea eax, [ebx + 0x98]
mov ecx, edi
mov edx, dword [esp + 0x28]
call fcn.004d9df8
mov dword [ebx + 0x190], eax
test eax, eax
je 0x4e631a
jmp 0x4e6145
mov eax, dword [esp + 0x1dc]
mov dword [eax + 0x190], 0x45
jmp 0x4e6145