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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x78], ecx
mov ebp, dword [esp + 0xa8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x47f95e
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [esp + 0xa0]
cmp ebx, 0x1fffffff
mov dword [eax + 0x24], 0
ja 0x481293
shl ebx, 2
mov dword [esp], ebx
call fcn.006eb360
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x7c], eax
je 0x47f9b8
mov ecx, dword [esp + 0x40]
mov edx, eax
lea edx, [ecx + edx*4]
mov eax, ecx
mov dword [eax], 1
add eax, 4
cmp eax, edx
jne 0x47f9ab
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], ebp
mov edi, dword [eax + 0x38]
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov esi, eax
nop
lea esi, [esi]
mov ebp, dword [esp + 0x18]
sub ebp, esi
je 0x47fc20
mov eax, dword [esp + 0x30]
lea ebx, [eax + esi]
movzx ecx, byte [ebx]
test cl, cl
js 0x47fe81
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
mov ecx, 1
add esi, ecx
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [edi + 8], esi
mov eax, ecx
mov edx, ebx
xor eax, 0xd
or edx, eax
je 0x47fc25
mov eax, ecx
mov edx, ebx
add eax, 0xfffffff7
adc edx, 0xffffffff
cmp edx, 0
ja 0x47fdff
cmp eax, 1
ja 0x47fdff
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x28], esi
mov ebp, dword [esp + 0xa8]
mov eax, ecx
mov edx, ebx
xor eax, 9
or edx, eax
je 0x4809f9
mov esi, dword [esp + 0x38]
test esi, esi
je 0x481491
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
cmp eax, 1
ja 0x47fc20
xor esi, esi
mov dword [esp + 0xa8], ebp
mov ecx, dword [esp + 0x38]
jmp 0x47fab5
add esi, 1
cmp esi, ecx
jae 0x47fb36
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx + 4]
cmp eax, 1
ja 0x47fc20
cmp eax, 1
lea ebx, [esi*4]
jne 0x47fa93
mov eax, dword [esp + 0xa0]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x34]
movzx eax, byte [eax + esi]
add eax, dword [edx + esi*4]
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x28]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa4]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 8]
je 0x480145
mov edx, dword [edx]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
add esi, 1
mov dword [esp + 0x7c], ecx
mov dword [edx + eax*8], edi
mov dword [edx + eax*8 + 4], ebp
add eax, 1
mov edx, dword [esp + 0xa4]
cmp esi, ecx
mov dword [edx + 4], eax
jb 0x47fa9e
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0xa8]
test eax, eax
je 0x480fb4
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x7c]
xor edi, edi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0xa8], ebp
mov ebx, dword [eax + 0x24]
xor eax, eax
mov edx, dword [ebx + eax*4]
cmp edx, 1
je 0x4801c5
add edi, edx
add eax, 1
cmp eax, ecx
jne 0x47fb69
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x68], edi
mov edx, ebx
or edx, ecx
je 0x48024a
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x38]
mov edi, dword [esi + 4]
mov ebx, dword [esi + 8]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov eax, edx
mov edx, ecx
xor eax, 0xa
or edx, eax
je 0x48030a
mov eax, edi
sub eax, ebx
mov dword [esp + 0x20], eax
je 0x47fc20
mov eax, dword [esi]
mov dword [esp + 0x28], eax
add eax, ebx
movzx ecx, byte [eax]
mov dword [esp + 0x30], eax
test cl, cl
js 0x480690
movzx eax, cl
mov dword [esp + 0x64], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x20]
xor edx, edx
add ecx, ebx
mov ebx, edi
sub ebx, ecx
cmp edx, dword [esp + 0x64]
ja 0x4801eb
jae 0x4801e1
mov dword [esi + 8], ecx
lea esi, [esi]
lea edi, [edi]
call fcn.0047ad60
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x47f9e0
mov ecx, dword [esp + 0x18]
sub ecx, esi
je 0x47fc20
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
xor ebx, ebx
lea ebp, [eax + esi]
movzx ecx, byte [ebp]
test cl, cl
js 0x47fc97
nop
add esi, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0
mov dword [edi + 8], esi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov dword [eax + ebx*4], edx
add ebx, 1
cmp ebx, dword [esp + 0x38]
jae 0x47fe72
mov esi, dword [edi + 8]
mov eax, dword [esp + 0x30]
lea ebp, [eax + esi]
mov eax, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x28], eax
je 0x47fc20
movzx ecx, byte [ebp]
test cl, cl
jns 0x47fc50
mov edx, dword [esp + 0x28]
cmp edx, 1
je 0x47fc20
movzx eax, word [ebp + 1]
test cl, 0x40
mov dword [esp + 0x1c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], eax
movzx eax, byte [ebp + 1]
je 0x4800fd
cmp edx, 2
je 0x47fc20
test cl, 0x20
je 0x480921
cmp dword [esp + 0x28], 3
je 0x47fc20
movzx eax, byte [ebp + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x68]
test cl, 0x10
mov dword [esp + 0x74], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
je 0x480901
cmp dword [esp + 0x28], 4
je 0x47fc20
movzx eax, byte [ebp + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x6c]
or edx, dword [esp + 0x1c]
test cl, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x480983
cmp dword [esp + 0x28], 5
je 0x47fc20
movzx eax, byte [ebp + 5]
or eax, dword [esp + 0x1c]
test cl, 4
mov dword [esp + 0x1c], eax
je 0x480962
cmp dword [esp + 0x28], 6
je 0x47fc20
movzx eax, byte [ebp + 6]
shl eax, 8
or eax, dword [esp + 0x1c]
test cl, 2
mov dword [esp + 0x1c], eax
je 0x480941
cmp dword [esp + 0x28], 7
je 0x47fc20
movzx eax, byte [ebp + 7]
shl eax, 0x10
or eax, dword [esp + 0x1c]
and ecx, 1
mov dword [esp + 0x1c], eax
je 0x48099e
cmp dword [esp + 0x28], 8
je 0x47fc20
movzx eax, byte [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
shl eax, 0x18
mov dword [esp + 0x20], edx
or eax, ecx
mov ecx, 9
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
add esi, ecx
mov eax, dword [esp + 0x20]
mov dword [edi + 8], esi
cmp edx, 0
jbe 0x47fdf3
call fcn.0047ad90
cmp eax, 0x7fffffff
ja 0x47fdee
jmp 0x47fc62
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ecx, eax
or ecx, edx
je 0x47fa47
mov ebp, dword [esp + 0x18]
sub ebp, esi
je 0x47fc20
mov eax, dword [esp + 0x30]
lea ebx, [eax + esi]
movzx ecx, byte [ebx]
test cl, cl
js 0x47ffbf
movzx eax, cl
mov dword [esp + 0x54], 0
mov ecx, 1
mov dword [esp + 0x50], eax
add esi, ecx
mov ecx, dword [esp + 0x18]
xor edx, edx
sub ecx, esi
cmp edx, dword [esp + 0x54]
ja 0x47fe66
jae 0x47fe60
mov dword [edi + 8], esi
call fcn.0047ad60
lea esi, [esi]
cmp ecx, dword [esp + 0x50]
jb 0x47fe55
add esi, dword [esp + 0x50]
mov dword [edi + 8], esi
jmp 0x47f9e0
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [esp + 0x18], eax
jmp 0x47f9e0
cmp ebp, 1
je 0x47fc20
movzx eax, word [ebx + 1]
test cl, 0x40
mov dword [esp + 0x2c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 1]
je 0x481170
cmp ebp, 2
je 0x47fc20
test cl, 0x20
je 0x481153
cmp ebp, 3
je 0x47fc20
movzx eax, byte [ebx + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x68]
test cl, 0x10
mov dword [esp + 0x74], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
je 0x481117
cmp ebp, 4
je 0x47fc20
movzx eax, byte [ebx + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x6c]
or edx, dword [esp + 0x2c]
test cl, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
je 0x48125a
cmp ebp, 5
je 0x47fc20
movzx eax, byte [ebx + 5]
or eax, dword [esp + 0x2c]
test cl, 4
mov dword [esp + 0x2c], eax
je 0x481239
cmp ebp, 6
je 0x47fc20
movzx eax, byte [ebx + 6]
shl eax, 8
or eax, dword [esp + 0x2c]
test cl, 2
mov dword [esp + 0x2c], eax
je 0x481218
cmp ebp, 7
je 0x47fc20
movzx eax, byte [ebx + 7]
shl eax, 0x10
or eax, dword [esp + 0x2c]
and ecx, 1
mov dword [esp + 0x2c], eax
je 0x4811fe
cmp ebp, 8
je 0x47fc20
movzx eax, byte [ebx + 8]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shl eax, 0x18
mov dword [esp + 0x58], ecx
mov ecx, 9
or eax, ebx
mov dword [esp + 0x5c], eax
jmp 0x47fa0f
cmp ebp, 1
je 0x47fc20
movzx eax, word [ebx + 1]
test cl, 0x40
mov dword [esp + 0x2c], 0
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 1]
je 0x4811d5
cmp ebp, 2
je 0x47fc20
test cl, 0x20
je 0x481199
cmp ebp, 3
je 0x47fc20
movzx eax, byte [ebx + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
or eax, dword [esp + 0x68]
test cl, 0x10
mov dword [esp + 0x74], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
je 0x481456
cmp ebp, 4
je 0x47fc20
movzx eax, byte [ebx + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x6c]
or edx, dword [esp + 0x2c]
test cl, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
je 0x481476
cmp ebp, 5
je 0x47fc20
movzx edx, byte [ebx + 5]
or edx, dword [esp + 0x2c]
test cl, 4
mov dword [esp + 0x2c], edx
je 0x4812ea
cmp ebp, 6
je 0x47fc20
movzx eax, byte [ebx + 6]
shl eax, 8
or eax, dword [esp + 0x2c]
test cl, 2
mov dword [esp + 0x2c], eax
je 0x48130b
cmp ebp, 7
je 0x47fc20
movzx eax, byte [ebx + 7]
shl eax, 0x10
or eax, dword [esp + 0x2c]
and ecx, 1
mov dword [esp + 0x2c], eax
je 0x48132c
cmp ebp, 8
je 0x47fc20
movzx eax, byte [ebx + 8]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
shl eax, 0x18
mov dword [esp + 0x50], ecx
mov ecx, 9
or eax, ebx
mov dword [esp + 0x54], eax
jmp 0x47fe43
mov dword [esp + 0x18], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x1c], 0
mov ecx, 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
or ebp, eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x2c]
or ebp, edx
mov dword [esp + 0x24], ebp
jmp 0x47fddc
mov edx, eax
shr edx, 2
lea eax, [eax + edx + 1]
cmp eax, 0xfffffff
mov edi, eax
ja 0x481293
shl eax, 3
mov dword [esp], eax
call fcn.006eb360
mov edx, eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx]
test eax, eax
jne 0x481051
test ecx, ecx
je 0x4801a1
mov dword [esp], ecx
mov dword [esp + 0x20], edx
call fcn.006eb310
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xa4]
mov dword [ecx], edx
mov ecx, edi
mov edi, dword [esp + 0xa4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 4]
jmp 0x47fb0b
cmp dword [esi + 0x10], eax
jbe 0x47fb75
mov ebp, dword [esi + 0xc]
cmp byte [ebp + eax], 0
jne 0x47fb77
jmp 0x47fb75
cmp ebx, dword [esp + 0x60]
jb 0x47fc13
mov eax, dword [esp + 0x60]
lea ebx, [ecx + eax]
mov dword [esi + 8], ebx
mov eax, edi
sub eax, ebx
mov dword [esp + 0x20], eax
je 0x47fc20
mov edx, dword [esp + 0x28]
add edx, ebx
movzx ecx, byte [edx]
mov dword [esp + 0x28], edx
test cl, cl
js 0x480511
movzx eax, cl
mov dword [esp + 0x5c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add ebx, dword [esp + 0x20]
mov eax, edx
mov edx, ecx
or edx, eax
mov dword [esi + 8], ebx
jne 0x47fba8
mov eax, dword [esp + 0xa4]
mov ebx, dword [eax + 4]
cmp dword [ebp + 4], ebx
je 0x4802fd
cmp ebx, dword [ebp + 8]
mov dword [ebp + 4], 0
ja 0x480fd0
cmp ebx, dword [ebp + 0x14]
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], 0
ja 0x48100e
mov eax, dword [esp + 0xa0]
mov dword [ebp + 0x10], ebx
mov edx, dword [eax + 4]
test edx, edx
je 0x4802fd
mov eax, dword [eax + 0x24]
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ebx, dword [esi + edx*4]
mov eax, edx
shl eax, 2
cmp ebx, 1
je 0x4809b8
test ebx, ebx
je 0x4802e8
mov edi, dword [ebp]
mov esi, dword [ebp + 0xc]
mov eax, ecx
mov esi, esi
lea edi, [edi]
mov byte [edi + eax], 0
mov dword [esi + eax*4], 0
add eax, 1
mov edx, eax
sub edx, ecx
cmp ebx, edx
ja 0x4802d0
mov ecx, eax
mov edx, dword [esp + 0xa0]
add dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
cmp dword [edx + 4], eax
ja 0x4802a2
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
cmp edi, ebx
jbe 0x47fc20
mov eax, dword [esi]
lea edx, [ebx + 1]
mov dword [esp + 0x48], 0
mov dword [esi + 8], edx
movzx ebx, byte [eax + ebx]
test bl, bl
je 0x480874
mov edi, dword [esp + 0x68]
test edi, edi
je 0x48035c
mov esi, dword [esp + 0x68]
mov dword [esp], esi
call fcn.006eb360
mov ebx, eax
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0xa4]
mov ebx, dword [eax + 4]
cmp ebx, dword [ebp + 8]
mov dword [ebp + 4], 0
ja 0x480844
cmp ebx, dword [ebp + 0x14]
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], 0
ja 0x480801
mov eax, dword [esp + 0xa0]
mov dword [ebp + 0x10], ebx
mov esi, dword [eax + 4]
test esi, esi
je 0x4804d4
mov eax, dword [eax + 0x24]
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], eax
lea esi, [esi]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov edx, dword [edx + ecx*4]
mov eax, ecx
shl eax, 2
cmp edx, 1
mov dword [esp + 0x28], edx
je 0x480473
test edx, edx
je 0x4804bb
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
xor eax, eax
mov ebx, dword [esp + 0x48]
mov dword [esp + 0xa8], ebp
lea ecx, [esi*4]
add esi, dword [ebp]
mov edx, edi
add edi, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], esi
jmp 0x480459
mov edi, dword [esp + 0x78]
mov ebx, dword [edi + 0x38]
mov edi, dword [ebx + 8]
lea esi, [edi + 4]
cmp esi, dword [ebx + 4]
ja 0x480e71
mov ebp, dword [ebx]
mov edi, dword [ebp + edi]
mov dword [ebx + 8], esi
mov esi, dword [esp + 0xa8]
add eax, 1
mov ebx, dword [esi + 0xc]
mov esi, dword [esp + 0x18]
mov dword [ebx + ecx], edi
lea ebx, [edx + esi]
add ecx, 4
sub ebx, dword [esp + 0x20]
cmp dword [esp + 0x28], eax
jbe 0x480500
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
add edx, 1
movzx ebx, byte [esi + eax]
test bl, bl
mov byte [edi + eax], bl
jne 0x480412
xor edi, edi
jmp 0x480431
mov edx, ecx
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + 0x10], edx
jbe 0x4803e5
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x40]
cmp byte [edx + ecx], 0
je 0x4803e5
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
mov byte [edx + ecx], 1
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + eax]
mov eax, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
add ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa0]
add dword [esp + 0x40], 1
mov eax, dword [esp + 0x40]
cmp dword [ecx + 4], eax
ja 0x4803c0
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4804e8
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.006eb310
mov eax, dword [esp + 0x78]
mov esi, dword [eax + 0x38]
mov eax, dword [esi]
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
mov dword [esp + 0x28], eax
jmp 0x4801f5
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebx
jmp 0x4804bb
mov edx, dword [esp + 0x20]
cmp edx, 1
je 0x47fc20
mov eax, dword [esp + 0x28]
test cl, 0x40
mov dword [esp + 0x1c], 0
movzx eax, word [eax + 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 1]
je 0x480e76
cmp edx, 2
je 0x47fc20
test cl, 0x20
je 0x480ee1
cmp dword [esp + 0x20], 3
je 0x47fc20
mov eax, dword [esp + 0x28]
xor edx, edx
movzx eax, byte [eax + 3]
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, edx
mov edx, dword [esp + 0x30]
or edx, dword [esp + 0x38]
test cl, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
je 0x480ec1
cmp dword [esp + 0x20], 4
je 0x47fc20
mov eax, dword [esp + 0x28]
xor edx, edx
movzx eax, byte [eax + 4]
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
or edx, dword [esp + 0x30]
mov eax, edx
mov edx, dword [esp + 0x1c]
or edx, dword [esp + 0x34]
test cl, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x4810f9
cmp dword [esp + 0x20], 5
je 0x47fc20
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
movzx eax, byte [eax + 5]
or edx, eax
test cl, 4
mov dword [esp + 0x1c], edx
je 0x4810d5
cmp dword [esp + 0x20], 6
je 0x47fc20
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 6]
shl eax, 8
or eax, dword [esp + 0x1c]
test cl, 2
mov dword [esp + 0x1c], eax
je 0x48129d
cmp dword [esp + 0x20], 7
je 0x47fc20
mov eax, dword [esp + 0x28]
movzx eax, byte [eax + 7]
shl eax, 0x10
or eax, dword [esp + 0x1c]
and ecx, 1
mov dword [esp + 0x1c], eax
je 0x4812c1
cmp dword [esp + 0x20], 8
je 0x47fc20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
movzx eax, byte [eax + 8]
mov dword [esp + 0x58], edx
shl eax, 0x18
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 9
or eax, ecx
mov dword [esp + 0x5c], eax
jmp 0x48022f
cmp dword [esp + 0x20], 1
je 0x47fc20
movzx edx, word [eax + 1]
test cl, 0x40
mov dword [esp + 0x1c], 0
movzx eax, byte [eax + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], edx
je 0x481346
cmp dword [esp + 0x20], 2
je 0x47fc20
test cl, 0x20
je 0x481391
cmp dword [esp + 0x20], 3
je 0x47fc20
mov eax, dword [esp + 0x30]
xor edx, edx
movzx eax, byte [eax + 3]
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x38]
test cl, 0x10
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
je 0x4813b1
cmp dword [esp + 0x20], 4
je 0x47fc20
mov eax, dword [esp + 0x30]
xor edx, edx
movzx eax, byte [eax + 4]
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x1c]
test cl, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
je 0x4813d1
cmp dword [esp + 0x20], 5
je 0x47fc20
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + 5]
or edx, dword [esp + 0x1c]
test cl, 4
mov dword [esp + 0x1c], edx
je 0x4813ec
cmp dword [esp + 0x20], 6
je 0x47fc20
mov eax, dword [esp + 0x30]
movzx eax, byte [eax + 6]
shl eax, 8
or eax, dword [esp + 0x1c]
test cl, 2
mov dword [esp + 0x1c], eax
je 0x481410
cmp dword [esp + 0x20], 7
je 0x47fc20
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + 7]
shl eax, 0x10
or eax, dword [esp + 0x1c]
and ecx, 1
mov dword [esp + 0x1c], eax
je 0x481434
cmp dword [esp + 0x20], 8
je 0x47fc20
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [edx + 8]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
shl eax, 0x18
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], 9
or eax, ecx
mov dword [esp + 0x64], eax
jmp 0x47fbf7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x480810
mov dword [esp], eax
call fcn.006eb310
cmp ebx, 0x1fffffff
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x14], 0
ja 0x481451
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.006eb360
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x14], ebx
jmp 0x480389
mov eax, dword [ebp]
test eax, eax
je 0x480853
mov dword [esp], eax
call fcn.006eb310
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov dword [esp], ebx
call fcn.006eb360
mov dword [ebp], eax
mov dword [ebp + 8], ebx
jmp 0x480376
mov eax, dword [esp + 0x68]
test eax, eax
je 0x48035c
mov edi, dword [esp + 0x68]
mov dword [esp], edi
call fcn.006eb360
mov esi, eax
mov dword [esp + 0x18], eax
xor ecx, ecx
add esi, edi
mov dword [esp + 0xa8], ebp
mov edi, dword [esp + 0x78]
jmp 0x4808b8
movzx ebp, bl
mov edx, ebx
shr ebp, 1
test cl, dl
setne byte [eax]
add eax, 1
mov ebx, ebp
cmp eax, esi
je 0x4808ed
test bl, bl
jne 0x4808a3
mov edx, dword [edi + 0x38]
mov ecx, dword [edx + 8]
cmp ecx, dword [edx + 4]
jae 0x481298
mov ebx, dword [edx]
lea ebp, [ecx + 1]
mov dword [edx + 8], ebp
mov edx, 0xffffff80
movzx ecx, byte [ebx + ecx]
mov ebx, 0x40
test cl, dl
setne byte [eax]
add eax, 1
cmp eax, esi
jne 0x4808b8
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x48], eax
jmp 0x48035c
mov eax, ecx
xor edx, edx
mov ecx, 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480124
mov eax, ecx
xor edx, edx
mov ecx, 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480124
mov eax, ecx
mov ecx, 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480124
mov eax, ecx
mov ecx, 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480124
mov eax, ecx
mov ecx, 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480124
mov ecx, 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0x480124
mov esi, edx
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x10], esi
jbe 0x4802bf
mov edx, dword [edx + 0xc]
cmp byte [edx + esi], 0
je 0x4802bf
mov edx, dword [ebp]
mov byte [edx + ecx], 1
mov edx, dword [esp + 0xa0]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + eax]
mov eax, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
add ecx, 1
jmp 0x4802e8
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x480f6b
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + ecx*4]
lea esi, [ecx*4]
mov dword [esp + 0x70], esi
test eax, eax
mov dword [esp + 0x38], eax
je 0x480d4f
cmp eax, 1
jbe 0x480f01
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x38]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 4]
sub ecx, ebx
je 0x47fc20
mov esi, dword [ebp]
mov dword [esp + 0x18], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], ecx
add esi, ebx
jmp 0x480abf
ja 0x480a8e
cmp dword [esp + 0x28], edx
jb 0x47fc20
add dword [esp + 0x18], 1
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x38], edx
je 0x480cd6
mov eax, dword [esp + 0x78]
mov ebp, dword [eax + 0x38]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp]
mov eax, dword [ebp + 4]
add esi, ebx
sub eax, ebx
mov dword [esp + 0x30], eax
je 0x47fc20
movzx ecx, byte [esi]
test cl, cl
js 0x480b70
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov ecx, 1
add ebx, ecx
mov eax, dword [edi + 4]
mov dword [ebp + 8], ebx
mov ebx, dword [edi + 8]
cmp eax, ebx
je 0x480b20
mov esi, dword [edi]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esi + eax*8 + 4], ecx
mov dword [esi + eax*8], edx
add eax, 1
add dword [esp + 0x28], edx
mov dword [edi + 4], eax
adc dword [esp + 0x2c], ecx
cmp dword [esp + 0x2c], ecx
jae 0x480a82
call fcn.0047ad60
nop
lea esi, [esi]
mov edx, eax
shr edx, 2
lea ebx, [eax + edx + 1]
cmp ebx, 0xfffffff
ja 0x481293
lea eax, [ebx*8]
mov dword [esp], eax
call fcn.006eb360
mov esi, eax
mov eax, dword [edi + 4]
mov ebp, dword [edi]
test eax, eax
jne 0x480cbe
test ebp, ebp
je 0x480b62
mov dword [esp], ebp
call fcn.006eb310
mov eax, dword [edi + 4]
mov dword [edi], esi
mov dword [edi + 8], ebx
jmp 0x480aec
mov edx, dword [esp + 0x30]
cmp edx, 1
je 0x47fc20
movzx eax, word [esi + 1]
test cl, 0x40
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 1]
je 0x480e45
cmp edx, 2
je 0x47fc20
test cl, 0x20
je 0x480e28
cmp dword [esp + 0x30], 3
je 0x47fc20
movzx eax, byte [esi + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
or eax, dword [esp + 0x50]
test cl, 0x10
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
je 0x480e0b
cmp dword [esp + 0x30], 4
je 0x47fc20
movzx eax, byte [esi + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x54]
or edx, dword [esp + 0x24]
test cl, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
je 0x480dd4
cmp dword [esp + 0x30], 5
je 0x47fc20
movzx eax, byte [esi + 5]
or eax, dword [esp + 0x24]
test cl, 4
mov dword [esp + 0x24], eax
je 0x48109a
cmp dword [esp + 0x30], 6
je 0x47fc20
movzx eax, byte [esi + 6]
shl eax, 8
or eax, dword [esp + 0x24]
test cl, 2
mov dword [esp + 0x24], eax
je 0x481079
cmp dword [esp + 0x30], 7
je 0x47fc20
movzx eax, byte [esi + 7]
shl eax, 0x10
or eax, dword [esp + 0x24]
and ecx, 1
mov dword [esp + 0x24], eax
je 0x4810bb
cmp dword [esp + 0x30], 8
je 0x47fc20
movzx eax, byte [esi + 8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
shl eax, 0x18
mov dword [esp + 0x48], edx
or eax, ecx
mov ecx, 9
mov dword [esp + 0x4c], eax
jmp 0x480adb
shl eax, 3
mov dword [esp + 4], ebp
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
jmp 0x480b57
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x70]
mov edx, dword [ecx + 0x34]
mov ecx, dword [esp + 0x40]
movzx edx, byte [edx + ecx]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x2c]
add edx, dword [ecx + esi]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x28]
lea ecx, [ecx + edx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
cmp dword [esp + 0x2c], ecx
ja 0x47fc20
jb 0x480d21
cmp dword [esp + 0x28], edx
ja 0x47fc20
sub edx, dword [esp + 0x28]
sbb ecx, dword [esp + 0x2c]
cmp eax, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
je 0x480d6f
mov ebp, dword [edi]
mov dword [ebp + eax*8], edx
mov dword [ebp + eax*8 + 4], ecx
add eax, 1
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [eax + 4]
add dword [esp + 0x40], 1
mov eax, dword [esp + 0x40]
cmp eax, edx
jae 0x480f45
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x24]
jmp 0x480a23
mov edx, eax
shr edx, 2
lea esi, [eax + edx + 1]
cmp esi, 0xfffffff
ja 0x481293
lea eax, [esi*8]
mov dword [esp], eax
call fcn.006eb360
mov ebp, eax
mov eax, dword [edi + 4]
mov ebx, dword [edi]
test eax, eax
jne 0x480dbf
test ebx, ebx
je 0x480dad
mov dword [esp], ebx
call fcn.006eb310
mov eax, dword [edi + 4]
mov dword [edi], ebp
mov dword [edi + 8], esi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
jmp 0x480d37
shl eax, 3
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
jmp 0x480da2
mov eax, ecx
mov ecx, 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
or esi, eax
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x34]
or esi, edx
mov dword [esp + 0x4c], esi
jmp 0x480adb
mov eax, ecx
xor edx, edx
mov ecx, 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x480dea
mov eax, ecx
xor edx, edx
mov ecx, 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x480dea
mov dword [esp + 0x20], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x24], 0
mov ecx, 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x480dea
call fcn.0047ad60
mov dword [esp + 0x18], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x2c]
or ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x48022f
mov eax, ecx
xor edx, edx
mov dword [esp + 0x20], 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480ea0
mov eax, ecx
xor edx, edx
mov dword [esp + 0x20], 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480ea0
mov eax, dword [esp + 0xa0]
mov ebx, dword [edi + 8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x34]
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x70]
add eax, dword [edx + ecx]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x28]
mov ecx, dword [edx + eax*8 + 4]
mov edx, dword [edx + eax*8]
mov eax, dword [edi + 4]
jmp 0x480d21
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x7c], edx
mov edi, dword [eax + 0x38]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add ecx, edx
sub eax, edx
mov dword [esp + 0x20], eax
je 0x47fc20
movzx ebx, byte [ecx]
test bl, bl
js 0x48149e
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov ebx, 1
add ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x7c]
test eax, eax
mov dword [edi + 8], ebx
jne 0x47fb49
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
jmp 0x47fb91
mov eax, dword [ebp]
test eax, eax
je 0x480fdf
mov dword [esp], eax
call fcn.006eb310
mov dword [ebp], 0
mov dword [ebp + 8], 0
mov dword [esp], ebx
call fcn.006eb360
cmp ebx, dword [ebp + 0x14]
mov dword [ebp], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], 0
jbe 0x480280
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x48101d
mov dword [esp], eax
call fcn.006eb310
cmp ebx, 0x1fffffff
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x14], 0
ja 0x481293
lea eax, [ebx*4]
mov dword [esp], eax
call fcn.006eb360
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], eax
jmp 0x480280
shl eax, 3
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
jmp 0x480187
mov eax, ecx
mov ecx, 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x480dea
mov eax, ecx
mov ecx, 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x480dea
mov ecx, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x480dea
mov eax, ecx
mov dword [esp + 0x20], 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480ea0
mov eax, ecx
mov dword [esp + 0x20], 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480ea0
mov eax, ecx
xor edx, edx
mov ecx, 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
or ebx, eax
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x6c]
or ebx, edx
mov dword [esp + 0x5c], ebx
jmp 0x47fa0f
mov eax, ecx
xor edx, edx
mov ecx, 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x481132
mov dword [esp + 0x28], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x2c], 0
mov ecx, 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x481132
mov eax, ecx
xor edx, edx
mov ecx, 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
or ebx, eax
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x6c]
or ebx, edx
mov dword [esp + 0x54], ebx
jmp 0x47fe43
mov dword [esp + 0x28], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x2c], 0
mov ecx, 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4811b4
mov ecx, 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jmp 0x481132
mov eax, ecx
mov ecx, 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x481132
mov eax, ecx
mov ecx, 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x481132
mov eax, ecx
mov ecx, 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x481132
call fcn.006ebc70
call fcn.0047ad60
mov eax, ecx
mov dword [esp + 0x20], 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jmp 0x480ea0
mov dword [esp + 0x20], 8
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
jmp 0x480ea0
mov eax, ecx
mov ecx, 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4811b4
mov eax, ecx
mov ecx, 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4811b4
mov ecx, 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
jmp 0x4811b4
mov dword [esp + 0x18], eax
mov eax, ecx
xor edx, edx
and eax, 0x3f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 2
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x34]
or ecx, edx
mov dword [esp + 0x64], ecx
jmp 0x47fbf7
mov eax, ecx
xor edx, edx
mov dword [esp + 0x20], 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x481370
mov eax, ecx
xor edx, edx
mov dword [esp + 0x20], 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x481370
mov eax, ecx
mov dword [esp + 0x20], 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x481370
mov eax, ecx
mov dword [esp + 0x20], 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x481370
mov eax, ecx
mov dword [esp + 0x20], 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jmp 0x481370
mov dword [esp + 0x20], 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x481370
call fcn.006ebc70
mov eax, ecx
xor edx, edx
mov ecx, 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4811b4
mov eax, ecx
mov ecx, 5
and eax, 7
mov edx, eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
jmp 0x4811b4
mov dword [esp + 0x68], 0
jmp 0x47fb91
cmp eax, 1
je 0x47fc20
movzx edx, bl
sub eax, 2
test bl, 0x40
mov dword [esp + 0x30], edx
movzx edx, byte [ecx + 1]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], edx
je 0x48162e
test eax, eax
je 0x47fc20
movzx eax, byte [ecx + 2]
xor edx, edx
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x40]
or esi, dword [esp + 0x38]
mov dword [esp + 0x44], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov eax, esi
sub eax, 3
test bl, 0x20
je 0x4816b4
test eax, eax
je 0x47fc20
movzx eax, byte [ecx + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, esi
sub eax, 4
test bl, 0x10
mov dword [esp + 0x1c], edx
je 0x4816a8
test eax, eax
je 0x47fc20
movzx eax, byte [ecx + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
or edx, eax
mov eax, edx
mov edx, dword [esp + 0x3c]
or edx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, esi
sub eax, 5
test bl, 8
mov dword [esp + 0x1c], edx
je 0x48169c
test eax, eax
je 0x47fc20
movzx edx, byte [ecx + 5]
mov eax, esi
or edx, dword [esp + 0x1c]
sub eax, 6
test bl, 4
mov dword [esp + 0x1c], edx
je 0x481690
test eax, eax
je 0x47fc20
movzx eax, byte [ecx + 6]
shl eax, 8
or eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, esi
sub eax, 7
test bl, 2
je 0x481684
test eax, eax
je 0x47fc20
movzx eax, byte [ecx + 7]
shl eax, 0x10
or eax, dword [esp + 0x1c]
and ebx, 1
mov ebx, 7
mov dword [esp + 0x1c], eax
mov eax, 1
je 0x481638
cmp dword [esp + 0x20], 8
je 0x47fc20
movzx eax, byte [ecx + 8]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
shl eax, 0x18
mov dword [esp + 0x58], ecx
or eax, ebx
mov ebx, 9
mov dword [esp + 0x5c], eax
jmp 0x480fa1
mov ebx, 1
mov eax, 0x40
sub eax, 1
and eax, dword [esp + 0x30]
lea ecx, [ebx*8]
xor edx, edx
xor esi, esi
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, esi
add ebx, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
or ecx, eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
or ecx, edx
mov dword [esp + 0x5c], ecx
jmp 0x480fa1
mov ebx, 6
mov eax, 2
jmp 0x481638
mov ebx, 5
mov eax, 4
jmp 0x481638
mov ebx, 4
mov eax, 8
jmp 0x481638
mov ebx, 3
mov eax, 0x10
jmp 0x481638
mov ebx, 2
mov eax, 0x20
jmp 0x481638