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

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0xe2c
mov edx, dword [eax + 0x18]
mov edi, dword [ebp + 0x44c]
mov dword [esp + 0x58], eax
mov eax, dword [eax + 0x454]
mov esi, dword [ebp + 0x45c]
mov ecx, eax
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
and ecx, 7
bswap ebx
shl ebx, cl
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4c29f2
add eax, 8
mov dword [esp + 0x70], 1
shr ebx, 0xf8
cmp eax, esi
mov dword [esp + 0x48], ebx
cmova eax, esi
add eax, edx
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
imul eax, dword [esp + 0x70], 0x980
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x2c], edi
lea ebx, [ebp + 0x5aa4]
add eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
test edx, edx
jle 0x4c2695
mov ebx, dword [esp + 0x40]
mov eax, dword [ebp + 0x454]
mov dword [esp + 0x34], 0
lea edi, [ebx - 0x5aa4]
mov dword [esp + 0x38], edi
jmp 0x4c2406
add eax, 9
shr edx, 0xf7
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0xc], edx
mov edi, dword [esp + 0x2c]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add edi, edx
mov dword [esp + 0x30], edi
movzx edi, byte [edi]
shl edi, cl
mov edx, edi
shr dl, 7
cmp esi, eax
mov edi, edx
jle 0x4c21dd
add eax, 1
mov edx, eax
mov ecx, eax
shr edx, 3
add edx, dword [esp + 0x2c]
and ecx, 7
mov dword [esp + 0x30], edx
mov edx, edi
mov dword [ebp + 0x454], eax
test dl, dl
jne 0x4c2502
mov edi, dword [esp + 0x30]
mov byte [ebx + 0x10], 0
add eax, 5
mov byte [ebx + 0x11], 0
mov edx, dword [edi]
mov edi, dword [esp + 0x2c]
bswap edx
shl edx, cl
shr edx, 0xfb
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x14], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 5
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfb
cmp esi, eax
cmovbe eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x18], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 5
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfb
cmp esi, eax
cmovbe eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x1c], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 4
mov edi, dword [edi + edx]
and ecx, 7
bswap edi
shl edi, cl
mov ecx, dword [esp + 0x2c]
shr edi, 0xfc
cmp eax, esi
cmova eax, esi
mov edx, eax
mov dword [ebp + 0x454], eax
shr edx, 3
mov edx, dword [ecx + edx]
mov ecx, eax
add eax, 3
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfd
cmp eax, esi
cmova eax, esi
mov esi, dword [esp + 0x38]
add edx, edi
imul ecx, dword [ebp + 0x10], 0x17
mov dword [ebp + 0x454], eax
lea eax, [edi + ecx + 1]
movzx eax, word [eax + eax + 0x7733a0]
shr ax, 1
cmp edx, 0x14
movzx eax, ax
mov dword [esi + 0x5ad4], eax
mov eax, 0x14
cmovg edx, eax
lea eax, [ecx + edx + 2]
movzx eax, word [eax + eax + 0x7733a0]
shr ax, 1
movzx eax, ax
mov dword [esi + 0x5ad8], eax
mov eax, dword [ebx + 4]
cmp dword [ebx + 0x30], eax
mov ecx, eax
cmovle ecx, dword [ebx + 0x30]
cmp dword [ebx + 0x34], eax
mov edx, eax
cmovle edx, dword [ebx + 0x34]
mov dword [ebx + 0x30], ecx
mov esi, edx
sub esi, ecx
cmp eax, 0x120
mov ecx, 0x120
cmovg eax, ecx
mov dword [ebx + 0x34], esi
sub eax, edx
cmp byte [ebx + 0x10], 2
mov dword [ebx + 0x38], eax
je 0x4c24d0
mov dword [ebx + 0x40], 0xd
mov dword [ebx + 0x44], 0x16
mov eax, dword [ebp + 0x454]
mov edi, dword [esp + 0x2c]
mov dword [ebx + 0x3c], 0
mov esi, dword [ebp + 0x45c]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add edx, edi
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x30], edx
jne 0x4c2391
movzx edx, byte [edx]
shl edx, cl
xor ecx, ecx
shr dl, 7
cmp eax, esi
setl cl
movzx edx, dl
add eax, ecx
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x3c], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add edi, edx
and ecx, 7
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x30]
movzx edi, byte [edi]
shl edi, cl
mov edx, edi
shr dl, 7
cmp esi, eax
mov edi, edx
jle 0x4c23ba
add eax, 1
mov edx, eax
mov ecx, eax
shr edx, 3
add edx, dword [esp + 0x2c]
and ecx, 7
mov dword [esp + 0x30], edx
mov edx, edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x454], eax
mov byte [ebx + 0x2c], dl
movzx edx, byte [edi]
shl edx, cl
shr dl, 7
cmp eax, esi
jge 0x4c23d8
add eax, 1
add dword [esp + 0x34], 1
mov dword [ebp + 0x454], eax
add ebx, 0x1300
mov byte [ebx - 0x12d3], dl
mov edi, dword [esp + 0x34]
mov edx, dword [ebp + 0x18]
add dword [esp + 0x38], 0x1300
cmp edx, edi
jle 0x4c2695
mov edi, dword [esp + 0x2c]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add eax, 0xc
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xf4
cmp esi, eax
cmovbe eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 9
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xf7
cmp eax, esi
cmova eax, esi
cmp edx, 0x120
mov dword [ebp + 0x454], eax
mov dword [ebx + 4], edx
jg 0x4c29c0
mov edx, eax
mov ecx, eax
add eax, 8
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
shr edx, 0xf8
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 8], edx
mov ecx, dword [ebp + 0x20]
and ecx, 3
cmp ecx, 2
jne 0x4c2495
sub edx, 2
mov dword [ebx + 8], edx
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
mov edx, dword [edi + edx]
bswap edx
shl edx, cl
mov ecx, dword [ebp + 0x24]
test ecx, ecx
jne 0x4c2190
add eax, 4
shr edx, 0xfc
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0xc], edx
jmp 0x4c21a4
cmp byte [ebx + 0x11], 0
je 0x4c2650
mov eax, dword [ebp + 0x10]
cmp eax, 8
je 0x4c2ab0
cmp eax, 2
mov dword [ebx + 0x40], 3
setle al
movzx eax, al
lea eax, [eax + eax + 6]
mov dword [ebx + 0x44], eax
jmp 0x4c2337
mov edi, dword [esp + 0x30]
add eax, 2
mov edx, dword [edi]
bswap edx
shl edx, cl
mov edi, edx
shr edi, 0xfe
cmp eax, esi
mov ecx, edi
mov dword [esp + 0x3c], edi
cmova eax, esi
test cl, cl
mov dword [ebp + 0x454], eax
mov byte [ebx + 0x10], cl
je 0x4c2ae0
mov edi, dword [esp + 0x2c]
mov edx, eax
mov ecx, eax
shr edx, 3
and ecx, 7
add edi, edx
mov dword [esp + 0x30], edi
movzx edi, byte [edi]
shl edi, cl
mov edx, edi
shr dl, 7
cmp eax, esi
mov edi, edx
jge 0x4c2569
add eax, 1
mov edx, eax
mov ecx, eax
shr edx, 3
add edx, dword [esp + 0x2c]
and ecx, 7
mov dword [esp + 0x30], edx
mov edx, edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x454], eax
mov byte [ebx + 0x11], dl
add eax, 5
mov edx, dword [edi]
mov edi, dword [esp + 0x2c]
bswap edx
shl edx, cl
shr edx, 0xfb
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x14], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 5
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfb
cmp esi, eax
cmovbe eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x18], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 3
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfd
cmp eax, esi
cmova eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x20], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 3
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfd
cmp esi, eax
cmovbe eax, esi
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x24], edx
mov edx, eax
shr edx, 3
mov ecx, eax
add eax, 3
mov edx, dword [edi + edx]
and ecx, 7
bswap edx
shl edx, cl
shr edx, 0xfd
cmp esi, eax
cmovbe eax, esi
cmp byte [esp + 0x3c], 2
mov dword [ebp + 0x454], eax
mov dword [ebx + 0x28], edx
mov eax, dword [ebp + 0x10]
je 0x4c2663
cmp eax, 2
jg 0x4c2680
mov dword [ebx + 0x30], 0x12
mov dword [ebx + 0x34], 0x120
jmp 0x4c22ee
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
jmp 0x4c2337
cmp eax, 8
mov edx, 0x12
mov eax, 0x24
cmovne eax, edx
mov dword [ebx + 0x30], eax
jmp 0x4c2640
cmp eax, 8
mov esi, 0x36
mov eax, 0x1b
cmove eax, esi
mov dword [ebx + 0x30], eax
jmp 0x4c2640
add dword [esp + 0x40], 0x980
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x44], eax
jne 0x4c2165
mov esi, dword [esp + 0x58]
mov edi, dword [esi + 0x80a0]
test edi, edi
mov dword [esp + 0x3c], edi
jne 0x4c2b10
mov eax, dword [esi + 0x454]
mov ebx, dword [esi + 0x458]
mov edx, dword [esi + 0x440]
mov dword [esp + 0x2c], ebx
sub ebx, eax
mov ecx, eax
mov eax, ebx
sar ecx, 3
add ecx, dword [esi + 0x44c]
sar eax, 3
sub eax, dword [esi + 0x444]
mov ebx, eax
mov eax, 0x418
sub eax, edx
cmovs eax, edi
cmp ebx, eax
cmovle eax, ebx
lea ebx, [esi + 0x28]
test eax, eax
cmovs eax, edi
add edx, ebx
mov dword [esi + 0x444], eax
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi + 0x44c]
mov dword [esi + 0x460], eax
mov eax, dword [esi + 0x450]
mov dword [esi + 0x464], eax
mov eax, dword [esi + 0x454]
mov dword [esi + 0x468], eax
mov eax, dword [esi + 0x458]
mov dword [esi + 0x46c], eax
mov eax, dword [esi + 0x45c]
mov dword [esi + 0x470], eax
mov eax, esi
mov esi, dword [esi + 0x440]
mov edi, dword [eax + 0x444]
add edi, esi
mov eax, edi
shl eax, 3
cmp eax, 0x7ffffdfe
ja 0x4c2b00
mov edx, eax
lea ecx, [eax + 8]
sar edx, 3
add edx, ebx
mov edi, dword [esp + 0x58]
mov dword [esp + 0x78], 0
mov dword [esp + 0x38], 0
mov dword [edi + 0x44c], ebx
lea ebx, [edi + 0x80c4]
mov dword [edi + 0x458], eax
lea eax, [esi*8]
mov dword [edi + 0x45c], ecx
mov dword [edi + 0x450], edx
mov dword [esp + 0x34], ebx
lea ebx, [edi + 0x5b20]
mov dword [edi + 0x454], 0
mov esi, edi
mov dword [edi + 0x440], eax
mov dword [esp + 0x40], ebx
nop
mov edx, eax
sar edx, 3
cmp dword [esp + 0x48], edx
jle 0x4c28bb
mov ebp, dword [esi + 0x18]
test ebp, ebp
jle 0x4c2898
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x40]
lea ebp, [esi + 0x48a0]
add ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], 0
lea edx, [edi + edi*8]
shl edx, 8
lea edi, [esi + edx + 0x24a0]
mov dword [esp + 0x30], edi
lea edi, [ebx + 4]
add eax, dword [ebx - 0x7c]
mov ecx, ebx
lea edx, [ebx - 0x80]
add ebx, 0x1300
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x900
mov dword [esi + 0x440], eax
xor eax, eax
shr ecx, 2
mov dword [ebx - 0x1300], 0
mov dword [ebx - 0xa04], 0
rep stosd dword es:[edi], eax
mov dword [esp], ebp
add ebp, 0x900
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, edi
add edi, 0x1200
call fcn.004c0380
add dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x2c]
cmp dword [esi + 0x18], eax
mov eax, dword [esi + 0x440]
jg 0x4c2825
add dword [esp + 0x78], 1
add dword [esp + 0x38], 0x980
mov ebx, dword [esp + 0x78]
cmp dword [esp + 0x70], ebx
jne 0x4c27e0
mov esi, dword [esp + 0x70]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ebx, dword [esi + 0x444]
mov ecx, dword [esi + 0x458]
shl edx, 3
sub eax, edx
lea edx, [ebx*8]
mov dword [esp + 0x2c], ebx
mov ebx, ecx
sub ebx, edx
cmp ebx, eax
jg 0x4c4988
mov edi, dword [esi + 0x460]
test edi, edi
je 0x4c4988
sub eax, ecx
lea ecx, [eax + edx]
mov edx, dword [esi + 0x468]
mov eax, dword [esi + 0x470]
mov ebx, edx
neg ebx
cmp ecx, ebx
jl 0x4c291f
sub eax, edx
cmp eax, ecx
cmovg eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x460]
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x460], 0
mov dword [esi + 0x444], 0
mov dword [esi + 0x44c], eax
mov eax, dword [esi + 0x464]
mov dword [esi + 0x468], ebx
mov dword [esi + 0x454], ebx
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x46c]
mov dword [esi + 0x458], eax
mov eax, dword [esi + 0x470]
mov dword [esi + 0x45c], eax
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x70], esi
jg 0x4c4a23
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x454]
test edx, edx
jns 0x4c29ae
mov esi, eax
mov eax, dword [eax + 0x45c]
mov ecx, edx
neg ecx
mov dword [esp + 0x2c], eax
sub eax, edx
cmp eax, ecx
cmovg eax, ecx
add eax, edx
mov dword [esi + 0x454], eax
mov eax, dword [esp + 0x70]
lea eax, [eax + eax*8]
add eax, eax
jmp 0x4c29e7
mov dword [esp + 8], 0x69cc70
mov eax, dword [esp + 0x58]
mov dword [esp + 4], 0x10
mov eax, dword [eax + 0x80ac]
mov dword [esp], eax
call fcn.0056b9c0
mov eax, 0xbebbb1b7
add esp, 0xe2c
pop ebx
pop esi
pop edi
pop ebp
mov ecx, ebx
add eax, 9
mov ebx, dword [esp + 0x58]
shr ecx, 0xf7
cmp eax, esi
mov dword [esp + 0x48], ecx
cmova eax, esi
cmp edx, 2
mov dword [ebx + 0x454], eax
je 0x4c2aed
add eax, 5
mov dword [esp + 0x70], 2
cmp eax, esi
cmova eax, esi
test edx, edx
mov dword [ebx + 0x454], eax
jle 0x4c2145
mov ebp, dword [esp + 0x58]
mov ecx, eax
mov dword [esp + 0x70], 2
shr ecx, 3
mov byte [ebp + 0x5aa0], 0
mov ebx, dword [edi + ecx]
mov ecx, eax
and ecx, 7
add eax, 4
bswap ebx
shl ebx, cl
shr ebx, 0xfc
cmp eax, esi
mov byte [ebp + 0x6420], bl
cmova eax, esi
cmp edx, 1
mov dword [ebp + 0x454], eax
jle 0x4c2145
mov ecx, eax
mov byte [ebp + 0x6da0], 0
shr ecx, 3
mov ebx, dword [edi + ecx]
mov ecx, eax
add eax, 4
and ecx, 7
bswap ebx
shl ebx, cl
shr ebx, 0xfc
cmp eax, esi
mov byte [ebp + 0x7720], bl
cmova eax, esi
mov dword [ebp + 0x454], eax
jmp 0x4c2145
mov dword [esp + 4], 0x69cc98
mov eax, dword [ebp + 0x80ac]
mov dword [esp], eax
call fcn.0056baa0
mov esi, dword [ebp + 0x44c]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
jmp 0x4c24e6
mov dword [esp + 8], 0x69cc84
jmp 0x4c29c8
add eax, 3
cmp eax, esi
cmova eax, esi
mov dword [ebx + 0x454], eax
jmp 0x4c2a34
xor eax, eax
xor edx, edx
mov ecx, 8
xor ebx, ebx
jmp 0x4c2786
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x78]
mov dword [esi + 0x444], 0
imul esi, eax, 0x980
mov dword [esp + 0x90], esi
imul esi, eax, 0x260
lea eax, [eax + eax*8]
shl eax, 8
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x58]
lea eax, [esi + eax + 0x24a0]
mov dword [esp + 0x9c], eax
test edx, edx
jle 0x4c43d4
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esi + 0x454]
mov dword [esp + 0x3c], eax
mov eax, esi
add eax, ebx
mov dword [esp + 0x4c], eax
mov eax, ebx
lea ebx, [esi + ebx + 0x5b20]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], ebx
imul ebx, eax, 0x980
imul eax, eax, 0x260
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], eax
mov ebx, dword [esi + 0x24]
mov edi, dword [esp + 0x4c]
test ebx, ebx
movzx edx, byte [edi + 0x5ab4]
mov eax, dword [edi + 0x5ab0]
jne 0x4c3db7
movzx ebp, byte [eax + 0x69e500]
movzx eax, byte [eax + 0x69e510]
cmp dl, 2
mov ecx, ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x44], al
mov dword [esp + 0x2c], eax
jne 0x4c3fc0
xor eax, eax
cmp byte [edi + 0x5ab5], 0
mov ebx, edi
sete al
add eax, 0x11
test ebp, ebp
mov dword [esp + 0x40], eax
je 0x4c477b
add ebx, 0x5aec
mov edi, dword [esi + 0x45c]
mov ebp, dword [esi + 0x44c]
add eax, ebx
neg ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x34], cl
mov edx, eax
mov ecx, eax
add eax, dword [esp + 0x48]
shr edx, 3
and ecx, 7
mov edx, dword [ebp + edx]
bswap edx
shl edx, cl
movzx ecx, byte [esp + 0x34]
shr edx, cl
cmp edi, eax
cmovbe eax, edi
add ebx, 1
mov dword [esi + 0x454], eax
mov byte [ebx - 1], dl
cmp ebx, dword [esp + 0x30]
jne 0x4c2c42
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4c4390
movzx ebx, byte [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov edi, dword [esi + 0x45c]
mov ebp, dword [esi + 0x44c]
neg ebx
mov byte [esp + 0x34], bl
mov ebx, dword [esp + 0x84]
lea ebx, [ecx + ebx + 0x5aec]
lea ecx, [ecx + edx + 0x5afe]
add ebx, esi
mov dword [esp + 0x30], ecx
lea esi, [esi]
mov edx, eax
mov ecx, eax
add eax, dword [esp + 0x2c]
shr edx, 3
and ecx, 7
mov edx, dword [ebp + edx]
bswap edx
shl edx, cl
movzx ecx, byte [esp + 0x34]
shr edx, cl
cmp edi, eax
cmovbe eax, edi
add ebx, 1
mov dword [esi + 0x454], eax
mov byte [ebx - 1], dl
cmp dword [esp + 0x30], ebx
jne 0x4c2cc0
imul eax, dword [esp + 0x7c], 0x1300
add eax, dword [esp + 0x98]
add eax, esi
add eax, dword [esp + 0x40]
mov byte [eax + 0x5afe], 0
mov byte [eax + 0x5aff], 0
mov byte [eax + 0x5b00], 0
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x5aac]
mov ecx, dword [ebx + 0x5ae8]
imul edi, dword [ebx + 0x5ae0], 0x16
sub eax, 0xd2
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
movzx eax, byte [ebx + 0x5ad0]
add edi, 0x69d0e0
add eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
imul eax, eax, 0x16
add eax, 0x69d1a0
test ecx, ecx
jle 0x4c47fb
add ebx, 0x5aec
mov ebp, eax
lea eax, [esp + 0xa0]
add ecx, ebx
mov dword [esp + 0x34], esi
mov esi, ecx
movzx ecx, byte [ebx]
movzx edx, byte [edi]
add edx, ecx
movzx ecx, byte [esp + 0x2c]
shl edx, cl
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov edx, ecx
movzx ecx, byte [ebp]
add edx, 0x190
test cl, cl
je 0x4c2dbb
lea ecx, [eax + ecx*2]
lea esi, [esi]
add eax, 2
mov word [eax - 2], dx
cmp ecx, eax
jne 0x4c2db0
add ebx, 1
add edi, 1
add ebp, 1
cmp ebx, esi
jne 0x4c2d84
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x4c]
mov edx, dword [ebx + 0x5ae4]
cmp edx, 0xc
jg 0x4c2ec3
mov edi, dword [ebx + 0x5ac4]
lea ecx, [edi*8]
mov edi, dword [esp + 0x30]
mov ebp, edi
sub ebp, ecx
mov ecx, dword [ebx + 0x5ac8]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x520], ebp
mov ebp, edi
shl ecx, 3
sub ebp, ecx
mov ecx, dword [ebx + 0x5acc]
mov dword [esp + 0x524], ebp
mov dword [esp + 0x30], ecx
shl ecx, 3
sub edi, ecx
mov dword [esp + 0x528], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x48], esi
lea ecx, [edi + edi*2]
lea ecx, [edi + ecx*4]
lea edi, [edx + ecx + 0x69d120]
mov ecx, dword [esp + 0x84]
lea edx, [edx + edx*2]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x44]
add ecx, edi
lea ebp, [esi + ecx]
lea ecx, [edi + ebx + 0x27]
sub ecx, edx
mov dword [esp + 0x44], ecx
nop
mov ebx, dword [esp + 0x34]
movzx edx, byte [ebx]
xor ebx, ebx
mov byte [esp + 0x30], dl
lea edi, [edx + edx]
mov edx, dword [esp + 0x40]
movzx esi, byte [ebp + ebx + 0x5aec]
movzx ecx, byte [esp + 0x2c]
shl esi, cl
sub edx, esi
add edx, 0x190
cmp byte [esp + 0x30], 0
je 0x4c2ea0
lea ecx, [eax + edi]
add eax, 2
mov word [eax - 2], dx
cmp ecx, eax
jne 0x4c2e95
add ebx, 1
cmp ebx, 3
je 0x4c2eb1
mov edx, dword [esp + ebx*4 + 0x520]
jmp 0x4c2e74
ret
add dword [esp + 0x34], 1
add ebp, 3
cmp ebp, dword [esp + 0x44]
jne 0x4c2e60
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esi + 0x444]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x458]
add ebx, dword [edi + 0x5aa4]
shl eax, 3
sub ecx, eax
mov eax, ecx
cmp ecx, ebx
mov dword [esp + 0x64], ebx
cmovg eax, ebx
mov dword [esp + 0x44], eax
lea eax, [edi + 0x5ab8]
mov dword [esp + 0x60], eax
lea eax, [edi + 0x5ac4]
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], eax
imul eax, dword [esp + 0x7c], 0x4c0
add eax, dword [esp + 0x94]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
je 0x4c32b5
mov edx, dword [eax]
movzx eax, byte [edx + edx + 0x69d2c0]
test eax, eax
je 0x4c3c30
test ebx, ebx
jle 0x4c32b5
movzx edi, byte [edx + edx + 0x69d2c1]
shl eax, 4
add eax, 0x777240
mov dword [esp + 0x5c], eax
mov ecx, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x8e], cl
lea ebx, [edi + ebx*2]
lea ecx, [edi*4 + 4]
mov edi, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], ebx
jmp 0x4c309b
mov esi, dword [esp + 0x2c]
add eax, ebx
cmp ebp, eax
cmovbe eax, ebp
test edx, edx
lea ebx, [esi + 2]
mov dword [edi + 0x454], eax
mov dword [esp + 0x30], ebx
je 0x4c3870
movsx esi, word [esp + ebx*2 + 0x9c]
mov ebx, edx
and ebx, 0xf
mov dword [esp + 0x40], ebx
mov word [esp + 0x50], si
mov dword [esp + 0x48], esi
mov esi, edx
sar esi, 5
and edx, 0x10
je 0x4c3220
cmp esi, 0xe
jg 0x4c3a80
mov ebx, dword [esp + 0x34]
mov edx, eax
shr edx, 3
movzx edx, byte [ebx + edx]
mov ebx, eax
and ebx, 7
mov ecx, ebx
mov ebx, dword [esp + 0x3c]
shl edx, cl
xor ecx, ecx
shr dl, 7
cmp eax, ebp
setl cl
movzx edx, dl
add eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x454], eax
mov eax, edx
neg eax
shl ecx, 6
xor eax, dword [ecx + esi*4 + 0x742a60]
mov esi, dword [esp + 0x38]
add eax, edx
mov dword [esi + ebx - 4], eax
mov eax, dword [edi + 0x454]
mov ebp, dword [edi + 0x45c]
mov ebx, eax
mov esi, eax
shr ebx, 3
and esi, 7
add ebx, dword [esp + 0x34]
cmp dword [esp + 0x40], 0xf
je 0x4c3970
movzx edx, byte [ebx]
mov ecx, esi
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
shl edx, cl
lea ecx, [eax + 1]
shr dl, 7
cmp eax, ebp
cmovl eax, ecx
movzx ecx, dl
mov edx, dword [esp + 0x48]
mov dword [edi + 0x454], eax
mov eax, ecx
neg eax
shl edx, 6
xor eax, dword [edx + esi*4 + 0x742a60]
mov esi, dword [esp + 0x38]
add eax, ecx
mov dword [esi + ebx], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x3c], 8
cmp dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
je 0x4c32b3
mov ebx, dword [edi + 0x454]
cmp dword [esp + 0x44], ebx
jle 0x4c3160
mov ebp, dword [edi + 0x45c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0x44c]
mov esi, dword [eax + 4]
mov eax, ebx
mov dword [esp + 0x34], ecx
shr eax, 3
mov eax, dword [ecx + eax]
mov ecx, ebx
and ecx, 7
mov dword [esp + 0x30], esi
bswap eax
shl eax, cl
shr eax, 0xf9
lea eax, [esi + eax*4]
movsx edx, word [eax]
movsx eax, word [eax + 2]
test eax, eax
mov dword [esp + 0x40], eax
jns 0x4c2f85
add ebx, 7
mov esi, dword [esp + 0x34]
cmp ebp, ebx
cmovbe ebx, ebp
mov ecx, ebx
shr ecx, 3
mov esi, dword [esi + ecx]
mov ecx, ebx
and ecx, 7
bswap esi
shl esi, cl
mov ecx, eax
mov eax, dword [esp + 0x30]
shr esi, cl
add esi, edx
lea eax, [eax + esi*4]
movsx edx, word [eax]
movsx eax, word [eax + 2]
test eax, eax
jns 0x4c2f85
sub ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
cmp ebp, ebx
cmovbe ebx, ebp
mov ecx, ebx
shr ecx, 3
mov esi, dword [esi + ecx]
mov ecx, ebx
and ecx, 7
bswap esi
shl esi, cl
mov ecx, eax
mov eax, dword [esp + 0x30]
shr esi, cl
add esi, edx
lea eax, [eax + esi*4]
movsx edx, word [eax]
movsx eax, word [eax + 2]
jmp 0x4c2f85
mov esi, dword [edi + 0x460]
test esi, esi
je 0x4c32b3
mov eax, dword [edi + 0x444]
mov esi, dword [edi + 0x458]
shl eax, 3
sub esi, eax
cmp ebx, esi
jl 0x4c32b3
mov eax, dword [edi + 0x460]
mov edx, dword [edi + 0x468]
mov ecx, ebx
sub ecx, dword [esp + 0x44]
mov dword [edi + 0x460], 0
mov dword [edi + 0x444], 0
mov dword [edi + 0x44c], eax
mov eax, dword [edi + 0x464]
mov esi, edx
neg esi
mov dword [edi + 0x454], edx
mov dword [edi + 0x450], eax
mov eax, dword [edi + 0x46c]
mov dword [edi + 0x458], eax
mov eax, dword [edi + 0x470]
mov dword [edi + 0x45c], eax
mov ebp, eax
xor eax, eax
cmp ecx, esi
jl 0x4c31f8
mov eax, ebp
sub eax, edx
cmp eax, ecx
cmovg eax, ecx
add eax, edx
add dword [esp + 0x64], eax
sub dword [esp + 0x64], ebx
mov dword [edi + 0x454], eax
mov esi, dword [esp + 0x64]
cmp esi, eax
jle 0x4c4b40
mov ebx, eax
mov dword [esp + 0x44], esi
jmp 0x4c30b1
add esi, ebx
cmp esi, 0xe
jg 0x4c39f1
mov ecx, dword [esp + 0x34]
mov edx, eax
shr edx, 3
movzx edx, byte [ecx + edx]
mov ecx, eax
and ecx, 7
shl edx, cl
xor ecx, ecx
shr dl, 7
cmp eax, ebp
setl cl
add eax, ecx
movzx ecx, dl
mov edx, dword [esp + 0x48]
mov dword [edi + 0x454], eax
mov eax, ecx
neg eax
shl edx, 6
xor eax, dword [edx + esi*4 + 0x742a60]
mov esi, dword [esp + 0x3c]
add ecx, eax
lea eax, [esi - 4]
test ebx, ebx
cmovne eax, esi
mov esi, dword [esp + 0x38]
mov dword [esi + eax], ecx
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
mov edx, dword [esp + 0x2c]
sete al
add edx, dword [esp + 0x6c]
add dword [esp + 0x3c], 8
lea eax, [eax + edx + 0x16c8]
mov dword [edi + eax*4], 0
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
jne 0x4c309b
mov esi, edi
add dword [esp + 0x60], 4
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x74]
jne 0x4c2f22
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esi + 0x454]
cmp edi, 0x23c
movzx eax, byte [eax + 0x5ad1]
jg 0x4c3452
mov edx, 0x23c
shl eax, 4
mov dword [esp + 0x34], edi
sub edx, edi
add eax, 0x773780
mov dword [esp + 0x40], 0
and edx, 0xfffffffc
mov dword [esp + 0x50], eax
lea ebx, [edi + edx + 4]
mov edi, esi
mov dword [esp + 0x48], ebx
cmp dword [esp + 0x44], ebp
jle 0x4c3895
mov eax, dword [edi + 0x45c]
mov dword [esp + 0x40], ebp
mov esi, ebp
mov dword [esp + 0x2c], eax
mov ebx, dword [edi + 0x44c]
mov eax, esi
shr eax, 3
mov eax, dword [ebx + eax]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x50]
bswap eax
mov ecx, dword [ebx]
mov dword [esp + 0x30], ecx
movzx edx, byte [esp + 0x30]
mov ecx, esi
and ecx, 7
shl eax, cl
neg edx
mov ecx, edx
mov edx, dword [ebx + 4]
shr eax, cl
lea eax, [edx + eax*4]
movsx ebp, word [eax + 2]
movsx edx, word [eax]
mov eax, dword [esp + 0x2c]
add ebp, esi
mov esi, dword [esp + 0x34]
cmp eax, ebp
cmovbe ebp, eax
mov eax, dword [esp + 0x4c]
test edx, edx
mov dword [edi + 0x454], ebp
mov dword [eax + esi*4 + 0x5b2c], 0
mov dword [eax + esi*4 + 0x5b28], 0
mov dword [eax + esi*4 + 0x5b24], 0
mov dword [eax + esi*4 + 0x5b20], 0
jne 0x4c33ce
jmp 0x4c343b
mov eax, dword [edi + 0x45c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx*4 + 0x69cec0]
mov eax, dword [esp + 0x34]
mov ebx, 8
lea esi, [eax + ecx]
sar ebx, cl
mov eax, edx
xor eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, ebp
shr eax, 3
movzx eax, byte [ecx + eax]
mov ecx, ebp
and ecx, 7
shl eax, cl
lea ecx, [ebp + 1]
shr al, 7
cmp ebp, dword [esp + 0x2c]
movzx eax, al
cmovl ebp, ecx
mov ecx, eax
mov dword [edi + 0x454], ebp
movsx ebp, word [esp + esi*2 + 0xa0]
neg ecx
xor ecx, dword [ebp*4 + 0x74aa60]
add eax, ecx
mov ecx, dword [esp + 0x38]
cmp edx, ebx
mov dword [ecx + esi*4], eax
mov ebp, dword [edi + 0x454]
jne 0x4c33c0
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x48]
jne 0x4c3315
mov esi, edi
mov edi, eax
mov ebx, dword [esp + 0x64]
sub ebx, ebp
js 0x4c3b22
nop
je 0x4c3472
test dword [esi + 0x80a8], 0x40004
jne 0x4c3b32
mov eax, dword [esp + 0x88]
mov edx, 0x240
sub edx, edi
shl edx, 2
add eax, edi
mov edi, dword [esp + 0x80]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
lea eax, [edi + eax + 0x16c8]
lea eax, [esi + eax*4]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [esi + 0x454]
mov eax, dword [esi + 0x45c]
mov dword [esp + 0x3c], 0
mov ecx, edx
neg ecx
cmp ebx, ecx
jl 0x4c34d3
sub eax, edx
cmp eax, ebx
cmovg eax, ebx
add eax, edx
mov dword [esp + 0x3c], eax
mov ebx, dword [esi + 0x460]
mov edi, dword [esp + 0x3c]
test ebx, ebx
mov dword [esi + 0x454], edi
je 0x4c357b
mov eax, dword [esi + 0x444]
mov ebx, dword [esi + 0x458]
shl eax, 3
sub ebx, eax
cmp ebx, edi
jg 0x4c357b
mov eax, dword [esi + 0x460]
sub edi, dword [esp + 0x44]
mov edx, dword [esi + 0x46c]
mov ebx, dword [esi + 0x470]
mov dword [esi + 0x460], 0
mov dword [esi + 0x444], 0
mov dword [esi + 0x44c], eax
mov eax, dword [esi + 0x464]
mov dword [esi + 0x458], edx
mov dword [esi + 0x45c], ebx
mov dword [esp + 0x3c], 0
mov dword [esi + 0x450], eax
mov eax, dword [esi + 0x468]
mov ecx, eax
mov dword [esi + 0x454], eax
neg ecx
cmp edi, ecx
jl 0x4c3571
sub ebx, eax
cmp ebx, edi
cmovg ebx, edi
add eax, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x454], eax
add dword [esp + 0x7c], 1
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x7c]
add dword [esp + 0x4c], 0x1300
add dword [esp + 0x80], 0x4c0
add dword [esp + 0x38], 0x1300
add dword [esp + 0x84], 0x1300
cmp edx, eax
jg 0x4c2bc2
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x1c], 1
je 0x4c43e2
test edx, edx
jle 0x4c382f
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], 0
lea esi, [eax + 0x80c4]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x90]
lea ebx, [eax + esi + 0x5ab4]
lea esi, [eax + esi + 0x5aa0]
add eax, 0x48a0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x30]
mov eax, 0x1f
cmp byte [ebx], 2
je 0x4c3c75
mov esi, dword [esp + 0x38]
lea eax, [eax + eax*8]
lea ecx, [esi + 0xc8]
lea edi, [ecx + eax*8]
mov ebx, dword [ecx - 4]
mov ebp, dword [ecx]
lea eax, [ebx + ebp]
imul dword [0x73a860]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx + 4]
imul dword [0x73a868]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 4], eax
mov eax, ebx
mov ebx, dword [ecx - 8]
imul dword [0x73a86c]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx], edx
imul dword [0x73a870]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx + 8]
imul dword [0x73a878]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 8], eax
mov eax, ebx
mov ebx, dword [ecx - 0xc]
imul dword [0x73a87c]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx + 4], edx
imul dword [0x73a880]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx + 0xc]
imul dword [0x73a888]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 0xc], eax
mov eax, ebx
mov ebx, dword [ecx - 0x10]
imul dword [0x73a88c]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx + 8], edx
imul dword [0x73a890]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx + 0x10]
imul dword [0x73a898]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 0x10], eax
mov eax, ebx
mov ebx, dword [ecx - 0x14]
imul dword [0x73a89c]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx + 0xc], edx
imul dword [0x73a8a0]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx + 0x14]
imul dword [0x73a8a8]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 0x14], eax
mov eax, ebx
mov ebx, dword [ecx - 0x18]
imul dword [0x73a8ac]
add edx, esi
add ecx, 0x48
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx - 0x38], edx
imul dword [0x73a8b0]
mov esi, edx
mov eax, ebp
mov ebp, dword [ecx - 0x30]
imul dword [0x73a8b8]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 0x60], eax
mov eax, ebx
mov ebx, dword [ecx - 0x64]
imul dword [0x73a8bc]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx - 0x34], edx
imul dword [0x73a8c0]
mov esi, edx
mov eax, ebp
imul dword [0x73a8c8]
mov eax, esi
mov ebp, dword [ecx - 0x2c]
sub eax, edx
shl eax, 2
mov dword [ecx - 0x64], eax
mov eax, ebx
mov ebx, dword [ecx - 0x68]
imul dword [0x73a8cc]
add edx, esi
shl edx, 2
lea eax, [ebx + ebp]
mov dword [ecx - 0x30], edx
imul dword [0x73a8d0]
mov esi, edx
mov eax, ebp
imul dword [0x73a8d8]
mov eax, esi
sub eax, edx
shl eax, 2
mov dword [ecx - 0x68], eax
mov eax, ebx
imul dword [0x73a8dc]
add edx, esi
shl edx, 2
mov dword [ecx - 0x2c], edx
cmp ecx, edi
jne 0x4c3634
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov ecx, edi
mov dword [esp], esi
add edi, 0x1200
mov edx, ebx
add esi, 0x900
add ebx, 0x1300
call fcn.004c0380
mov ecx, dword [esp + 0x58]
add dword [esp + 0x3c], 1
mov eax, dword [esp + 0x3c]
add dword [esp + 0x30], 0x1300
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], edi
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x44], esi
cmp edx, eax
jg 0x4c3612
add dword [esp + 0x78], 1
add dword [esp + 0x90], 0x980
mov eax, dword [esp + 0x78]
add dword [esp + 0x88], 0x260
add dword [esp + 0x9c], 0x900
cmp dword [esp + 0x70], eax
jne 0x4c2b58
jmp 0x4c2981
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov dword [eax + esi + 0x5b20], 0
mov dword [eax + esi + 0x5b1c], 0
mov eax, ebx
jmp 0x4c3088
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c38a7
cmp dword [esp + 0x64], ebp
jl 0x4c430f
mov esi, dword [edi + 0x460]
test esi, esi
je 0x4c3b10
mov eax, dword [edi + 0x444]
mov esi, dword [edi + 0x458]
shl eax, 3
sub esi, eax
cmp esi, ebp
jg 0x4c3b10
mov eax, dword [edi + 0x460]
mov ecx, dword [edi + 0x468]
mov edx, dword [edi + 0x470]
mov dword [edi + 0x460], 0
mov dword [edi + 0x444], 0
mov dword [esp + 0x40], 0
mov dword [edi + 0x44c], eax
mov eax, dword [edi + 0x464]
mov ebx, ecx
neg ebx
mov dword [edi + 0x454], ecx
mov dword [edi + 0x45c], edx
mov esi, edx
mov dword [esp + 0x2c], edx
mov dword [edi + 0x450], eax
mov eax, dword [edi + 0x46c]
mov dword [edi + 0x458], eax
mov eax, ebp
sub eax, dword [esp + 0x44]
cmp eax, ebx
jl 0x4c394b
sub esi, ecx
cmp esi, eax
cmovle eax, esi
add eax, ecx
add dword [esp + 0x64], eax
mov dword [esp + 0x40], eax
sub dword [esp + 0x64], ebp
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x64]
mov dword [edi + 0x454], ebx
cmp eax, ebx
jle 0x4c4b29
mov dword [esp + 0x44], eax
mov esi, ebx
jmp 0x4c332f
mov ecx, dword [esp + 0x68]
mov edx, 0x3c
test ecx, ecx
jne 0x4c3b65
mov ecx, dword [esp + 0x50]
and ecx, 3
add edx, ecx
movsx ecx, byte [edx + 0x76b360]
mov edx, dword [edx*4 + 0x74b260]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
sar edx, 2
sub ecx, edx
xor edx, edx
cmp ecx, 0x1f
ja 0x4c39bb
mov edx, 1
shl edx, cl
shr edx, 1
add edx, dword [esp + 0x2c]
shr edx, cl
movzx ebx, byte [ebx]
mov ecx, esi
mov esi, dword [esp + 0x3c]
shl ebx, cl
lea ecx, [eax + 1]
cmp ebp, eax
cmovg eax, ecx
mov dword [edi + 0x454], eax
mov eax, edx
neg eax
test bl, bl
cmovs edx, eax
mov eax, dword [esp + 0x4c]
mov dword [eax + esi + 0x5b20], edx
mov eax, dword [esp + 0x30]
jmp 0x4c3088
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x4c3be0
mov ecx, dword [esp + 0x50]
and ecx, 3
lea ebx, [ecx + esi*4]
movsx ecx, byte [ebx + 0x76b360]
mov esi, dword [ebx*4 + 0x74b260]
mov ebx, dword [esp + 0x48]
sar ebx, 2
sub ecx, ebx
cmp ecx, 0x1f
ja 0x4c3a30
mov edx, 1
shl edx, cl
shr edx, 1
add edx, esi
shr edx, cl
mov esi, dword [esp + 0x34]
mov ecx, eax
shr ecx, 3
movzx ebx, byte [esi + ecx]
mov ecx, eax
and ecx, 7
shl ebx, cl
lea ecx, [eax + 1]
cmp ebp, eax
cmovg eax, ecx
mov dword [edi + 0x454], eax
mov eax, edx
neg eax
test bl, bl
mov ebx, dword [esp + 0x40]
cmovs edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x6c]
test ebx, ebx
setne cl
add eax, dword [esp + 0x2c]
lea eax, [ecx + eax + 0x16c8]
mov dword [edi + eax*4], edx
jmp 0x4c327b
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x4c3ba4
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
and eax, 3
sar edx, 2
lea eax, [eax + esi*4]
movsx ecx, byte [eax + 0x76b360]
mov eax, dword [eax*4 + 0x74b260]
sub ecx, edx
xor edx, edx
cmp ecx, 0x1f
ja 0x4c3ac1
mov edx, 1
shl edx, cl
shr edx, 1
add edx, eax
shr edx, cl
mov eax, dword [edi + 0x454]
mov esi, dword [esp + 0x34]
mov ecx, eax
shr ecx, 3
movzx ebx, byte [esi + ecx]
mov ecx, eax
mov esi, dword [esp + 0x4c]
and ecx, 7
shl ebx, cl
mov ecx, ebx
xor ebx, ebx
cmp eax, ebp
setl bl
add eax, ebx
mov ebx, edx
neg ebx
test cl, cl
mov dword [edi + 0x454], eax
cmovs edx, ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + ebx + 0x5b1c], edx
jmp 0x4c302d
mov ebx, dword [esp + 0x64]
mov esi, edi
mov edi, dword [esp + 0x34]
sub ebx, ebp
jns 0x4c3460
test dword [esi + 0x80a8], 0x20004
je 0x4c3472
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x69ccd3
mov dword [esp + 4], 0x10
mov eax, dword [esi + 0x80ac]
mov dword [esp], eax
call fcn.0056b9c0
mov eax, dword [esp + 0x88]
mov edx, 0x900
jmp 0x4c3485
mov edx, dword [ebx]
movzx ebx, byte [esp + 0x8e]
mov ecx, esi
add eax, dword [esp + 0x68]
bswap edx
neg ebx
shl edx, cl
mov ecx, ebx
shr edx, cl
cmp eax, ebp
lea edx, [edx*4 + 0x3c]
cmova eax, ebp
mov ebx, eax
mov esi, eax
mov dword [edi + 0x454], eax
shr ebx, 3
and esi, 7
add ebx, dword [esp + 0x34]
jmp 0x4c3981
mov ebx, dword [esp + 0x34]
mov edx, eax
mov ecx, eax
shr edx, 3
add eax, dword [esp + 0x68]
and ecx, 7
mov edx, dword [ebx + edx]
movzx ebx, byte [esp + 0x8e]
bswap edx
neg ebx
shl edx, cl
mov ecx, ebx
shr edx, cl
cmp eax, ebp
cmova eax, ebp
add esi, edx
mov dword [edi + 0x454], eax
jmp 0x4c3a8c
mov ebx, dword [esp + 0x34]
mov ecx, eax
shr ecx, 3
mov ebx, dword [ebx + ecx]
movzx ecx, byte [esp + 0x8e]
bswap ebx
neg ecx
mov byte [esp + 0x8f], cl
mov ecx, eax
add eax, dword [esp + 0x68]
and ecx, 7
shl ebx, cl
movzx ecx, byte [esp + 0x8f]
shr ebx, cl
cmp eax, ebp
cmova eax, ebp
add esi, ebx
mov dword [edi + 0x454], eax
jmp 0x4c39fd
mov edi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
lea edx, [ebx*8]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
lea eax, [eax + edi + 0x16c8]
mov edi, dword [esp + 0x2c]
add eax, edi
lea eax, [esi + eax*4]
mov dword [esp], eax
call sub.msvcrt.dll_memset
lea eax, [edi + ebx*2]
mov dword [esp + 0x2c], eax
jmp 0x4c32b5
cmp byte [ebx + 1], 0
mov eax, dword [esp + 0x38]
lea ebp, [eax + 0x80]
je 0x4c3c9b
mov esi, dword [esp + 0x58]
lea ebp, [eax + 0x1a0]
cmp dword [esi + 0x10], 8
je 0x4c3c9b
lea ebp, [eax + 0x110]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
cmp eax, 0xc
mov dword [esp + 0x2c], eax
jg 0x4c3d93
nop
mov esi, eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x10]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4 + 0x69d120]
movzx edi, byte [eax + esi]
test edi, edi
mov ecx, edi
lea esi, [edi*8]
je 0x4c3db0
lea ebx, [edi*4]
lea eax, [esp + 0x520]
mov edx, ebp
mov dword [esp + 0x34], edi
lea esi, [esi]
mov edi, dword [edx]
add eax, 0xc
add edx, 4
mov dword [eax - 0xc], edi
mov edi, dword [edx + ebx - 4]
mov dword [eax - 8], edi
mov edi, dword [edx + esi - 4]
sub ecx, 1
mov dword [eax - 4], edi
jne 0x4c3cf0
mov edi, dword [esp + 0x34]
add ebx, ebp
lea ecx, [edi + edi*2]
add ebx, esi
shl ecx, 2
cmp ecx, 4
jae 0x4c3d45
test ecx, ecx
je 0x4c3d30
movzx eax, byte [esp + 0x520]
mov byte [ebp], al
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xd
je 0x4c3d80
mov ebp, ebx
jmp 0x4c3cb0
mov eax, dword [esp + 0x520]
lea edi, [ebp + 4]
lea esi, [esp + 0x520]
and edi, 0xfffffffc
mov dword [ebp], eax
mov eax, dword [esp + ecx + 0x51c]
mov dword [ebp + ecx - 4], eax
sub ebp, edi
add ecx, ebp
sub esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
add dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xd
jne 0x4c3d3e
mov eax, dword [esp + 0x30]
cmp byte [eax], 2
je 0x4c3d93
mov eax, 0x1f
jmp 0x4c3624
mov eax, dword [esp + 0x30]
cmp byte [eax + 1], 0
je 0x4c37d5
mov eax, 1
jmp 0x4c3624
mov ebx, ebp
jmp 0x4c3d14
xor ecx, ecx
cmp dl, 2
jne 0x4c3dcd
xor ecx, ecx
cmp byte [edi + 0x5ab5], 0
setne cl
add ecx, 1
mov edx, dword [esp + 0x7c]
and edx, dword [esi + 0x20]
and edx, 1
jne 0x4c49bc
cmp eax, 0x18f
jg 0x4c4829
mov edx, eax
and edx, 3
mov dword [esp + 0x52c], edx
mov edx, eax
sar eax, 4
sar edx, 2
and edx, 3
mov dword [esp + 0x528], edx
imul edx, eax, 0xcd
sar edx, 0xa
mov ebp, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x520], ebp
sub eax, edx
mov dword [esp + 0x524], eax
xor eax, eax
lea eax, [eax + eax*2]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], 0
mov ebp, esi
add ecx, eax
lea eax, [ecx*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x84]
add eax, 0x5aec
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
add eax, 0x5aec
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [eax + esi + 0x69e4a0]
test ecx, ecx
mov dword [esp + 0x44], eax
jne 0x4c3ef0
test eax, eax
je 0x4c3ec8
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x48]
lea eax, [eax + esi + 0x5aec]
mov esi, dword [esp + 0x44]
add eax, ebp
cmp esi, 4
jae 0x4c42e4
test esi, esi
je 0x4c3ec0
and esi, 2
mov byte [eax], 0
jne 0x4c4acb
lea esi, [esi]
mov esi, dword [esp + 0x44]
add dword [esp + 0x48], esi
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
cmp eax, 4
je 0x4c3f6d
mov eax, dword [esp + eax*4 + 0x520]
mov dword [esp + 0x2c], eax
jmp 0x4c3e69
test eax, eax
mov ecx, eax
je 0x4c3ec8
mov eax, dword [ebp + 0x454]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebp + 0x45c]
mov edi, dword [ebp + 0x44c]
mov dword [esp + 0x54], eax
movzx eax, byte [esp + 0x2c]
neg eax
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x48]
add edx, eax
add ebx, eax
mov eax, edx
mov edx, dword [esp + 0x54]
add ebx, ebp
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, edx
mov ecx, edx
add edx, dword [esp + 0x2c]
shr eax, 3
and ecx, 7
mov eax, dword [edi + eax]
bswap eax
shl eax, cl
movzx ecx, byte [esp + 0x40]
shr eax, cl
cmp esi, edx
cmovbe edx, esi
add ebx, 1
mov dword [ebp + 0x454], edx
mov byte [ebx - 1], al
cmp ebx, dword [esp + 0x34]
jne 0x4c3f35
jmp 0x4c3ec0
mov ebx, dword [esp + 0x48]
mov esi, ebp
cmp ebx, 0x27
jg 0x4c2d1e
mov edi, dword [esp + 0x84]
mov eax, 0x28
sub eax, ebx
lea edx, [ebx + edi + 0x5aec]
xor ebx, ebx
add edx, ebp
cmp eax, 4
jae 0x4c47c3
test eax, eax
je 0x4c2d1e
test al, 2
mov byte [edx], 0
je 0x4c2d1e
xor edi, edi
mov word [edx + eax - 2], di
jmp 0x4c2d1e
mov eax, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x40], esi
lea edi, [esi + eax*4 + 0x5aec]
imul eax, dword [esp + 0x7c], 0x1300
mov dword [esp + 0x60], edi
add eax, dword [esp + 0x98]
lea ebp, [esi + eax]
mov eax, dword [esp + 0x4c]
test edx, edx
movzx eax, byte [eax + 0x5aa0]
je 0x4c4aa9
mov edi, 8
mov ecx, edx
sar edi, cl
test edi, eax
jne 0x4c4239
cmp edx, 1
jne 0x4c4224
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], 5
mov dword [esp + 0x30], eax
lea eax, [ebx + 4]
mov dword [esp + 0x34], eax
lea eax, [ebx + 5]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c429d
mov ecx, dword [esp + 0x40]
mov edi, dword [ecx + 0x45c]
mov eax, dword [ecx + 0x454]
mov dword [esp + 0x34], edi
mov edi, dword [ecx + 0x44c]
mov esi, eax
movzx ecx, byte [esp + 0x30]
shr esi, 3
mov dword [esp + 0x50], edi
mov edi, dword [edi + esi]
mov esi, eax
and esi, 7
add eax, dword [esp + 0x30]
neg ecx
mov byte [esp + 0x44], cl
bswap edi
mov ecx, esi
shl edi, cl
movzx ecx, byte [esp + 0x44]
shr edi, cl
mov ecx, dword [esp + 0x34]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
shr esi, 3
mov dword [ecx + 0x454], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
mov byte [ebx + ebp + 0x5aec], cl
mov edi, dword [edi + esi]
mov esi, eax
add eax, dword [esp + 0x30]
and esi, 7
mov ecx, esi
bswap edi
shl edi, cl
movzx ecx, byte [esp + 0x44]
shr edi, cl
mov ecx, dword [esp + 0x34]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
shr esi, 3
mov dword [ecx + 0x454], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
mov byte [ebx + ebp + 0x5aed], cl
mov edi, dword [edi + esi]
mov esi, eax
add eax, dword [esp + 0x30]
and esi, 7
mov ecx, esi
bswap edi
shl edi, cl
movzx ecx, byte [esp + 0x44]
shr edi, cl
mov ecx, dword [esp + 0x34]
cmp ecx, eax
cmovbe eax, ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
shr esi, 3
mov dword [ecx + 0x454], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
mov byte [ebx + ebp + 0x5aee], cl
mov edi, dword [edi + esi]
mov esi, eax
add eax, dword [esp + 0x30]
and esi, 7
mov ecx, esi
bswap edi
shl edi, cl
movzx ecx, byte [esp + 0x44]
shr edi, cl
mov ecx, dword [esp + 0x34]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
shr esi, 3
mov dword [ecx + 0x454], eax
mov ecx, edi
mov edi, dword [esp + 0x50]
mov byte [ebx + ebp + 0x5aef], cl
mov edi, dword [edi + esi]
mov esi, eax
add eax, dword [esp + 0x30]
and esi, 7
mov ecx, esi
bswap edi
shl edi, cl
movzx ecx, byte [esp + 0x44]
mov esi, eax
shr edi, cl
mov ecx, dword [esp + 0x34]
cmp ecx, eax
mov eax, dword [esp + 0x40]
cmovbe esi, ecx
cmp dword [esp + 0x54], 6
mov ecx, esi
mov dword [eax + 0x454], esi
mov eax, edi
mov byte [ebx + ebp + 0x5af0], al
jne 0x4c4877
mov edi, dword [esp + 0x50]
shr esi, 3
mov dword [esp + 0x50], ecx
mov eax, dword [edi + esi]
mov edi, dword [esp + 0x30]
mov esi, ecx
add edi, dword [esp + 0x50]
and esi, 7
mov ecx, esi
mov esi, dword [esp + 0x5c]
bswap eax
shl eax, cl
movzx ecx, byte [esp + 0x44]
shr eax, cl
mov ecx, edi
mov edi, dword [esp + 0x34]
cmp edi, ecx
cmovbe ecx, edi
mov edi, dword [esp + 0x40]
add ebx, 6
mov dword [edi + 0x454], ecx
mov byte [esi + ebp + 0x5aec], al
add edx, 1
cmp edx, 4
jne 0x4c3fea
imul eax, dword [esp + 0x7c], 0x1300
mov esi, dword [esp + 0x40]
add eax, dword [esp + 0x98]
add eax, esi
mov byte [ebx + eax + 0x5aec], 0
jmp 0x4c2d1e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], 5
mov dword [esp + 0x30], eax
jmp 0x4c4027
mov eax, 5
mov esi, dword [esp + 0x60]
cmp eax, 6
movzx ecx, byte [esi + ebx]
mov byte [ebx + ebp + 0x5aec], cl
movzx ecx, byte [esi + ebx + 1]
mov byte [ebx + ebp + 0x5aed], cl
movzx ecx, byte [esi + ebx + 2]
mov byte [ebx + ebp + 0x5aee], cl
movzx ecx, byte [esi + ebx + 3]
mov byte [ebx + ebp + 0x5aef], cl
movzx ecx, byte [esi + ebx + 4]
mov byte [ebx + ebp + 0x5af0], cl
lea ecx, [ebx + 5]
jne 0x4c488d
movzx eax, byte [esi + ebx + 5]
add ebx, 6
mov byte [ecx + ebp + 0x5aec], al
jmp 0x4c41f6
cmp dword [esp + 0x54], 6
mov byte [ebx + ebp + 0x5aec], 0
mov byte [ebx + ebp + 0x5aed], 0
mov byte [ebx + ebp + 0x5aee], 0
mov byte [ebx + ebp + 0x5aef], 0
mov byte [ebx + ebp + 0x5af0], 0
jne 0x4c4877
mov eax, dword [esp + 0x5c]
add ebx, 6
mov byte [eax + ebp + 0x5aec], 0
jmp 0x4c41f6
mov dword [eax], 0
lea edi, [eax + 4]
mov esi, dword [esp + 0x44]
and edi, 0xfffffffc
mov dword [eax + esi - 4], 0
sub eax, edi
lea ecx, [eax + esi]
mov eax, dword [esp + 0x2c]
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x4c3ec0
mov ecx, dword [esp + 0x40]
mov edx, ebp
mov esi, edi
neg edx
xor eax, eax
mov edi, dword [esp + 0x34]
mov ebx, dword [esi + 0x45c]
sub ecx, ebp
cmp ecx, edx
jl 0x4c4336
mov eax, ebx
sub eax, ebp
cmp eax, ecx
cmovg eax, ecx
add eax, ebp
mov dword [esi + 0x454], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x69ccb0
mov dword [esp + 4], 0x20
sub eax, ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
sub eax, ebp
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x80ac]
mov dword [esp], eax
call fcn.0056b9c0
test dword [esi + 0x80a8], 0x20002
jne 0x4c4880
sub edi, 4
mov ebp, dword [esi + 0x454]
jmp 0x4c3452
mov ebx, dword [esp + 0x84]
mov eax, dword [esp + 0x40]
xor ecx, ecx
lea eax, [eax + ebx + 0x5aec]
add eax, esi
lea edx, [eax + 4]
mov dword [eax], 0
mov dword [eax + 0x11], 0
and edx, 0xfffffffc
sub eax, edx
mov ebx, eax
xor eax, eax
add ebx, 0x15
and ebx, 0xfffffffc
mov dword [edx + eax], ecx
add eax, 4
cmp eax, ebx
jb 0x4c43c5
jmp 0x4c2d1e
mov eax, dword [esp + 0x58]
cmp dword [eax + 0x1c], 1
jne 0x4c382f
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x20]
mov ebp, eax
and ebp, 1
je 0x4c493b
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4c4a4c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], 0x10
mov eax, dword [esi + eax + 0x6db0]
mov dword [esp + 0x2c], eax
and eax, 1
shl eax, 7
add eax, 0x73a8e0
mov dword [esp + 0x44], eax
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x520], 0
mov dword [esp + 0x524], 0
mov dword [esp + 0x528], 0
lea eax, [esi + ebx + 0x6420]
mov ecx, dword [esi + ebx + 0x6de4]
mov edx, dword [esi + ebx + 0x6de8]
mov dword [esp + 0x34], eax
lea eax, [esi + ebx + 0x7720]
mov dword [esp + 0x40], eax
mov eax, 0xd
sub eax, ecx
cmp ecx, 0xc
mov ecx, 0
lea eax, [eax + eax*2]
lea eax, [eax + edx - 3]
mov dword [esp + 0x4c], eax
jg 0x4c4611
mov dword [esp + 0x3c], 0xc
mov dword [esp + 0x64], ebp
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x2c], 2
lea eax, [esi - 3]
cmp ebx, 0xb
cmove eax, esi
mov esi, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x10]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4 + 0x69d120]
movzx ebx, byte [eax + ebx]
lea eax, [ebx*4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x5c], eax
neg eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
add eax, esi
mov esi, dword [esp + 0x58]
add esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], esi
add ebp, eax
add edi, eax
test ecx, ecx
je 0x4c4543
mov eax, dword [esp + 0x58]
test byte [eax + 0x20], 2
jne 0x4c4730
sub dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x4c45c7
mov ecx, dword [esp + eax*4 + 0x520]
mov eax, dword [esp + 0x38]
add ebp, eax
add edi, eax
test ecx, ecx
jne 0x4c4510
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c451e
mov esi, dword [edi]
test esi, esi
je 0x4c456b
jmp 0x4c4807
mov edx, dword [edi + ecx*4]
test edx, edx
jne 0x4c4807
add ecx, 1
cmp eax, ecx
jne 0x4c4560
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x60]
movzx eax, byte [eax + ebx + 0x6dec]
cmp dword [esp + 0x48], eax
jle 0x4c4510
mov ebx, dword [esp + 0x44]
lea eax, [ebx + eax*4]
mov ebx, dword [eax]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], eax
mov ebx, dword [ebp + esi*4]
mov eax, ebx
imul dword [esp + 0x54]
shrd eax, edx, 0x17
mov dword [ebp + esi*4], eax
mov eax, ebx
imul dword [esp + 0x50]
shrd eax, edx, 0x17
mov dword [edi + esi*4], eax
add esi, 1
cmp ecx, esi
jne 0x4c459c
jmp 0x4c451e
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x90]
sub dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x528]
lea eax, [esi*4]
sub esi, eax
add dword [esp + 0x34], esi
add dword [esp + 0x40], esi
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp eax, dword [esi + ebx + 0x6de4]
jge 0x4c44a0
mov eax, esi
mov ebp, dword [esp + 0x64]
mov edx, dword [eax + ebx + 0x6de8]
mov eax, dword [esp + 0x520]
or eax, dword [esp + 0x524]
or eax, ecx
sub edx, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
js 0x4c497c
imul eax, dword [esp + 0x78], 0x980
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], ebp
add eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
jmp 0x4c466c
mov eax, dword [esp + 0x58]
test byte [eax + 0x20], 2
jne 0x4c48f0
sub dword [esp + 0x2c], 1
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x4c497c
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
imul eax, dword [eax + 0x10], 0x16
movzx edi, byte [ebx + eax + 0x69d1a0]
lea eax, [edi*4]
neg eax
add dword [esp + 0x34], eax
add esi, eax
test ecx, ecx
jne 0x4c464c
test edi, edi
je 0x4c46bb
mov ebp, dword [esi]
test ebp, ebp
jne 0x4c4a31
xor eax, eax
jmp 0x4c46b4
mov edx, dword [esi + eax*4]
test edx, edx
jne 0x4c4a31
add eax, 1
cmp edi, eax
jne 0x4c46a9
mov ebx, dword [esp + 0x2c]
mov eax, 0x14
cmp ebx, 0x15
cmovne eax, ebx
mov ebx, dword [esp + 0x4c]
movzx eax, byte [eax + ebx + 0x6dec]
cmp dword [esp + 0x48], eax
jle 0x4c464c
mov ebx, dword [esp + 0x44]
test edi, edi
lea eax, [ebx + eax*4]
mov ebx, dword [eax]
mov ebp, dword [eax + 0x40]
mov dword [esp + 0x3c], ebx
je 0x4c465a
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebx*4]
mov eax, ecx
imul dword [esp + 0x3c]
shrd eax, edx, 0x17
mov edx, dword [esp + 0x34]
mov dword [edx + ebx*4], eax
mov eax, ecx
imul ebp
shrd eax, edx, 0x17
mov dword [esi + ebx*4], eax
add ebx, 1
cmp edi, ebx
jne 0x4c46fa
jmp 0x4c465a
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x4c451e
mov esi, dword [edi]
xor ebx, ebx
jmp 0x4c4745
mov esi, dword [edi + ebx*4]
mov ecx, dword [ebp + ebx*4]
mov edx, 0x5a827a
lea eax, [ecx + esi]
imul edx
shrd eax, edx, 0x17
mov dword [ebp + ebx*4], eax
mov eax, ecx
mov edx, 0x5a827a
sub eax, esi
imul edx
shrd eax, edx, 0x17
mov dword [edi + ebx*4], eax
add ebx, 1
cmp dword [esp + 0x30], ebx
jg 0x4c4742
jmp 0x4c451e
lea edx, [ebx + 0x5af0]
lea eax, [edi + 0x5aec]
mov dword [edi + 0x5aec], 0
mov edi, dword [esp + 0x40]
xor ecx, ecx
and edx, 0xfffffffc
sub eax, edx
add eax, edi
mov dword [ebx + edi + 0x5ae8], 0
and eax, 0xfffffffc
mov ebx, eax
xor eax, eax
mov dword [edx + eax], ecx
add eax, 4
cmp eax, ebx
jb 0x4c47b0
mov eax, dword [esp + 0x3c]
jmp 0x4c2c76
lea ecx, [edx + 4]
mov dword [edx], 0
mov dword [edx + eax - 4], 0
and ecx, 0xfffffffc
sub edx, ecx
add edx, eax
and edx, 0xfffffffc
cmp edx, 4
jb 0x4c2d1e
and edx, 0xfffffffc
xor eax, eax
mov dword [ecx + eax], ebx
add eax, 4
cmp eax, edx
jb 0x4c47ec
jmp 0x4c2d1e
lea eax, [esp + 0xa0]
jmp 0x4c2dd0
mov eax, dword [esp + 0x2c]
mov dword [esp + eax*4 + 0x520], 1
mov eax, dword [esp + 0x58]
test byte [eax + 0x20], 2
je 0x4c451e
jmp 0x4c473e
cmp eax, 0x1f3
jg 0x4c4894
sub eax, 0x190
mov dword [esp + 0x52c], 0
mov edx, eax
sar eax, 2
and edx, 3
mov dword [esp + 0x528], edx
imul edx, eax, 0xcd
sar edx, 0xa
mov ebp, edx
lea edx, [edx + edx*4]
mov dword [esp + 0x520], ebp
sub eax, edx
mov dword [esp + 0x524], eax
mov eax, 1
jmp 0x4c3e26
mov ebx, dword [esp + 0x5c]
jmp 0x4c41f6
mov ebp, dword [esi + 0x454]
xor edi, edi
jmp 0x4c3452
mov ebx, ecx
jmp 0x4c41f6
lea edx, [eax - 0x1f4]
mov dword [esp + 0x52c], 0
mov dword [esp + 0x528], 0
imul eax, edx, 0xab
sar eax, 9
mov ebp, eax
lea eax, [eax*4]
mov ebx, ebp
mov dword [esp + 0x520], ebp
sub ebx, eax
mov eax, ebx
add eax, edx
mov dword [esp + 0x524], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x5ae0], 1
mov eax, 2
jmp 0x4c3e26
test edi, edi
je 0x4c465a
mov ebp, dword [esi]
xor ebx, ebx
jmp 0x4c4901
mov ebp, dword [esi + ebx*4]
mov eax, dword [esp + 0x34]
mov edx, 0x5a827a
mov ecx, dword [eax + ebx*4]
lea eax, [ecx + ebp]
imul edx
shrd eax, edx, 0x17
mov edx, dword [esp + 0x34]
mov dword [edx + ebx*4], eax
mov eax, ecx
mov edx, 0x5a827a
sub eax, ebp
imul edx
shrd eax, edx, 0x17
mov dword [esi + ebx*4], eax
add ebx, 1
cmp edi, ebx
jg 0x4c48fe
jmp 0x4c465a
test al, 2
je 0x4c35c3
mov eax, esi
mov esi, dword [esp + 0x90]
lea ebx, [eax + esi + 0x5b20]
lea ecx, [eax + esi + 0x6e20]
lea esi, [esi]
mov eax, dword [ebx + ebp*4]
mov edx, dword [ecx + ebp*4]
lea esi, [eax + edx]
sub eax, edx
mov dword [ebx + ebp*4], esi
mov dword [ecx + ebp*4], eax
add ebp, 1
cmp ebp, 0x240
jne 0x4c4960
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x18]
jmp 0x4c35c3
mov ecx, dword [esi + 0x454]
mov edx, dword [esi + 0x45c]
mov ebx, ecx
neg ebx
cmp eax, ebx
jl 0x4c49a9
sub edx, ecx
cmp edx, eax
cmovle eax, edx
add eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x3c]
mov dword [eax + 0x454], esi
jmp 0x4c2973
sar eax, 1
cmp eax, 0xb3
jg 0x4c4a61
imul ebx, eax, 0xab
mov dword [esp + 0x52c], 0
sar ebx, 0xa
lea edx, [ebx*4]
mov edi, ebx
sub edi, edx
lea eax, [eax + edi*2]
mov dword [esp + 0x528], eax
imul eax, ebx, 0xab
sar eax, 0xa
mov ebp, eax
lea eax, [eax*4]
mov edi, ebp
mov dword [esp + 0x520], ebp
sub edi, eax
lea eax, [ebx + edi*2]
mov dword [esp + 0x524], eax
mov eax, 3
jmp 0x4c3e26
mov eax, dword [esp + 0x58]
mov edx, dword [eax + 0x18]
mov eax, esi
jmp 0x4c2b26
mov eax, dword [esp + 0x58]
test byte [eax + 0x20], 2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
je 0x4c465a
jmp 0x4c48fa
mov dword [esp + 0x44], 0x73a9e0
mov dword [esp + 0x48], 7
jmp 0x4c4428
cmp eax, 0xf3
jg 0x4c4adb
sub eax, 0xb4
mov dword [esp + 0x52c], 0
mov edx, eax
and edx, 3
mov dword [esp + 0x528], edx
mov edx, eax
sar eax, 4
sar edx, 2
mov ebp, eax
mov dword [esp + 0x520], eax
and edx, 3
mov eax, 4
mov dword [esp + 0x524], edx
jmp 0x4c3e26
mov esi, dword [esp + 0x48]
test al, 8
mov dword [esp + 0x54], 6
mov dword [esp + 0x30], esi
je 0x4c4027
mov eax, 6
jmp 0x4c423e
mov esi, dword [esp + 0x44]
xor edx, edx
mov word [eax + esi - 2], dx
jmp 0x4c3ec0
lea edx, [eax - 0xf4]
mov dword [esp + 0x52c], 0
mov dword [esp + 0x528], 0
imul eax, edx, 0xab
sar eax, 9
mov ebp, eax
lea eax, [eax*4]
mov ebx, ebp
mov dword [esp + 0x520], ebp
sub ebx, eax
mov eax, ebx
add eax, edx
mov dword [esp + 0x524], eax
mov eax, 5
jmp 0x4c3e26
mov eax, dword [esp + 0x64]
mov esi, edi
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], eax
jmp 0x4c3452
mov eax, dword [esp + 0x64]
mov esi, edi
mov dword [esp + 0x44], eax
jmp 0x4c32b5