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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x50], ecx
mov edi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
sub edi, ebp
mov dword [esp + 0x20], edi
je 0x47e3c0
mov edi, dword [eax]
lea ebx, [edi + ebp]
mov dword [esp + 0x54], edi
movzx ecx, byte [ebx]
test cl, cl
js 0x47e3c5
add ebp, 1
mov dword [eax + 8], ebp
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
sub esi, ebp
je 0x47e3c0
mov eax, dword [esp + 0x54]
lea edi, [eax + ebp]
movzx ecx, byte [edi]
test cl, cl
js 0x47e564
mov esi, esi
lea edi, [edi]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov ecx, 1
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
add ebp, ecx
mov eax, dword [esp + 0x30]
mov edx, ebx
xor edx, 9
mov dword [eax + 8], ebp
mov eax, esi
or edx, esi
je 0x47e7c6
or eax, ebx
je 0x47e3c0
mov eax, dword [esp + 0x1c]
sub eax, ebp
mov dword [esp + 0x20], eax
je 0x47e3c0
mov eax, dword [esp + 0x54]
add eax, ebp
movzx edx, byte [eax]
test dl, dl
js 0x47e6a0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
mov eax, 1
add eax, ebp
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
mov edi, dword [esp + 0x28]
sub edx, eax
cmp ebx, ebp
ja 0x47e538
jae 0x47e530
mov edi, dword [esp + 0x30]
mov dword [edi + 8], eax
lea esi, [esi]
call fcn.0047ab60
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x47e3c0
movzx edi, cl
sub eax, 2
mov dword [esp + 0x38], edi
movzx edi, byte [ebx + 1]
mov dword [esp + 0x68], edi
mov esi, edi
xor edi, edi
test cl, 0x40
je 0x47f62a
test eax, eax
je 0x47e3c0
movzx eax, byte [ebx + 2]
xor edx, edx
shld edx, eax, 8
shl eax, 8
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
mov edi, edx
or eax, dword [esp + 0x70]
mov dword [esp + 0x74], edx
mov esi, eax
mov eax, dword [esp + 0x20]
sub eax, 3
test cl, 0x20
je 0x47f618
test eax, eax
je 0x47e3c0
movzx eax, byte [ebx + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x6c], edx
mov edx, eax
mov dword [esp + 0x68], eax
or edx, esi
mov eax, edx
mov edx, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x20]
or edx, edi
sub eax, 4
test cl, 0x10
mov edi, edx
je 0x47f609
test eax, eax
je 0x47e3c0
movzx eax, byte [ebx + 4]
xor edx, edx
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x6c], edx
mov edx, eax
mov dword [esp + 0x68], eax
or edx, esi
mov eax, edx
mov edx, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x20]
or edx, edi
sub eax, 5
test cl, 8
mov edi, edx
je 0x47f5fa
test eax, eax
je 0x47e3c0
movzx edx, byte [ebx + 5]
mov eax, dword [esp + 0x20]
sub eax, 6
or edx, edi
test cl, 4
mov edi, edx
je 0x47f5eb
test eax, eax
je 0x47e3c0
movzx eax, byte [ebx + 6]
shl eax, 8
or eax, edi
mov edi, eax
mov eax, dword [esp + 0x20]
sub eax, 7
test cl, 2
je 0x47f5dc
test eax, eax
je 0x47e3c0
movzx eax, byte [ebx + 7]
shl eax, 0x10
or eax, edi
and ecx, 1
mov edi, eax
je 0x47f58d
cmp dword [esp + 0x20], 8
je 0x47e3c0
movzx eax, byte [ebx + 8]
mov ecx, esi
shl eax, 0x18
or eax, edi
mov ebx, eax
mov eax, 9
add ebp, eax
mov eax, dword [esp + 0x30]
cmp ebx, 0
mov dword [eax + 8], ebp
jbe 0x47f076
call fcn.0047ab90
nop
lea esi, [esi]
cmp edx, edi
jb 0x47e3b3
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
lea ebp, [eax + edi]
mov eax, dword [esp + 0x30]
sub esi, ebp
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x54]
lea edi, [eax + ebp]
je 0x47e3c0
movzx ecx, byte [edi]
test cl, cl
jns 0x47e330
cmp esi, 1
je 0x47e3c0
movzx ebx, word [edi + 1]
test cl, 0x40
mov dword [esp + 0x24], 0
movzx eax, byte [edi + 1]
mov dword [esp + 0x20], ebx
je 0x47f1fa
cmp esi, 2
je 0x47e3c0
test cl, 0x20
je 0x47f1e1
cmp esi, 3
je 0x47e3c0
movzx eax, byte [edi + 3]
xor edx, edx
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x68], eax
or ebx, dword [esp + 0x68]
test cl, 0x10
mov dword [esp + 0x6c], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
je 0x47f1ad
cmp esi, 4
je 0x47e3c0
movzx eax, byte [edi + 4]
xor edx, edx
mov ebx, dword [esp + 0x20]
shld edx, eax, 0x18
shl eax, 0x18
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x6c]
or ebx, eax
or edx, dword [esp + 0x24]
test cl, 8
mov dword [esp + 0x68], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
je 0x47f256
cmp esi, 5
je 0x47e3c0
movzx eax, byte [edi + 5]
or eax, dword [esp + 0x24]
test cl, 4
mov dword [esp + 0x24], eax
je 0x47f239
cmp esi, 6
je 0x47e3c0
movzx eax, byte [edi + 6]
shl eax, 8
or eax, dword [esp + 0x24]
test cl, 2
mov dword [esp + 0x24], eax
je 0x47f21f
cmp esi, 7
je 0x47e3c0
movzx eax, byte [edi + 7]
shl eax, 0x10
or eax, dword [esp + 0x24]
and ecx, 1
mov dword [esp + 0x24], eax
je 0x47f3c4
cmp esi, 8
je 0x47e3c0
movzx eax, byte [edi + 8]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
shl eax, 0x18
mov dword [esp + 0x48], ecx
mov ecx, 9
or eax, ebx
mov dword [esp + 0x4c], eax
jmp 0x47e341
mov ebx, dword [esp + 0x20]
cmp ebx, 1
je 0x47e3c0
movzx edi, word [eax + 1]
movzx ecx, byte [eax + 1]
mov dword [esp + 0x68], edi
mov esi, edi
xor edi, edi
test dl, 0x40
je 0x47f18c
cmp ebx, 2
je 0x47e3c0
test dl, 0x20
je 0x47f15a
cmp dword [esp + 0x20], 3
je 0x47e3c0
movzx ecx, byte [eax + 3]
xor ebx, ebx
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x68]
mov edi, ebx
or ecx, dword [esp + 0x70]
test dl, 0x10
mov dword [esp + 0x74], ebx
mov esi, ecx
je 0x47f28e
cmp dword [esp + 0x20], 4
je 0x47e3c0
movzx ecx, byte [eax + 4]
xor ebx, ebx
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x6c], ebx
mov ebx, ecx
mov dword [esp + 0x68], ecx
or ebx, esi
mov ecx, ebx
mov ebx, dword [esp + 0x6c]
mov esi, ecx
or ebx, edi
test dl, 8
mov edi, ebx
je 0x47f2cf
cmp dword [esp + 0x20], 5
je 0x47e3c0
movzx ecx, byte [eax + 5]
or ecx, edi
test dl, 4
mov edi, ecx
je 0x47f2ae
cmp dword [esp + 0x20], 6
je 0x47e3c0
movzx ecx, byte [eax + 6]
shl ecx, 8
or ecx, edi
test dl, 2
mov edi, ecx
je 0x47f46f
cmp dword [esp + 0x20], 7
je 0x47e3c0
movzx ecx, byte [eax + 7]
shl ecx, 0x10
or ecx, edi
and edx, 1
mov edi, ecx
je 0x47f455
cmp dword [esp + 0x20], 8
je 0x47e3c0
movzx eax, byte [eax + 8]
mov dword [esp + 0x28], esi
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x2c], eax
mov eax, 9
jmp 0x47e393
mov eax, dword [esp + 0x38]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xc0]
mov eax, dword [eax + 8]
test eax, eax
je 0x47e7e3
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [esp + 0xc0]
cmp ebx, 0xfffffff
mov dword [eax + 8], 0
ja 0x47f588
lea eax, [ebx*8]
mov dword [esp], eax
mov dword [esp + 0x7c], eax
call fcn.006e98b0
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x68], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x38]
test eax, eax
mov dword [edi], eax
je 0x47f50c
mov eax, dword [esp + 0x68]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x50]
mov ebp, dword [eax + 0x38]
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
sub eax, edi
mov dword [esp + 0x48], eax
je 0x47e3c0
mov eax, dword [ebp]
xor esi, esi
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov edx, edi
mov ebp, esi
mov dword [esp + 0x28], eax
add eax, edi
jmp 0x47e8c0
ja 0x47e88a
cmp esi, ecx
jb 0x47e3c0
add ebp, 1
cmp ebp, dword [esp + 0x38]
je 0x47ea72
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [eax + ebp*8 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ebp*8], esi
mov eax, dword [esp + 0x28]
add eax, edx
sub edi, edx
mov dword [esp + 0x48], edi
je 0x47e3c0
movzx ebx, byte [eax]
test bl, bl
mov byte [esp + 0x54], bl
js 0x47e910
movzx eax, bl
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], eax
mov eax, 1
add edx, eax
mov ecx, dword [esp + 0x58]
add dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x5c]
adc dword [esp + 0x24], ebx
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x20]
cmp edi, ebx
mov dword [eax + 8], edx
jae 0x47e880
call fcn.0047ab60
lea esi, [esi]
mov edi, dword [esp + 0x48]
cmp edi, 1
je 0x47e3c0
movzx ecx, word [eax + 1]
test bl, 0x40
mov dword [esp + 0x34], 0
movzx esi, byte [eax + 1]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x30], ecx
je 0x47f12a
cmp edi, 2
je 0x47e3c0
and ebx, 0x20
je 0x47f0ec
cmp dword [esp + 0x48], 3
je 0x47e3c0
movzx esi, byte [eax + 3]
xor edi, edi
shld edi, esi, 0x10
shl esi, 0x10
mov ecx, esi
or ecx, dword [esp + 0x78]
test byte [esp + 0x54], 0x10
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ecx
je 0x47f342
cmp dword [esp + 0x48], 4
je 0x47e3c0
movzx esi, byte [eax + 4]
xor edi, edi
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
shld edi, esi, 0x18
shl esi, 0x18
mov dword [esp + 0x34], edi
mov edi, esi
or edi, ecx
mov esi, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], esi
or edi, ebx
test byte [esp + 0x54], 8
mov dword [esp + 0x34], edi
je 0x47f325
cmp dword [esp + 0x48], 5
je 0x47e3c0
movzx esi, byte [eax + 5]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
or esi, ebx
test byte [esp + 0x54], 4
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], esi
je 0x47f364
cmp dword [esp + 0x48], 6
je 0x47e3c0
movzx esi, byte [eax + 6]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
shl esi, 8
mov dword [esp + 0x30], ecx
or esi, ebx
test byte [esp + 0x54], 2
mov dword [esp + 0x34], esi
je 0x47f387
mov ecx, dword [esp + 0x48]
cmp ecx, 7
je 0x47e3c0
movzx esi, byte [eax + 7]
shl esi, 0x10
or esi, dword [esp + 0x34]
test byte [esp + 0x54], 1
mov dword [esp + 0x34], esi
je 0x47f3aa
cmp ecx, 8
je 0x47e3c0
movzx eax, byte [eax + 8]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
shl eax, 0x18
mov dword [esp + 0x58], ecx
or eax, ebx
mov dword [esp + 0x5c], eax
mov eax, 9
jmp 0x47e8df
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, edx
mov ebp, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x7c]
mov dword [eax + esi - 8], ecx
mov dword [eax + esi - 4], ebx
mov eax, dword [esp + 0x38]
shl eax, 2
mov dword [esp + 0x54], eax
nop
lea esi, [esi]
mov esi, dword [esp + 0x1c]
sub esi, edi
je 0x47e3c0
mov eax, dword [esp + 0x28]
lea edx, [eax + edi]
movzx eax, byte [edx]
test al, al
js 0x47ec00
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 0
mov eax, 1
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
add eax, edi
mov dword [ebp + 8], eax
mov edx, ebx
mov ecx, esi
or edx, esi
je 0x47f069
mov edx, ebx
xor edx, 0xa
or ecx, edx
je 0x47eb60
mov edi, dword [esp + 0x1c]
sub edi, eax
je 0x47e3c0
mov ebx, dword [esp + 0x28]
lea edx, [ebx + eax]
movzx esi, byte [edx]
mov ebx, esi
test bl, bl
js 0x47ed40
movzx esi, bl
mov dword [esp + 0x44], 0
mov edx, 1
mov dword [esp + 0x40], esi
add eax, edx
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
xor ebx, ebx
mov esi, dword [esp + 0x40]
sub edx, eax
cmp ebx, edi
ja 0x47eb49
jae 0x47eb45
mov dword [ebp + 8], eax
jmp 0x47e3c0
cmp edx, esi
jb 0x47eb3d
mov edi, dword [esp + 0x40]
add edi, eax
mov dword [ebp + 8], edi
jmp 0x47eaa0
cmp dword [esp + 0x1c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
jbe 0x47f63c
mov edi, dword [esp + 0x28]
lea edx, [eax + 1]
mov dword [ebp + 8], edx
movzx ebx, byte [edi + eax]
test bl, bl
je 0x47efd7
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x47ee90
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x28], eax
jmp 0x47eaa0
cmp esi, 1
je 0x47e3c0
movzx ebx, word [edx + 1]
test al, 0x40
mov dword [esp + 0x24], 0
movzx ecx, byte [edx + 1]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], ebx
je 0x47f0c3
cmp esi, 2
je 0x47e3c0
test al, 0x20
je 0x47f087
cmp esi, 3
je 0x47e3c0
movzx ecx, byte [edx + 3]
xor ebx, ebx
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x48]
or ecx, dword [esp + 0x30]
test al, 0x10
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
je 0x47f305
cmp esi, 4
je 0x47e3c0
movzx ecx, byte [edx + 4]
xor ebx, ebx
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
or ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x34]
or ebx, dword [esp + 0x24]
test al, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
je 0x47f2ea
cmp esi, 5
je 0x47e3c0
movzx ecx, byte [edx + 5]
or ecx, dword [esp + 0x24]
test al, 4
mov dword [esp + 0x24], ecx
je 0x47f26d
cmp esi, 6
je 0x47e3c0
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, dword [esp + 0x24]
test al, 2
mov dword [esp + 0x24], ecx
je 0x47f3d2
cmp esi, 7
je 0x47e3c0
movzx ecx, byte [edx + 7]
shl ecx, 0x10
or ecx, dword [esp + 0x24]
test al, 1
mov dword [esp + 0x24], ecx
je 0x47f43b
cmp esi, 8
je 0x47e3c0
movzx eax, byte [edx + 8]
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
shl eax, 0x18
mov dword [esp + 0x60], ecx
or eax, ebx
mov dword [esp + 0x64], eax
mov eax, 9
jmp 0x47eacf
cmp edi, 1
je 0x47e3c0
movzx ecx, word [edx + 1]
test esi, 0x40
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
movzx ecx, byte [edx + 1]
je 0x47f3f3
cmp edi, 2
je 0x47e3c0
test esi, 0x20
je 0x47f490
cmp edi, 3
je 0x47e3c0
movzx ecx, byte [edx + 3]
xor ebx, ebx
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x48]
or ecx, dword [esp + 0x30]
test esi, 0x10
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
je 0x47f4b0
cmp edi, 4
je 0x47e3c0
movzx ecx, byte [edx + 4]
xor ebx, ebx
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
or ebx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x34]
or ebx, dword [esp + 0x24]
test esi, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
je 0x47f4f1
cmp edi, 5
je 0x47e3c0
movzx ecx, byte [edx + 5]
or ecx, dword [esp + 0x24]
test esi, 4
mov dword [esp + 0x24], ecx
je 0x47f4d0
cmp edi, 6
je 0x47e3c0
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, dword [esp + 0x24]
test esi, 2
mov dword [esp + 0x24], ecx
je 0x47f52d
cmp edi, 7
je 0x47e3c0
movzx ecx, byte [edx + 7]
shl ecx, 0x10
or ecx, dword [esp + 0x24]
and esi, 1
mov dword [esp + 0x24], ecx
je 0x47f54e
cmp edi, 8
je 0x47e3c0
movzx edx, byte [edx + 8]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shl edx, 0x18
mov dword [esp + 0x40], esi
or edx, edi
mov dword [esp + 0x44], edx
mov edx, 9
jmp 0x47eb25
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x90], 0
mov dword [esp], ebx
call fcn.006e98b0
mov edi, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0x98], 0
ja 0x47ef75
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
xor edx, edx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
jmp 0x47ef38
mov ebx, dword [esp + 0x50]
mov ecx, dword [ebx + 0x38]
mov esi, dword [ecx + 8]
lea ebx, [esi + 4]
cmp ebx, dword [ecx + 4]
ja 0x47f568
mov edi, dword [ecx]
mov esi, dword [edi + esi]
mov dword [ecx + 8], ebx
mov dword [eax + edx*4], esi
add edx, 1
cmp ebp, edx
jbe 0x47ef4e
mov edi, dword [esp + 0x1c]
cmp byte [edi + edx], 0
jne 0x47ef10
xor esi, esi
mov dword [eax + edx*4], esi
add edx, 1
cmp ebp, edx
ja 0x47ef38
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [esp + 0x88]
test eax, eax
je 0x47ef69
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [esp + 0x50]
mov ebp, dword [eax + 0x38]
jmp 0x47ebe4
mov eax, dword [esp + 0x94]
test eax, eax
je 0x47ef88
mov dword [esp], eax
call fcn.006e9860
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
mov dword [esp], eax
call fcn.006e98b0
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0x88]
test ebx, ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
jne 0x47eefc
jmp 0x47ef4e
mov esi, dword [esp + 0x38]
test esi, esi
je 0x47ebce
mov esi, dword [esp + 0x38]
mov dword [esp + 0x90], 0
mov dword [esp], esi
call fcn.006e98b0
mov edi, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], esi
xor eax, eax
xor edx, edx
jmp 0x47f03a
movzx ebp, bl
mov ecx, ebx
shr ebp, 1
mov ebx, ebp
test al, cl
setne byte [edi + edx]
add edx, 1
cmp esi, edx
je 0x47eed2
test bl, bl
jne 0x47f020
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 4]
jae 0x47f583
mov ebx, dword [eax]
lea ebp, [ecx + 1]
mov dword [eax + 8], ebp
movzx eax, byte [ebx + ecx]
mov ebx, 0x40
mov ecx, 0xffffff80
jmp 0x47f029
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp ecx, 0x7fffffff
ja 0x47e526
jmp 0x47e305
mov ecx, eax
xor ebx, ebx
mov eax, 3
and ecx, 0x1f
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
or esi, ecx
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x34]
or esi, ebx
mov dword [esp + 0x64], esi
jmp 0x47eacf
mov dword [esp + 0x20], ecx
mov ecx, eax
xor ebx, ebx
and ecx, 0x3f
mov dword [esp + 0x24], 0
mov eax, 2
shld ebx, ecx, 8
shl ecx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f0a2
mov esi, dword [esp + 0x54]
xor edi, edi
mov eax, 3
and esi, 0x1f
shld edi, esi, 0x10
shl esi, 0x10
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
or edi, ecx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x4c]
or edi, ebx
mov dword [esp + 0x5c], edi
jmp 0x47e8df
mov eax, esi
xor edi, edi
mov dword [esp + 0x34], 0
movzx esi, al
mov eax, 2
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x54]
and esi, 0x3f
shld edi, esi, 8
shl esi, 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jmp 0x47f109
mov ecx, edx
xor ebx, ebx
mov eax, 3
and ecx, 0x1f
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x20]
or edi, dword [esp + 0x24]
or ecx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
jmp 0x47e393
mov esi, ecx
mov ecx, edx
xor ebx, ebx
and ecx, 0x3f
xor edi, edi
mov eax, 2
shld ebx, ecx, 8
shl ecx, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
jmp 0x47f175
mov eax, ecx
xor edx, edx
mov ecx, 4
and eax, 0xf
shld edx, eax, 0x18
shl eax, 0x18
mov ebx, eax
mov esi, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, eax
or edi, ebx
mov dword [esp + 0x48], edi
mov edi, esi
or edi, edx
mov dword [esp + 0x4c], edi
jmp 0x47e341
mov eax, ecx
xor edx, edx
mov ecx, 3
and eax, 0x1f
shld edx, eax, 0x10
shl eax, 0x10
mov ebx, eax
mov esi, edx
jmp 0x47f1c4
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 ebx, eax
mov esi, edx
jmp 0x47f1c4
mov eax, ecx
mov ecx, 7
and eax, 1
mov edx, eax
mov eax, 0
shl edx, 0x10
mov ebx, eax
mov esi, edx
jmp 0x47f1c4
mov eax, ecx
mov ecx, 6
and eax, 3
mov edx, eax
mov eax, 0
shl edx, 8
mov ebx, eax
mov esi, edx
jmp 0x47f1c4
mov eax, ecx
mov ecx, 5
and eax, 7
mov edx, eax
xor eax, eax
mov ebx, eax
mov esi, edx
jmp 0x47f1c4
mov ecx, eax
mov eax, 6
and ecx, 3
mov ebx, ecx
mov ecx, 0
shl ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f0a2
mov ecx, edx
xor ebx, ebx
mov eax, 4
and ecx, 0xf
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
jmp 0x47f175
mov ecx, edx
mov eax, 6
and ecx, 3
mov ebx, ecx
mov ecx, 0
shl ebx, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
jmp 0x47f175
mov ecx, edx
mov eax, 5
and ecx, 7
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
jmp 0x47f175
mov ecx, eax
mov eax, 5
and ecx, 7
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f0a2
mov ecx, eax
xor ebx, ebx
mov eax, 4
and ecx, 0xf
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f0a2
mov esi, dword [esp + 0x54]
mov eax, 5
and esi, 7
mov edi, esi
xor esi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jmp 0x47f109
mov esi, dword [esp + 0x54]
xor edi, edi
mov eax, 4
and esi, 0xf
shld edi, esi, 0x18
shl esi, 0x18
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jmp 0x47f109
mov esi, dword [esp + 0x54]
mov eax, 6
and esi, 3
mov edi, esi
mov esi, 0
shl edi, 8
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jmp 0x47f109
mov esi, dword [esp + 0x54]
mov eax, 7
and esi, 1
mov edi, esi
mov esi, 0
shl edi, 0x10
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
jmp 0x47f109
mov eax, 8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jmp 0x47f109
mov ecx, 8
xor ebx, ebx
xor esi, esi
jmp 0x47f1c4
mov ecx, eax
mov eax, 7
and ecx, 1
mov ebx, ecx
mov ecx, 0
shl ebx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f0a2
mov dword [esp + 0x20], ecx
mov ecx, esi
xor ebx, ebx
and ecx, 0x3f
mov dword [esp + 0x24], 0
mov edx, 2
shld ebx, ecx, 8
shl ecx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
or edi, ecx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x34]
or edi, ebx
mov dword [esp + 0x44], edi
jmp 0x47eb25
mov eax, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x47f0a2
mov eax, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
jmp 0x47f175
mov ecx, edx
mov eax, 7
and ecx, 1
mov ebx, ecx
mov ecx, 0
shl ebx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
jmp 0x47f175
mov ecx, esi
xor ebx, ebx
mov edx, 3
and ecx, 0x1f
shld ebx, ecx, 0x10
shl ecx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f41a
mov ecx, esi
xor ebx, ebx
mov edx, 4
and ecx, 0xf
shld ebx, ecx, 0x18
shl ecx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f41a
mov ecx, esi
mov edx, 6
and ecx, 3
mov ebx, ecx
mov ecx, 0
shl ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f41a
mov ecx, esi
mov edx, 5
and ecx, 7
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f41a
mov eax, dword [esp + 0x50]
xor ecx, ecx
xor ebx, ebx
mov ebp, dword [eax + 0x38]
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
mov dword [esp + 0x28], eax
jmp 0x47ea80
mov ecx, esi
mov edx, 7
and ecx, 1
mov ebx, ecx
mov ecx, 0
shl ebx, 0x10
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
jmp 0x47f41a
mov edx, 8
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x47f41a
call fcn.0047ab60
lea ecx, [esp + 0x88]
mov ebx, eax
call fcn.00633880
mov dword [esp], ebx
call fcn.005d5ce0
call fcn.0047ab60
call fcn.006ea1c0
mov dword [esp + 0x20], 7
mov eax, 1
sub eax, 1
mov ecx, dword [esp + 0x20]
and eax, dword [esp + 0x38]
xor edx, edx
xor ebx, ebx
shl ecx, 3
shld edx, eax, cl
shl eax, cl
test cl, 0x20
cmovne edx, eax
cmovne eax, ebx
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x38], eax
or edx, esi
mov eax, dword [esp + 0x20]
mov ecx, edx
mov edx, dword [esp + 0x3c]
add eax, 1
or edx, edi
mov ebx, edx
jmp 0x47e514
mov dword [esp + 0x20], 6
mov eax, 2
jmp 0x47f59a
mov dword [esp + 0x20], 5
mov eax, 4
jmp 0x47f59a
mov dword [esp + 0x20], 4
mov eax, 8
jmp 0x47f59a
mov dword [esp + 0x20], 3
mov eax, 0x10
jmp 0x47f59a
mov dword [esp + 0x20], 2
mov eax, 0x20
jmp 0x47f59a
mov dword [esp + 0x20], 1
mov eax, 0x40
jmp 0x47f59a
call fcn.0047ab60
nop
lea esi, [esi]
lea edi, [edi]