Function at 0x47b710
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x124
mov eax, ecx
movsd xmm0, qword [0x4c9608]
mov dword [esp + 0xc8], eax
push ebx
push ebp
mov ecx, dword [eax]
xor ebx, ebx
xor eax, eax
mov ebp, dword [esp + 0x148]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x130]
push esi
mov dword [esp + 0xe0], edx
mov edx, dword [edx]
mov esi, dword [eax]
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x50], eax
mov eax, ecx
shr eax, 9
and eax, 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0xc0], eax
xor eax, 1
mov dword [esp + 0xc4], eax
mov eax, ecx
and eax, 1
mov dword [esp + 0x40], 0
shl eax, 0x1c
push edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], 0xfffffffe
mov dword [esp + 0x4c], 0xfffffffe
mov dword [esp + 0x58], 0xfffffffe
mov dword [esp + 0x40], 0xfffffffe
mov dword [esp + 0x78], eax
mov dword [esp + 0xbc], 0xff
mov dword [esp + 0xd4], 0x81
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x10], esi
movzx edi, word [esi]
test edi, edi
jne 0x47b820
mov eax, dword [esp + 0x68]
test eax, eax
je 0x47b820
mov esi, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x10], esi
movzx edi, word [esi]
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x154]
add eax, 0xffffff38
test ecx, ecx
je 0x47b8f6
cmp edx, eax
ja 0x47f932
mov eax, dword [esp + 0xa8]
cmp edx, eax
cmovae eax, edx
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x154]
sub ecx, dword [esp + 0xa8]
sar ecx, 1
mov edx, dword [eax]
mov eax, 0x7fffffeb
sub eax, edx
cmp eax, ecx
jl 0x47f90f
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x154]
mov dword [ecx], eax
test ebx, ebx
je 0x47b8d5
cmp ebx, dword [esp + 0xb0]
jbe 0x47b8e9
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xb0]
sub eax, ebx
and eax, 0xfffffffe
push eax
push ebx
push esi
call fcn.0048cfe0
mov edx, dword [esp + 0x20]
sub ebx, esi
mov ecx, dword [esp + 0x160]
and ebx, 0xfffffffe
add esp, 0xc
sub edx, ebx
mov ebx, esi
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0xa8], edx
jmp 0x47b8ff
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
mov dword [esp + 0xa8], edx
jmp 0x47b8ff
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], edx
jmp 0x47b8ff
cmp dword [ebp + 0x24], eax
ja 0x47f932
cmp dword [esp + 0x34], 0
je 0x47b97c
test edi, edi
je 0x47b97c
cmp edi, 0x5c
jne 0x47b929
cmp word [esi + 2], 0x45
jne 0x47b929
add esi, 2
mov dword [esp + 0x34], 0
add esi, 2
jmp 0x47b800
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x47b94e
test ecx, ecx
jne 0x47b946
sub esi, dword [ebp + 0x18]
sar esi, 1
sub si, word [eax + 8]
mov word [eax + 0xa], si
mov esi, dword [esp + 0x10]
mov dword [esp + 0x6c], 0
test dword [esp + 0x3c], 0x4000
je 0x47f291
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], edx
mov edx, esi
push ebp
call fcn.0047a9d0
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x47f291
cmp edi, 0x2a
je 0x47b9e6
cmp edi, 0x2b
je 0x47b9e6
cmp edi, 0x3f
je 0x47b9e6
cmp edi, 0x7b
jne 0x47b9a0
lea ecx, [esi + 2]
call fcn.00478f20
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x47b9e6
mov edx, dword [esp + 0x6c]
xor ebp, ebp
test edx, edx
je 0x47b9eb
mov ecx, dword [esp + 0xb8]
mov eax, ecx
dec ecx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x150]
test eax, eax
jg 0x47b9f2
cmp dword [esp + 0x154], ebp
jne 0x47b9e0
sub esi, dword [ecx + 0x18]
sar esi, 1
sub si, word [edx + 8]
mov word [edx + 0xa], si
mov esi, dword [esp + 0x10]
mov dword [esp + 0x6c], ebp
jmp 0x47b9f2
mov ebp, 1
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x3c]
test dl, 8
je 0x47ba87
mov eax, 0xff
cmp word [esi], ax
ja 0x47ba16
mov eax, dword [ecx + 0xc]
test byte [edi + eax], 1
jne 0x47e782
cmp edi, 0x23
jne 0x47ba87
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x47ba85
mov edi, esi
mov ebx, eax
mov eax, dword [esp + 0x150]
mov edx, dword [eax + 0x60]
mov ecx, dword [eax + 0x1c]
test edx, edx
je 0x47babc
cmp edi, ecx
jae 0x47bae4
lea edi, [eax + 0x64]
push 1
push edi
push ecx
mov ecx, esi
call fcn.0048ad00
mov esi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x47bae4
mov edx, dword [edi]
lea esi, [esi + edx*2]
add esi, 0xfffffffe
mov dword [esp + 0x10], esi
cmp word [esi], 0
jne 0x47e77e
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x150]
xor edi, edi
test edx, 0x4000
je 0x47bb1c
test ebp, ebp
jne 0x47bb1c
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
mov ecx, eax
mov dword [esp + 0x70], eax
call fcn.0047a9d0
mov esi, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x47bb20
mov edx, dword [eax + 0x64]
lea eax, [edx + edx]
sub ecx, eax
cmp edi, ecx
ja 0x47bae4
mov ecx, dword [esp + 0x150]
cmp bx, word [ecx + 0x68]
jne 0x47bae4
cmp edx, 1
je 0x47ba66
mov ax, word [esi + 2]
cmp ax, word [ecx + 0x6a]
je 0x47ba66
add esi, 2
mov ecx, 0xfc00
mov dword [esp + 0x10], esi
mov edi, esi
mov ax, word [esi]
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x47bb0b
lea esi, [edi + 2]
mov dword [esp + 0x10], esi
mov edi, esi
movzx eax, word [esi]
test ax, ax
je 0x47ba7a
jmp 0x47ba2c
mov edx, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x64], ebx
cmp edi, 0x7c
ja case.0x47bb36.1
movzx eax, byte [edi + 0x47f98c]
jmp dword [eax*4 + 0x47f958]
xor ebx, ebx
test byte [esp + 0x3c], 2
mov dword [esp + 0x18], ebx
je 0x47bb7f
mov eax, dword [esp + 0x40]
mov ecx, 0xffffffff
mov ebp, dword [esp + 0x150]
cmp eax, 0xfffffffe
cmove eax, ecx
mov ecx, 0x1a
mov word [edx], cx
add edx, 2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
add esi, 2
mov dword [esp + 0x14], edx
jmp 0x47b800
mov ebp, dword [esp + 0x150]
mov ecx, 0x19
mov word [edx], cx
add edx, 2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add esi, 2
jmp 0x47b800
mov ebp, dword [esp + 0x150]
xor ebx, ebx
test byte [esp + 0x3c], 2
mov eax, ebx
mov dword [esp + 0x18], ebx
setne al
add eax, 0x1b
mov word [edx], ax
add edx, 2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add esi, 2
jmp 0x47b800
mov ecx, dword [esp + 0x40]
mov eax, 0xffffffff
mov ebp, dword [esp + 0x150]
cmp ecx, 0xfffffffe
mov ebx, edx
cmove ecx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
shr eax, 2
and eax, 1
mov dword [esp + 0x40], ecx
or eax, 0xc
mov dword [esp + 0x4c], ecx
mov word [edx], ax
add edx, 2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add esi, 2
jmp 0x47b800
mov ebp, dword [esp + 0x150]
test dword [ebp + 0x4c], 0x2000000
je 0x47f291
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x40
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
movzx eax, word [esi + 2]
mov ebx, edx
mov dword [esp + 0x18], ebx
cmp eax, 0x3a
je 0x47bc70
cmp eax, 0x2e
je 0x47bc70
cmp eax, 0x3d
jne 0x47bc87
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.0047a700
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x47f4c6
xor ecx, ecx
mov dword [esp + 0x30], ecx
nop dword [eax]
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov edi, eax
mov ebp, eax
cmp eax, 0x5c
jne 0x47bcd5
cmp word [esi + 2], 0x45
lea ecx, [esi + 2]
jne 0x47bcb5
mov esi, ecx
mov ecx, dword [esp + 0x30]
jmp 0x47bc90
push 3
mov edx, 0x4c9420
call fcn.0048ac60
mov esi, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x47bd3f
mov ecx, dword [esp + 0x30]
add esi, 6
jmp 0x47bc90
test ecx, ecx
jne 0x47bce3
cmp eax, 0x5e
jne 0x47bce3
lea ecx, [eax - 0x5d]
jmp 0x47bc89
cmp eax, 0x5d
jne 0x47bd3f
mov eax, dword [esp + 0x150]
test dword [eax + 0x4c], 0x2000000
je 0x47bd3f
mov edx, dword [esp + 0x14]
test ecx, ecx
mov ebp, dword [esp + 0x150]
mov ecx, 0xd
mov eax, 0x97
cmovne eax, ecx
mov ecx, dword [esp + 0x40]
mov word [edx], ax
add edx, 2
mov esi, dword [esp + 0x10]
cmp ecx, 0xfffffffe
mov eax, 0xffffffff
mov dword [esp + 0x14], edx
cmove ecx, eax
add esi, 2
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], ecx
jmp 0x47b800
mov ebx, dword [esp + 0x14]
xor ecx, ecx
add ebx, 6
mov dword [esp + 0x2c], 0
xor edx, edx
mov dword [esp + 0x24], ecx
xorps xmm0, xmm0
mov dword [esp + 0x1c], edx
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebx
movups xmmword [esp + 0x7c], xmm0
movups xmmword [esp + 0x8c], xmm0
test di, di
je 0x47c9e6
mov eax, ebp
mov dword [esp + 0x5c], edx
and eax, 0xfc00
mov dword [esp + 0x28], ecx
mov edi, ecx
cmp eax, 0xd800
jne 0x47bdcb
movzx ebp, word [esi]
mov eax, ebp
and eax, 0xfc00
cmp eax, 0xd800
jne 0x47bdcb
movzx eax, word [esi + 2]
add esi, 2
and ebp, 0x3ff
mov dword [esp + 0x10], esi
and eax, 0x3ff
shl ebp, 0xa
or ebp, eax
add ebp, 0x10000
cmp dword [esp + 0x154], 0
je 0x47bdf0
sub ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x154]
sar ebx, 1
add dword [edx], ebx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x34], 0
je 0x47be19
cmp ebp, 0x5c
jne 0x47c067
cmp word [esi + 2], 0x45
jne 0x47c067
xor edi, edi
add esi, 2
mov dword [esp + 0x34], edi
jmp 0x47beee
cmp ebp, 0x5b
jne 0x47c01f
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x47be39
cmp eax, 0x2e
je 0x47be39
cmp eax, 0x3d
jne 0x47c067
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.0047a700
test eax, eax
je 0x47c063
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x150]
cmp word [esi + 2], 0x3a
mov edi, dword [eax + 8]
jne 0x47f41a
lea ecx, [esi + 4]
mov dword [esp + 0x10], ecx
mov eax, ecx
cmp word [ecx], 0x5e
jne 0x47be88
lea eax, [ecx + 2]
mov ebx, 1
mov ecx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x70]
sub edx, eax
sar edx, 1
call fcn.0047a7a0
mov ecx, eax
test ecx, ecx
js 0x47f3f3
mov eax, dword [esp + 0x3c]
test al, 1
je 0x47beaf
xor edx, edx
cmp ecx, 2
cmovle ecx, edx
test eax, 0x20000000
je 0x47bf38
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xe
add eax, ecx
mov esi, dword [eax*4 + 0x4ac940]
test esi, esi
je 0x47bf38
mov ecx, dword [esp + 0x70]
add ecx, 2
add esi, 0xfffffffe
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x68]
add esi, 2
mov dword [esp + 0x10], esi
movzx ebp, word [esi]
test ebp, ebp
jne 0x47bf1e
test eax, eax
je 0x47c9e2
lea esi, [eax + 2]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x10], esi
movzx ebp, word [esi]
test ebp, ebp
je 0x47c9e2
cmp ebp, 0x5d
jne 0x47bd81
test edi, edi
jne 0x47bd81
mov eax, dword [esp + 0x4c]
jmp 0x47c9ee
lea ecx, [ecx + ecx*2]
mov eax, dword [ecx*4 + 0x4ad6f0]
mov esi, dword [ecx*4 + 0x4ad6f8]
movups xmm0, xmmword [eax + edi]
movups xmmword [esp + 0x104], xmm0
movups xmm0, xmmword [eax + edi + 0x10]
mov eax, dword [ecx*4 + 0x4ad6f4]
movups xmmword [esp + 0x114], xmm0
test eax, eax
js 0x47bfa4
xor ecx, ecx
lea edx, [eax + edi]
test esi, esi
js 0x47bf92
nop word [eax + eax]
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x104], al
inc ecx
cmp ecx, 0x20
jl 0x47bf80
jmp 0x47bfa4
mov al, byte [edx + ecx]
not al
and byte [esp + ecx + 0x104], al
inc ecx
cmp ecx, 0x20
jl 0x47bf92
mov eax, esi
neg eax
test esi, esi
cmovns eax, esi
cmp eax, 1
jne 0x47bfbc
and byte [esp + 0x105], 0xc3
jmp 0x47bfc9
cmp eax, 2
jne 0x47bfc9
and byte [esp + 0x10f], 0x7f
xor ecx, ecx
test ebx, ebx
je 0x47bff0
nop
mov al, byte [esp + ecx + 0x104]
not al
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47bfd0
jmp 0x47c001
mov al, byte [esp + ecx + 0x104]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47bff0
mov esi, dword [esp + 0x70]
mov ecx, 1
mov edx, 2
mov dword [esp + 0x24], ecx
add esi, 2
mov dword [esp + 0x1c], edx
jmp 0x47bee6
cmp ebp, 0x5c
jne 0x47c067
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x13c]
push 1
push dword [esp + 0x40]
push dword [esi + 0x38]
call fcn.00478fc0
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x13c]
cmp dword [eax], 0
jne 0x47f400
cmp ebp, 0xfffffffb
jne 0x47c0b0
mov ebp, 8
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x47c08d
nop
cmp word [esi + 4], 0x45
jne 0x47c08d
add esi, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], esi
cmp word [esi + 2], 0x5c
je 0x47c070
mov ebx, esi
cmp ebp, 0xd
je 0x47c09d
cmp ebp, 0xa
jne 0x47c493
mov edx, dword [esp + 0x150]
or dword [edx + 0x50], 0x800
jmp 0x47c49a
cmp ebp, 0xfffffff4
je 0x47f460
cmp ebp, 0xffffffe6
jne 0x47c0f6
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x47c0e0
cmp word [esi + 4], 0x45
jne 0x47c0e0
mov ecx, dword [esp + 0x24]
add esi, 4
mov edx, dword [esp + 0x1c]
jmp 0x47beea
mov ecx, dword [esp + 0x24]
mov edi, 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
jmp 0x47beee
cmp ebp, 0xffffffe7
je 0x47c920
test ebp, ebp
jns 0x47c063
mov ecx, dword [esp + 0x24]
mov eax, 0xfffffffa
add dword [esp + 0x1c], 2
inc ecx
mov edx, dword [esi + 8]
sub eax, ebp
mov dword [esp + 0x24], ecx
cmp eax, 0x1c
ja case.0x47c12f.6
movzx eax, byte [eax + 0x47fa40]
jmp dword [eax*4 + 0x47fa0c]
mov eax, dword [esp + 0x10]
mov ecx, 0x4ac928
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
lea eax, [ebp*4 + 0x74]
sub ecx, eax
mov esi, dword [ecx]
mov ecx, edi
sub esi, 2
mov dword [esp + 0x24], ecx
jmp 0x47beea
xor ecx, ecx
mov al, byte [edx + ecx + 0x40]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47c162
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
mov dword [esp + 0x2c], 1
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [edx + ecx + 0x40]
not al
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47c190
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
xor ecx, ecx
mov al, byte [edx + ecx + 0xa0]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47c1b3
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
mov dword [esp + 0x2c], 1
xor ecx, ecx
nop
mov al, byte [edx + ecx + 0xa0]
not al
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47c1e0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
movzx eax, byte [edx]
mov ecx, 2
or byte [esp + 0x7c], al
movzx eax, byte [edx + 1]
and al, 0xf7
or byte [esp + 0x7d], al
nop word [eax + eax]
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x47c220
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
lea eax, [esp + 0x7c]
mov dword [esp + 0x2c], 1
xor esi, esi
sub edx, eax
nop
lea ecx, [esp + 0x7c]
add ecx, esi
inc esi
mov al, byte [ecx + edx]
not al
or byte [ecx], al
cmp esi, 0x20
jl 0x47c250
or byte [esp + 0x7d], 8
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x47beea
or byte [esp + 0x7d], 2
mov eax, 0x3000
or byte [esp + 0x80], 1
or byte [esp + 0x90], 1
mov edx, dword [esp + 0x1c]
mov dword [ebx], 0x16800001
mov dword [ebx + 4], 0x180e0001
mov dword [ebx + 8], 0x20000002
mov dword [ebx + 0xc], 0x1200a
mov dword [ebx + 0x10], 0x1202f
mov dword [ebx + 0x14], 0x1205f
mov word [ebx + 0x18], ax
add ebx, 0x1a
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x20], ebx
jmp 0x47beea
xor edx, edx
nop
mov eax, edx
mov ecx, 0xff
sub eax, 1
je 0x47c2fd
sub eax, 3
je 0x47c2f6
sub eax, 0x10
jne 0x47c302
mov ecx, 0xfe
jmp 0x47c302
mov ecx, 0xfd
or byte [esp + edx + 0x7c], cl
inc edx
cmp edx, 0x20
jl 0x47c2e0
mov dword [ebx], 0x1000002
mov dword [ebx + 4], 0x2167f
mov dword [ebx + 8], 0x180d1681
mov dword [ebx + 0xc], 0x180f0002
mov dword [ebx + 0x10], 0x21fff
mov dword [ebx + 0x14], 0x202e200b
mov dword [ebx + 0x18], 0x20300002
mov dword [ebx + 0x1c], 0x2205e
mov dword [ebx + 0x20], 0x2fff2060
mov dword [ebx + 0x24], 0x30010002
add ebx, 0x28
mov edx, ebx
mov dword [esp + 0x4c], 1
mov ecx, 0x10ffff
call fcn.0048aca0
mov ecx, dword [esp + 0x24]
add eax, eax
mov esi, dword [esp + 0x10]
add ebx, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
jmp 0x47beea
or byte [esp + 0x7d], 0x3c
mov eax, 0x2029
or byte [esp + 0x8c], 0x20
mov edx, dword [esp + 0x1c]
mov dword [ebx], 0x20280002
mov word [ebx + 4], ax
add ebx, 6
mov esi, dword [esp + 0x10]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x20], ebx
jmp 0x47beea
xor ecx, ecx
nop dword [eax + eax]
mov eax, ecx
mov edx, 0xff
sub eax, 1
je 0x47c3d8
sub eax, 0xf
jne 0x47c3dd
mov edx, 0xdf
jmp 0x47c3dd
mov edx, 0xc3
or byte [esp + ecx + 0x7c], dl
inc ecx
cmp ecx, 0x20
jl 0x47c3c0
mov dword [ebx], 0x1000002
mov eax, 0x202a
mov dword [ebx + 4], 0x22027
mov word [ebx + 8], ax
add ebx, 0xa
jmp 0x47c354
push dword [esp + 0x13c]
lea eax, [esp + 0xd4]
push eax
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x18]
call fcn.004796a0
add esp, 8
test eax, eax
js 0x47f400
mov edx, dword [esp + 0x1c]
xor ecx, ecx
neg ebp
mov dword [esp + 0x4c], 1
cmp ebp, 0x10
sete cl
sub ecx, dword [esp + 0xcc]
neg ecx
sbb ecx, ecx
add ecx, 4
mov word [ebx], cx
mov ecx, edi
mov word [ebx + 2], ax
mov ax, word [esp + 0xd0]
mov word [ebx + 4], ax
add ebx, 6
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
jmp 0x47beea
test byte [esp + 0x3c], 0x40
mov esi, dword [esp + 0x10]
jne 0x47f43d
movzx ebp, word [esi]
jmp 0x47c067
mov edx, dword [esp + 0x150]
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x47c7a3
cmp word [esi + 2], 0x2d
jne 0x47c7a3
lea esi, [ebx + 4]
mov dword [esp + 0x10], esi
mov ecx, esi
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x47c523
cmp word [esi + 2], 0x45
jne 0x47c4da
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, esi
cmp word [esi], 0x5c
je 0x47c4c4
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x47c523
cmp word [esi + 2], 0x51
jne 0x47c523
lea esi, [ecx + 4]
mov dword [esp + 0x10], esi
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x47c518
cmp word [esi + 2], 0x45
jne 0x47c518
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, esi
mov dword [esp + 0x60], esi
cmp word [esi], 0x5c
je 0x47c4e4
jmp 0x47c521
mov edi, 1
mov dword [esp + 0x34], edi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x47c79d
test edi, edi
jne 0x47c53c
cmp eax, 0x5d
je 0x47c79d
mov edi, eax
and eax, 0xfc00
cmp eax, 0xd800
jne 0x47c56f
movzx eax, word [esi + 2]
and edi, 0x3ff
and eax, 0x3ff
shl edi, 0xa
lea esi, [ecx + 2]
or edi, eax
add edi, 0x10000
mov dword [esp + 0x60], esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x34], 0
jne 0x47c5be
cmp edi, 0x5c
jne 0x47c5be
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x10]
push 1
push dword [esp + 0x40]
push dword [edx + 0x38]
mov edx, esi
call fcn.00478fc0
add esp, 0xc
mov edi, eax
cmp dword [esi], 0
jne 0x47f400
test edi, edi
jns 0x47c5b6
cmp edi, 0xfffffffb
jne 0x47c79d
mov edi, 8
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], esi
cmp edi, ebp
jl 0x47f480
je 0x47c7a3
cmp edi, 0xd
je 0x47c5d6
cmp edi, 0xa
jne 0x47c5e4
mov eax, dword [esp + 0x150]
or dword [eax + 0x50], 0x800
mov eax, dword [esp + 0x3c]
mov edx, 2
mov dword [esp + 0x1c], edx
cmp edi, 0xff
jg 0x47c67a
mov ebx, eax
and ebx, 1
je 0x47c609
cmp edi, 0x7f
jg 0x47c67a
cmp dword [esp + 0x154], 0
mov ecx, 1
mov dword [esp + 0x24], ecx
jne 0x47bee6
cmp ebp, edi
jg 0x47bee6
mov esi, dword [esp + 0x150]
nop
mov edx, ebp
test edx, edx
jns 0x47c639
add edx, 7
sar edx, 3
movzx ecx, byte [esp + edx + 0x7c]
mov eax, ebp
and eax, 7
bts ecx, eax
mov byte [esp + edx + 0x7c], cl
test ebx, ebx
je 0x47c66c
mov eax, dword [esi + 4]
movzx edx, byte [eax + ebp]
mov ecx, edx
and edx, 7
shr ecx, 3
movzx eax, byte [esp + ecx + 0x7c]
bts eax, edx
mov byte [esp + ecx + 0x7c], al
inc ebp
cmp ebp, edi
jle 0x47c630
mov esi, dword [esp + 0x60]
jmp 0x47bede
mov dword [esp + 0x4c], 1
test al, 1
je 0x47c75e
lea eax, [esp + 0xac]
mov dword [esp + 0xc0], ebp
push eax
lea eax, [esp + 0xb8]
mov edx, edi
push eax
lea ecx, [esp + 0xc8]
mov ebx, edi
call fcn.0047aa00
add esp, 8
test eax, eax
je 0x47c75e
nop dword [eax]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
cmp edx, ebp
jb 0x47c6d8
cmp ecx, edi
jbe 0x47c735
jmp 0x47c6e7
lea eax, [ebp - 1]
cmp ecx, eax
jb 0x47c6e3
mov ebp, edx
jmp 0x47c735
cmp ecx, edi
jbe 0x47c6f2
lea eax, [edi + 1]
cmp edx, eax
ja 0x47c6f2
mov edi, ecx
jmp 0x47c735
mov eax, dword [esp + 0x20]
lea esi, [eax + 2]
cmp edx, ecx
jne 0x47c707
mov ecx, 1
mov word [eax], cx
jmp 0x47c720
mov ecx, 2
mov edx, esi
mov word [eax], cx
mov ecx, dword [esp + 0xb4]
call fcn.0048aca0
lea esi, [esi + eax*2]
mov ecx, dword [esp + 0xac]
mov edx, esi
call fcn.0048aca0
lea eax, [esi + eax*2]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xac]
mov edx, ebx
push eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xc8]
call fcn.0047aa00
add esp, 8
test eax, eax
jne 0x47c6c0
mov ebx, dword [esp + 0x20]
mov eax, 2
mov ecx, ebp
mov word [ebx], ax
add ebx, eax
mov edx, ebx
call fcn.0048aca0
mov ecx, edi
lea esi, [ebx + eax*2]
mov edx, esi
call fcn.0048aca0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
lea ebx, [esi + eax*2]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
jmp 0x47beea
mov esi, ebx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x5c]
cmp eax, 2
lea ebx, [eax + 1]
cmovge ebx, eax
cmp ebx, 1
jne 0x47c7d4
cmp word [esi + 2], 0x5d
jne 0x47c7d4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47c942
cmp ebp, 0x10000
jl 0x47c942
mov edi, dword [esp + 0x3c]
and edi, 1
cmp ebp, 0xff
jg 0x47c858
test edi, edi
je 0x47c7f0
cmp ebp, 0x7f
jg 0x47c858
mov dword [esp + 0x24], 1
mov edx, ebp
test edx, edx
jns 0x47c801
add edx, 7
sar edx, 3
movzx ecx, byte [esp + edx + 0x7c]
mov eax, ebp
and eax, 7
bts ecx, eax
test edi, edi
mov edi, dword [esp + 0x34]
mov byte [esp + edx + 0x7c], cl
mov edx, ebx
mov dword [esp + 0x1c], edx
je 0x47c84b
mov eax, dword [esp + 0x150]
mov eax, dword [eax + 4]
movzx edx, byte [eax + ebp]
mov ecx, edx
and edx, 7
shr ecx, 3
movzx eax, byte [esp + ecx + 0x7c]
bts eax, edx
mov edx, ebx
mov byte [esp + ecx + 0x7c], al
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x47beee
mov esi, dword [esp + 0x20]
mov eax, 1
mov ecx, ebp
mov dword [esp + 0x4c], 1
mov word [esi], ax
add esi, 2
mov edx, esi
call fcn.0048aca0
mov edx, dword [esp + 0x28]
add eax, eax
add esi, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
mov ecx, edx
mov dword [esp + 0x24], ecx
test edi, edi
je 0x47c931
mov eax, ebp
test eax, eax
jns 0x47c89f
add eax, 0x7f
sar eax, 7
movzx ecx, byte [eax + 0x4baf58]
mov eax, ebp
shl ecx, 7
and eax, 0x8000007f
jns 0x47c8ba
dec eax
or eax, 0xffffff80
inc eax
add ecx, eax
mov dword [esp + 0x24], edx
mov edx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
movzx eax, word [ecx*2 + 0x4ae578]
mov ecx, dword [eax*8 + 0x4b9e7c]
add ecx, ebp
cmp ecx, ebp
je 0x47c90f
mov eax, 1
mov word [esi], ax
add esi, 2
mov edx, esi
call fcn.0048aca0
mov ecx, dword [esp + 0x28]
mov edx, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
lea eax, [esi + eax*2]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], eax
jmp 0x47bee6
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jmp 0x47beea
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jmp 0x47beea
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jmp 0x47beea
add esi, 2
mov dword [esp + 0x10], esi
test eax, eax
je 0x47c9a5
mov eax, dword [esp + 0x40]
mov ecx, 0xffffffff
mov edx, dword [esp + 0x14]
cmp eax, 0xfffffffe
mov ebx, dword [esp + 0x18]
cmove eax, ecx
test byte [esp + 0x3c], 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov eax, 0
setne al
add eax, 0x1f
mov word [edx], ax
mov eax, dword [esp + 0x58]
mov word [edx + 2], bp
add edx, 4
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x150]
add esi, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x60], eax
jmp 0x47b800
cmp ebp, 0xffff
jle 0x47c9c9
lea edx, [esp + 0xe8]
mov ecx, ebp
call fcn.0048aca0
mov ebp, dword [esp + 0x150]
mov edx, eax
jmp 0x47f2d9
mov word [esp + 0xe8], bp
mov edx, 1
mov ebp, dword [esp + 0x150]
jmp 0x47f2d9
mov eax, dword [esp + 0x4c]
test ebp, ebp
je 0x47f4a3
mov edx, dword [esp + 0x40]
mov ebp, 0xffffffff
cmp edx, 0xfffffffe
cmove edx, ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x47cabd
test edx, edx
je 0x47ca2b
test dword [esp + 0x3c], 0x20000000
je 0x47cabd
mov edi, dword [esp + 0x14]
xor eax, eax
mov word [ebx], ax
mov eax, 0x6c
add ebx, 2
mov word [edi], ax
xor eax, eax
cmp dword [esp + 0x30], eax
setne al
movzx eax, ax
mov word [edi + 4], ax
test ecx, ecx
jle 0x47ca92
or eax, 2
mov word [edi + 4], ax
add edi, 6
mov eax, ebx
sub eax, edi
and eax, 0xfffffffe
push eax
lea eax, [edi + 0x20]
push edi
push eax
call fcn.0048cfe0
movups xmm0, xmmword [esp + 0x88]
add esp, 0xc
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [edi + 0x10], xmm0
lea edi, [ebx + 0x20]
mov dword [esp + 0x14], edi
jmp 0x47ca98
mov edi, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
mov eax, edi
mov edx, dword [esp + 0x14]
sub eax, ebx
mov ebp, dword [esp + 0x150]
sar eax, 1
mov word [ebx + 2], ax
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x47b800
mov esi, dword [esp + 0x30]
xor eax, eax
mov edi, dword [esp + 0x14]
cmp esi, edx
setne al
add eax, 0x6a
cmp dword [esp + 0x154], 0
mov word [edi], ax
jne 0x47cb01
test esi, esi
je 0x47caec
xor ecx, ecx
not byte [esp + ecx + 0x7c]
inc ecx
cmp ecx, 0x20
jl 0x47cae2
movups xmm0, xmmword [esp + 0x7c]
movups xmmword [edi + 2], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [edi + 0x12], xmm0
add edi, 0x22
mov dword [esp + 0x14], edi
mov edx, edi
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
add esi, 2
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x150]
mov dword [esp + 0x60], eax
jmp 0x47b800
test ebp, ebp
je case.0x47bb36.1
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x44]
push edi
push eax
lea ecx, [esi + 2]
lea edx, [esp + 0x58]
call fcn.00479800
add esp, 8
mov esi, eax
cmp dword [edi], 0
mov dword [esp + 0x10], esi
jne 0x47f93f
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
jmp 0x47cb8d
xor ebx, ebx
or ebp, 0xffffffff
jmp 0x47cb7e
mov ebx, 1
or ebp, 0xffffffff
jmp 0x47cb7e
xor ebx, ebx
mov ebp, 1
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], ebp
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x47f4f7
test ebx, ebx
jne 0x47cbad
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
xor edx, edx
mov eax, 0x20000000
cmp ebx, ebp
mov dword [esp + 0x1c], edx
cmove eax, edx
mov edx, ecx
mov dword [esp + 0x48], edx
movzx ecx, word [esi + 2]
mov dword [esp + 0x64], eax
cmp ecx, 0x2b
jne 0x47cbe3
xor edi, edi
mov dword [esp + 0x1c], 1
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x47cbff
cmp ecx, 0x3f
jne 0x47cbf8
mov edi, dword [esp + 0xc8]
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x47cbff
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edi
cmp word [eax], 0x6f
jne 0x47cc88
mov ebp, eax
push 4
push ebp
lea eax, [ebp + 4]
push eax
call fcn.0048cfe0
add dword [esp + 0x20], 8
add esp, 0xc
cmp dword [esp + 0x154], 0
mov dword [ebp], 0x4007b
mov dword [ebp + 8], 0x40072
mov dword [esp + 0x74], 6
jne 0x47cc74
mov ebx, dword [esp + 0x150]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x24]
add eax, 2
cmp edx, eax
jb 0x47cc74
movzx esi, word [edx - 2]
mov ecx, ebp
sub ecx, dword [ebx + 0x14]
add ecx, 2
sar ecx, 1
cmp esi, ecx
jne 0x47cc74
lea eax, [esi + 2]
mov word [edx - 2], ax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x50]
movzx ecx, word [eax]
cmp ecx, 0x1d
je 0x47d540
cmp ecx, 0x1e
je 0x47d540
cmp ecx, 0x1f
je 0x47d4a8
cmp ecx, 0x20
je 0x47d4a8
cmp ecx, 0x17
jae 0x47ccc3
mov dword [esp + 0x30], 0x34
mov edx, ecx
jmp 0x47d4c0
cmp ecx, 0x6a
je 0x47d403
cmp ecx, 0x6b
je 0x47d403
cmp ecx, 0x6c
je 0x47d403
cmp ecx, 0x6d
je 0x47d403
cmp ecx, 0x6e
je 0x47d403
lea eax, [ecx - 0x77]
cmp ax, 0xa
ja 0x47d3d2
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub edi, eax
sar edi, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
cmp cx, word [esp + 0xd4]
jne 0x47cd38
mov ecx, 0x8b
cmp word [eax + 4], cx
je 0x47d89d
jmp 0x47cd57
cmp ecx, 0x7b
jae 0x47cd57
test ebx, ebx
jg 0x47d89d
test ebp, ebp
js 0x47cd4e
cmp ebp, 1
jle 0x47cd57
mov ebp, 1
mov dword [esp + 0x44], ebp
test ebx, ebx
jne 0x47ce73
lea esi, [eax + 2]
push dword [esp + 0x54]
cmp ebp, 1
jg 0x47cdfa
mov ecx, dword [esp + 0x18]
xor edx, edx
mov ebp, dword [esp + 0x154]
push ebp
push 1
mov word [ecx], dx
lea edx, [ebx + 1]
mov ecx, eax
call fcn.0047a820
mov ebx, dword [esp + 0x24]
lea eax, [edi + edi]
add esp, 0xc
push eax
push ebx
push esi
call fcn.0048cfe0
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, 2
cmp dword [esp + 0x44], 0
mov dword [esp + 0x14], edx
jne 0x47cdd4
mov eax, 0x9b
mov word [ebx], ax
xor ebx, ebx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
or dword [ebp + 0x54], eax
add esi, 2
mov dword [esp + 0x18], ebx
jmp 0x47b800
mov eax, dword [esp + 0x20]
add eax, 0x8c
mov dword [esp + 0x18], esi
mov word [ebx], ax
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
dec ebp
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
jmp 0x47d005
mov ebp, dword [esp + 0x18]
xor ecx, ecx
push dword [esp + 0x154]
push 1
mov word [ebp], cx
lea edx, [ecx + 3]
mov ecx, eax
call fcn.0047a820
mov ebx, dword [esp + 0x24]
lea eax, [edi + edi]
add esp, 0xc
push eax
lea eax, [ebx + 6]
push ebx
push eax
call fcn.0048cfe0
mov eax, dword [esp + 0x2c]
mov ecx, esi
add eax, 0x8c
mov edx, 0x7d
mov word [ebx], ax
add ebp, 6
mov eax, ecx
mov dword [esp + 0x20], ebp
mov word [ecx], dx
add eax, 4
add ecx, 2
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x38], ecx
add esp, 0xc
mov word [ecx], dx
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
dec ebp
mov edx, dword [esp + 0x48]
jmp 0x47d005
cmp ebx, 1
jle 0x47cfff
cmp dword [esp + 0x154], 0
je 0x47cede
mov eax, dword [esp + 0x74]
lea ecx, [ebx - 1]
movd xmm1, ecx
mov edi, ecx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
imul edi, eax
mulsd xmm1, xmm0
comisd xmm1, xmmword [esp + 0xf8]
ja 0x47f90f
mov eax, dword [esp + 0x154]
mov ecx, dword [eax]
mov eax, 0x7fffffeb
sub eax, ecx
cmp eax, edi
jl 0x47f90f
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x154]
mov dword [ecx], eax
jmp 0x47cfff
cmp dword [esp + 0xa4], 0
je 0x47cef7
mov ecx, dword [esp + 0x58]
test ecx, ecx
cmovs ecx, dword [esp + 0x40]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 1
cmp ebx, 1
jle 0x47cfff
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x150]
lea ebp, [ebx + ebx]
jmp 0x47cf1c
mov ebx, dword [esp + 0x30]
mov esi, dword [edx + 0x24]
push ebp
push eax
push dword [esp + 0x1c]
call fcn.0048ea30
mov edx, dword [esp + 0x15c]
mov ecx, esi
sub ecx, dword [esp + 0x60]
add esp, 0xc
sar ecx, 1
mov eax, dword [edx + 0x34]
mov edi, dword [edx + 0x10]
sub eax, ecx
add eax, 0xffffff9c
lea eax, [edi + eax*2]
cmp dword [edx + 0x24], eax
jbe 0x47cfac
nop
mov ecx, edx
call fcn.00478e90
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x47f400
mov eax, dword [esp + 0x150]
sub esi, edi
mov ecx, dword [esp + 0x54]
sub ecx, edi
sar esi, 1
sar ecx, 1
mov edx, dword [eax + 0x10]
mov edi, edx
mov eax, dword [eax + 0x34]
lea ecx, [edx + ecx*2]
lea esi, [edx + esi*2]
mov dword [esp + 0x54], ecx
mov ecx, esi
add edx, 0xffffff38
sub ecx, dword [esp + 0x54]
sar ecx, 1
sub eax, ecx
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x150]
cmp dword [edx + 0x24], eax
ja 0x47cf50
mov edi, dword [esp + 0x54]
cmp edi, esi
jae 0x47cfcb
mov cx, word [edi]
add edi, 2
mov eax, dword [edx + 0x24]
add cx, bx
mov word [eax], cx
add dword [edx + 0x24], 2
cmp edi, esi
jb 0x47cfb4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
lea eax, [eax + ebx*2]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0x47cf18
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test ebp, ebp
jle 0x47d00b
sub ebp, ebx
mov dword [esp + 0x44], ebp
test ebp, ebp
js 0x47d233
mov ebx, dword [esp + 0x154]
test ebx, ebx
je 0x47d06d
test ebp, ebp
jle 0x47d06d
mov eax, dword [esp + 0x74]
add eax, 5
movd xmm0, ebp
cvtdq2pd xmm0, xmm0
mov ecx, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
imul ecx, ebp
mulsd xmm1, xmm0
sub ecx, 4
comisd xmm1, xmmword [esp + 0xf8]
ja 0x47f90f
mov edi, dword [ebx]
mov eax, 0x7fffffeb
sub eax, edi
cmp eax, ecx
jl 0x47f90f
lea eax, [ecx + edi]
mov dword [ebx], eax
jmp 0x47d1e5
lea eax, [ebp - 1]
mov dword [esp + 0x28], eax
test eax, eax
js 0x47d1e5
mov ebx, dword [esp + 0x150]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
add ecx, 0x8c
mov ebp, dword [esp + 0x14]
add edx, edx
mov edi, dword [ebx + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x5c], edx
mov word [ebp], cx
mov esi, edi
add ebp, 2
mov dword [esp + 0x14], ebp
test eax, eax
je 0x47d0e0
mov ecx, dword [esp + 0x2c]
mov eax, 0x7d
mov word [ebp], ax
add ebp, 2
test ecx, ecx
jne 0x47d0cb
xor eax, eax
jmp 0x47d0d1
mov eax, ebp
sub eax, ecx
sar eax, 1
mov dword [esp + 0x2c], ebp
mov word [ebp], ax
add ebp, 2
mov dword [esp + 0x14], ebp
push edx
push dword [esp + 0x1c]
push ebp
call fcn.0048ea30
mov eax, dword [esp + 0x15c]
add esp, 0xc
sub edi, dword [esp + 0x54]
mov ebp, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x24]
mov eax, dword [eax + 0x34]
sar edi, 1
sub eax, edi
add eax, 0xffffff9c
lea eax, [eax*2]
add eax, ebp
cmp ebx, eax
jbe 0x47d16b
mov edi, dword [esp + 0x150]
nop dword [eax]
mov ecx, edi
call fcn.00478e90
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x47f400
mov edx, dword [edi + 0x10]
sub esi, ebp
mov eax, dword [esp + 0x54]
mov ebx, dword [edi + 0x24]
sub eax, ebp
sar eax, 1
mov ebp, edx
sar esi, 1
lea eax, [edx + eax*2]
lea esi, [edx + esi*2]
mov dword [esp + 0x54], eax
mov ecx, esi
sub ecx, eax
mov eax, dword [edi + 0x34]
sar ecx, 1
sub eax, ecx
add eax, 0xffffff9c
lea eax, [edx + eax*2]
cmp ebx, eax
ja 0x47d120
mov ebp, dword [esp + 0x54]
mov edi, ebx
mov ebx, dword [esp + 0x150]
cmp ebp, esi
jae 0x47d1b0
xor eax, eax
cmp dword [esp + 0x28], eax
setne al
lea eax, [eax*2 + 1]
movzx edx, ax
nop
mov ecx, dword [esp + 0x30]
mov eax, dword [ebx + 0x24]
add ecx, edx
add cx, word [ebp]
add ebp, 2
mov word [eax], cx
mov edi, dword [ebx + 0x24]
add edi, 2
mov dword [ebx + 0x24], edi
cmp ebp, esi
jb 0x47d190
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x54], esi
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x28]
sub eax, 1
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], eax
jns 0x47d0a2
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x47d806
mov ecx, edi
mov edx, edi
sub ecx, ebx
sar ecx, 1
inc ecx
lea eax, [ecx + ecx]
sub edx, eax
movzx eax, word [edx + 2]
test eax, eax
jne 0x47d20f
xor ebx, ebx
jmp 0x47d214
neg eax
lea ebx, [ebx + eax*2]
mov eax, 0x72
mov word [edi], ax
movzx eax, cx
mov word [edi + 2], ax
add edi, 4
mov word [edx + 2], ax
test ebx, ebx
jne 0x47d1f5
jmp 0x47d7fa
mov edx, dword [esp + 0x14]
movzx eax, word [edx - 2]
lea edi, [edx - 4]
add eax, eax
mov ebx, edi
sub ebx, eax
movzx eax, word [ebx]
mov ecx, eax
cmp eax, 0x7b
je 0x47d253
cmp eax, 0x7c
jne 0x47d265
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x47d269
mov eax, 0x7d
mov word [ebx], ax
jmp 0x47d27b
mov ebp, dword [esp + 0x1c]
cmp ecx, 0x7b
je 0x47d3bf
cmp ecx, 0x7c
je 0x47d3bf
cmp dword [esp + 0x154], 0
jne 0x47d2c1
mov esi, ebx
nop word [eax + eax]
push dword [esp + 0x150]
mov edx, edi
mov ecx, esi
push 1
call fcn.0047a340
add esp, 8
test eax, eax
jne 0x47d2b9
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
lea esi, [esi + eax*2]
je 0x47d290
jmp 0x47d2bd
add word [ebx], 5
mov edx, dword [esp + 0x14]
test ebp, ebp
je 0x47d395
movzx eax, word [ebx]
mov ecx, 0x81
cmp ax, cx
je 0x47d2fc
mov ecx, 0x86
cmp ax, cx
je 0x47d2fc
mov ebp, dword [esp + 0x150]
inc eax
mov word [ebx], ax
mov eax, 0x75
mov word [edi], ax
mov edi, dword [esp + 0x14]
jmp 0x47d35d
push dword [esp + 0x54]
mov edi, dword [esp + 0x18]
xor eax, eax
mov ebp, dword [esp + 0x154]
mov esi, edi
push ebp
sub esi, ebx
mov ecx, ebx
push 1
lea edx, [eax + 2]
sar esi, 1
mov word [edi], ax
call fcn.0047a820
add esp, 0xc
lea eax, [esi + esi]
push eax
lea eax, [ebx + 4]
push ebx
push eax
call fcn.0048cfe0
mov eax, 0x7e
add esp, 0xc
mov word [ebx], ax
mov eax, 0x75
mov word [edi + 4], ax
lea eax, [esi + 2]
movzx eax, ax
mov word [edi + 6], ax
add edi, 8
mov dword [esp + 0x14], edi
mov word [ebx + 2], ax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d36d
mov ecx, 0x8e
mov word [eax], cx
cmp dword [esp + 0x50], 2
jge 0x47d7fe
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x64]
or dword [ebp + 0x54], eax
add esi, 2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x47b800
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov ebp, dword [esp + 0x150]
add eax, 0x73
mov word [edi], ax
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
or dword [ebp + 0x54], eax
add esi, 2
mov dword [esp + 0x18], ebx
jmp 0x47b800
mov eax, dword [esp + 0x20]
add eax, 0x73
mov word [edi], ax
mov edi, dword [esp + 0x14]
jmp 0x47d7fe
mov eax, 0x97
cmp cx, ax
je 0x47d89d
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0xb
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
test ebp, ebp
jne 0x47d429
mov ebp, dword [esp + 0x150]
mov edx, eax
mov eax, dword [esp + 0x64]
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
or dword [ebp + 0x54], eax
add esi, 2
jmp 0x47b800
test ebx, ebx
jne 0x47d45b
cmp ebp, 0xffffffff
jne 0x47d444
lea eax, [edi + 0x62]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x47d7fa
cmp ebp, 1
jne 0x47d477
lea eax, [edi + 0x66]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x47d7fa
cmp ebx, 1
jne 0x47d477
cmp ebp, 0xffffffff
jne 0x47d477
lea eax, [edi + 0x64]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x47d7fa
lea eax, [edi + 0x68]
xor ecx, ecx
mov edi, dword [esp + 0x14]
mov word [edi], ax
mov ax, word [esp + 0x50]
mov word [edi + 2], ax
add edi, 4
mov eax, dword [esp + 0x44]
cmp eax, 0xffffffff
cmove eax, ecx
mov dword [esp + 0x44], eax
mov word [edi], ax
add edi, 2
jmp 0x47d7fa
movzx edx, word [eax + 2]
cmp ecx, 0x1f
mov edi, 0x27
mov ecx, 0x1a
cmove edi, ecx
mov dword [esp + 0x30], edi
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x24], edx
jne 0x47d50f
test ebp, ebp
jns 0x47d50f
push dword [esp + 0x150]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea eax, [esi + 2]
push eax
mov edx, 1
call fcn.0047ac80
mov ebx, dword [esp + 0x5c]
add esp, 0xc
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x47d50f
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x18]
movzx eax, word [edi]
cmp eax, 0x10
je 0x47d5d0
cmp eax, 0xf
je 0x47d5d0
mov dword [esp + 0x28], 0xffffffff
add edi, 2
mov dword [esp + 0x2c], 0xffffffff
jmp 0x47d5e7
xor edx, edx
mov eax, 0xd
cmp ecx, 0x1d
cmove eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
movzx ecx, word [edx - 2]
mov eax, ecx
and eax, 0xfc00
cmp eax, 0xdc00
jne 0x47d5af
lea ecx, [edx - 4]
mov edi, edx
sub edi, ecx
sar edi, 1
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esp + 0x12c]
push eax
call fcn.0048ea30
add esp, 0xc
or edi, 0x10000000
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x1c], 0
jne 0x47d50f
test ebp, ebp
jns 0x47d50f
push eax
jmp 0x47d4d6
mov edi, ecx
mov dword [esp + 0x24], edi
cmp ebx, 1
jle 0x47d58f
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x54]
or ecx, edi
or ecx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
jmp 0x47d596
movzx eax, word [edi + 2]
add edi, 2
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x47d89d
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ebx, ebx
jne 0x47d679
mov ecx, dword [esp + 0x18]
movzx eax, ax
cmp ebp, 0xffffffff
jne 0x47d655
add eax, 0x21
mov word [ecx], ax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
test esi, 0x10000000
je 0x47d7da
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.0048ea30
add esp, 0xc
lea eax, [esi + esi]
jmp 0x47d7e2
cmp ebp, 1
mov ebp, dword [esp + 0x2c]
jne 0x47d666
add eax, 0x25
mov word [ecx], ax
jmp 0x47d625
add eax, 0x27
mov word [ecx], ax
mov ax, word [esp + 0x44]
mov word [edi], ax
add edi, 2
jmp 0x47d625
cmp ebx, 1
jne 0x47d6ba
cmp ebp, 0xffffffff
jne 0x47d692
mov ecx, dword [esp + 0x18]
add eax, 0x23
mov word [ecx], ax
lea edi, [ecx + 2]
jmp 0x47d621
mov edx, ecx
mov dword [esp + 0x14], edx
cmp ebp, 1
je 0x47d9e1
add eax, 0x27
mov word [ecx], ax
add ecx, 2
mov eax, dword [esp + 0x44]
dec eax
mov word [ecx], ax
lea edi, [ecx + 2]
jmp 0x47d621
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
lea edi, [ecx + 2]
lea eax, [ebx + 0x29]
mov word [ecx], ax
mov ax, word [esp + 0x50]
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0x44]
test eax, eax
jns 0x47d74b
test edx, 0x10000000
je 0x47d71b
mov esi, edx
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.0048ea30
mov eax, dword [esp + 0x2c]
lea edi, [edi + esi*2]
add eax, 0x21
add esp, 0xc
add eax, ebx
mov word [edi], ax
add edi, 2
jmp 0x47d621
mov eax, dword [esp + 0x2c]
mov word [edi], dx
add edi, 2
test eax, eax
js 0x47d737
mov word [edi], ax
mov eax, dword [esp + 0x28]
mov word [edi + 2], ax
add edi, 4
mov eax, dword [esp + 0x20]
add eax, 0x21
add eax, ebx
mov word [edi], ax
add edi, 2
jmp 0x47d621
cmp eax, dword [esp + 0x50]
je 0x47d621
test edx, 0x10000000
je 0x47d77b
mov esi, edx
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.0048ea30
add esp, 0xc
add esi, esi
jmp 0x47d783
mov word [edi], dx
mov esi, 2
mov ebp, dword [esp + 0x2c]
lea ecx, [esi + edi]
test ebp, ebp
js 0x47d79c
mov eax, dword [esp + 0x28]
mov word [ecx], bp
mov word [ecx + 2], ax
add ecx, 4
mov eax, dword [esp + 0x44]
lea edi, [ecx + 2]
sub eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
add edx, ebx
mov dword [esp + 0x44], eax
movzx edx, dx
cmp eax, 1
jne 0x47d7c4
lea eax, [edx + 0x25]
mov word [ecx], ax
jmp 0x47d625
lea eax, [edx + 0x27]
mov word [ecx], ax
mov ax, word [esp + 0x44]
mov word [edi], ax
add edi, 2
jmp 0x47d625
mov word [edi], si
mov eax, 2
add edi, eax
mov dword [esp + 0x14], edi
test ebp, ebp
js 0x47d7fe
mov eax, dword [esp + 0x28]
mov word [edi], bp
mov word [edi + 2], ax
add edi, 4
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
cmp dword [esp + 0x1c], 0
je 0x47d9dd
movzx eax, word [edx]
cmp eax, 0x5d
jne 0x47d835
movzx eax, word [edx + 4]
cmp eax, 0x10
je 0x47d82c
cmp eax, 0xf
mov eax, 6
jne 0x47d831
mov eax, 0xa
add edx, eax
jmp 0x47d866
cmp eax, 0x29
je 0x47d83f
cmp eax, 0x43
jne 0x47d86a
movzx eax, byte [eax + 0x4ae110]
mov ecx, 0xfc00
lea edx, [edx + eax*2]
mov dword [esp + 0x48], edx
mov ax, word [edx - 2]
and ax, cx
mov ecx, 0xd800
cmp ax, cx
jne 0x47d86a
add edx, 2
mov dword [esp + 0x48], edx
sub edi, edx
mov ebx, edi
sar ebx, 1
test ebx, ebx
jle 0x47d89d
movzx eax, word [edx]
add eax, 0xffffffdf
cmp eax, 0x3a
ja case.0x47d88a.34
movzx eax, byte [eax + 0x47fab4]
jmp dword [eax*4 + 0x47fa60]
mov eax, 0x2a
mov word [edx], ax
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
xor ebx, ebx
or dword [ebp + 0x54], eax
add esi, 2
mov dword [esp + 0x18], ebx
jmp 0x47b800
mov eax, 0x2b
jmp 0x47d896
mov eax, 0x2c
jmp 0x47d896
mov eax, 0x2d
jmp 0x47d896
mov eax, 0x37
jmp 0x47d896
mov eax, 0x38
jmp 0x47d896
mov eax, 0x39
jmp 0x47d896
mov eax, 0x3a
jmp 0x47d896
mov eax, 0x44
jmp 0x47d896
mov eax, 0x45
jmp 0x47d896
mov eax, 0x46
jmp 0x47d896
mov eax, 0x47
jmp 0x47d896
mov eax, 0x51
jmp 0x47d896
mov eax, 0x52
jmp 0x47d896
mov eax, 0x53
jmp 0x47d896
mov eax, 0x54
jmp 0x47d896
mov eax, 0x5e
jmp 0x47d896
mov eax, 0x5f
jmp 0x47d896
mov eax, 0x60
jmp 0x47d896
mov eax, 0x61
jmp 0x47d896
mov eax, dword [esp + 0x14]
xor ecx, ecx
push dword [esp + 0x54]
mov ebp, dword [esp + 0x154]
push ebp
mov word [eax], cx
lea edx, [ecx + 2]
mov ecx, dword [esp + 0x50]
push 1
call fcn.0047a820
mov eax, dword [esp + 0x54]
add esp, 0xc
and edi, 0xfffffffe
push edi
push eax
add eax, 4
push eax
call fcn.0048cfe0
mov eax, dword [esp + 0x54]
mov ecx, 0x7b
mov edx, dword [esp + 0x20]
add esp, 0xc
mov word [eax], cx
mov eax, 0x72
mov word [edx + 4], ax
lea eax, [ebx + 2]
movzx ecx, ax
xor ebx, ebx
mov word [edx + 6], cx
add edx, 8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov word [eax + 2], cx
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
or dword [ebp + 0x54], eax
add esi, 2
jmp 0x47b800
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x150]
xor ebx, ebx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], ebx
or dword [ebp + 0x54], eax
add esi, 2
jmp 0x47b800
mov ebp, dword [esp + 0x150]
add esi, 2
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
movzx edx, word [esi]
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x20], 0x7f
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ebx
cmp edx, 0x2a
jne 0x47dc88
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x47da5a
mov edi, 0xff
cmp ax, di
ja 0x47dc88
mov ecx, eax
mov eax, dword [ebp + 0xc]
test byte [ecx + eax], 2
je 0x47dc84
add esi, 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
mov ebp, 0x4ad8cc
mov dword [esp + 0x10], esi
mov ebx, 0xff
movzx eax, word [esi]
mov edx, esi
mov dword [esp + 0x28], ecx
cmp ax, bx
ja 0x47dabe
mov ecx, dword [esp + 0x150]
mov edi, eax
mov ebx, dword [ecx + 0xc]
mov ecx, esi
movzx eax, di
mov edx, ecx
test byte [eax + ebx], 2
je 0x47daba
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov edx, esi
mov edi, eax
cmp ax, word [esp + 0xbc]
jbe 0x47da95
mov ecx, dword [esp + 0x28]
mov edi, edx
sub edi, ecx
sar edi, 1
cmp word [esi], 0x3a
jne 0x47db12
add edx, 2
mov esi, edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], esi
mov ebx, edx
movzx eax, word [esi]
test ax, ax
je 0x47db0a
mov ecx, edx
mov edx, eax
mov ebx, ecx
cmp dx, 0x29
je 0x47db02
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov ebx, esi
mov edx, eax
test ax, ax
jne 0x47dae5
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ebx, edx
sar ebx, 1
mov dword [esp + 0x30], ebx
cmp word [esi], 0x29
jne 0x47f565
xor ebx, ebx
mov esi, 0x4ad7c8
cmp edi, dword [esi]
jne 0x47db36
push edi
mov edx, ebp
call fcn.0048ac60
add esp, 4
test eax, eax
je 0x47db4f
inc ebp
inc ebx
add ebp, dword [esi]
add esi, 0xc
cmp esi, str.pL
jge 0x47f561
mov ecx, dword [esp + 0x28]
jmp 0x47db23
lea eax, [ebx + ebx*2]
mov ecx, dword [eax*4 + 0x4ad7cc]
cmp ecx, 0x98
jne 0x47dbd3
cmp dword [esp + 0x30], 0
jne 0x47f53a
mov ebp, dword [esp + 0x150]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x58], 1
test ecx, ecx
je 0x47dbab
mov ebp, 0x9a
nop
mov word [edi], bp
mov ax, word [ecx + 4]
mov word [edi + 2], ax
add edi, 4
mov ecx, dword [ecx]
test ecx, ecx
jne 0x47db90
mov ebp, dword [esp + 0x150]
xor eax, eax
mov ecx, 0xffffffff
cmp dword [ebp + 0x48], eax
setg al
add eax, 0x98
mov word [edi], ax
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffe
cmove eax, ecx
mov dword [esp + 0x40], eax
jmp 0x47dc60
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x47dc0d
movzx eax, cx
mov edx, eax
test ecx, ecx
js 0x47f513
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x150]
mov word [ecx], ax
mov eax, 0x94
cmp dx, ax
jne 0x47dc07
or dword [ebp + 0x50], 0x1000
mov edi, dword [esp + 0x64]
jmp 0x47dc60
mov eax, dword [eax*4 + 0x4ad7d0]
movzx ecx, ax
mov edx, ecx
test eax, eax
js 0x47f53a
mov edi, dword [esp + 0x14]
mov eax, 0x95
mov ebp, dword [esp + 0x150]
mov word [edi], cx
cmp dx, ax
jne 0x47dc40
or dword [ebp + 0x50], 0x1000
lea eax, [esi + esi]
mov word [edi + 2], si
push eax
push dword [esp + 0x30]
add edi, 4
push edi
call fcn.0048ea30
add esp, 0xc
lea edi, [edi + esi*2]
xor eax, eax
mov word [edi], ax
add edi, 2
mov dword [esp + 0x14], edi
cmp ebx, 9
jge 0x47f561
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
jmp 0x47b800
mov ecx, dword [esp + 0x3c]
cmp edx, 0x3f
jne 0x47e5fb
add esi, 2
mov dword [esp + 0x10], esi
mov edi, esi
movzx ecx, word [esi]
mov edx, ecx
lea eax, [ecx - 0x21]
cmp eax, 0x5b
ja case.0x47dcb6.47
movzx eax, byte [eax + 0x47fb2c]
mov dword [esp + 0x1c], esi
jmp dword [eax*4 + 0x47faf0]
lea ecx, [esi + 2]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x47f588
cmp ax, 0x29
je 0x47dcdf
lea esi, [ecx + 2]
mov ecx, esi
jmp 0x47dcc2
cmp word [esi], bx
je 0x47f588
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
jmp 0x47b800
mov dword [esp + 0x5c], 1
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x7d
mov dword [esp + 0x10], eax
mov edx, 0x7d
jmp 0x47e073
cmp word [esi + 2], 0x3f
mov dword [esp + 0x20], 0x81
jne 0x47dd47
movzx eax, word [esi + 4]
cmp eax, 0x3d
je 0x47e06f
cmp eax, 0x21
je 0x47e06f
cmp eax, 0x3c
je 0x47e06f
mov ebx, dword [esp + 0x14]
mov eax, 0x87
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], 0xffffffff
mov word [ebx + 4], ax
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 2]
cmp eax, 0x52
jne 0x47dd96
cmp word [esi + 4], 0x26
lea ecx, [esi + 4]
jne 0x47dd96
mov dword [esp + 0x10], ecx
mov eax, 0x89
mov word [ebx + 4], ax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
jmp 0x47dddc
cmp eax, 0x3c
jne 0x47ddac
add esi, 2
mov dword [esp + 0x30], 0x3e
mov dword [esp + 0x10], esi
jmp 0x47dddc
cmp eax, 0x27
jne 0x47ddbe
add esi, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
jmp 0x47dddc
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp eax, 0x2d
je 0x47ddce
cmp eax, 0x2b
jne 0x47dddc
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov dword [esp + 0x38], eax
movzx eax, word [esi + 2]
lea ecx, [esi + 2]
mov edi, 0xff
mov dword [esp + 0x18], ecx
cmp ax, di
ja 0x47f603
mov ebp, dword [ebp + 0xc]
test byte [eax + ebp], 0x10
je 0x47f603
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], esi
mov edx, ecx
mov dword [esp + 0x1c], ebx
movzx eax, word [esi]
cmp ax, di
ja 0x47de78
mov ebx, ecx
mov ecx, eax
movzx edi, cx
mov edx, ebx
test byte [edi + ebp], 0x10
je 0x47de70
mov edx, dword [esp + 0x1c]
test edx, edx
js 0x47de56
cmp cx, 0x30
jb 0x47de4e
cmp cx, 0x39
ja 0x47de4e
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
lea edx, [edi + edx*2]
mov dword [esp + 0x1c], edx
jmp 0x47de56
mov dword [esp + 0x1c], 0xffffffff
lea esi, [ebx + 2]
mov edi, 0xff
mov dword [esp + 0x10], esi
mov ebx, esi
movzx eax, word [esi]
mov edx, esi
mov ecx, eax
cmp ax, di
jbe 0x47de20
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edi, edx
sub edi, ecx
mov ecx, dword [esp + 0x30]
sar edi, 1
mov dword [esp + 0x28], edi
test ecx, ecx
jle 0x47de9e
movzx eax, word [esi]
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
mov edx, esi
cmp eax, ecx
jne 0x47f5dd
mov ax, word [esi]
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
cmp ax, 0x29
jne 0x47f5dd
cmp dword [esp + 0x154], 0
jne 0x47e06b
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x47df06
test ebx, ebx
jle 0x47f7d8
mov edx, dword [esp + 0x150]
mov eax, dword [edx + 0x38]
cmp ecx, 0x2d
jne 0x47dee6
sub eax, ebx
lea ebx, [eax + 1]
jmp 0x47dee8
add ebx, eax
test ebx, ebx
jle 0x47f88b
cmp ebx, dword [edx + 0x3c]
jg 0x47f88b
mov edx, dword [esp + 0x14]
mov word [edx + 6], bx
jmp 0x47e06b
mov eax, dword [esp + 0x150]
xor ebp, ebp
mov ebx, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x47df83
cmp dword [esp + 0x28], 0
lea esi, [ebx + 2]
mov edx, edi
mov edi, dword [esp + 0x18]
jbe 0x47df4b
movzx ecx, word [edi]
lea edi, [edi + 2]
movzx eax, word [esi]
lea esi, [esi + 2]
dec edx
cmp cx, ax
jne 0x47df63
test edx, edx
jne 0x47df31
mov eax, dword [esp + 0x38]
cmp ebp, eax
jge 0x47df7f
mov ax, word [ebx]
mov edx, dword [esp + 0x14]
inc word [edx + 4]
mov word [edx + 6], ax
jmp 0x47e06b
mov eax, dword [esp + 0x150]
inc ebp
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x30]
lea ebx, [ebx + eax*2]
mov eax, dword [esp + 0x38]
cmp ebp, eax
jge 0x47df83
jmp 0x47df21
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edx, ebp
mov ebx, dword [esp + 0x18]
shr esi, 3
mov eax, dword [ebp + 0x18]
and esi, 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push 1
push esi
push edi
push ebx
mov dword [esp + 0x4c], 0
call fcn.004798c0
add esp, 0x14
test eax, eax
jg 0x47df52
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x47e003
lea eax, [esp + 0x38]
mov edx, ebp
push eax
push 1
push esi
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.004798c0
add esp, 0x14
test eax, eax
jle 0x47dfc3
mov edx, dword [esp + 0x14]
inc word [edx + 4]
mov word [edx + 6], ax
jmp 0x47e06b
test eax, eax
jg 0x47df52
cmp dword [esp + 0x30], 0
jne 0x47f887
cmp word [ebx], 0x52
jne 0x47e0b4
xor ecx, ecx
lea edx, [ecx + 1]
cmp edi, edx
jle 0x47e055
nop dword [eax]
movzx esi, word [ebx + edx*2]
lea eax, [esi - 0x30]
cmp ax, 9
ja 0x47f887
lea ecx, [ecx + ecx*4]
mov eax, esi
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
cmp edx, edi
jl 0x47e030
test ecx, ecx
jne 0x47e05a
mov ecx, 0xffff
mov edx, dword [esp + 0x14]
mov eax, 0x89
mov word [edx + 4], ax
mov word [edx + 6], cx
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov word [eax], dx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x74], 0
mov edi, dword [eax + 0x54]
mov esi, dword [eax + 0x38]
cmp edx, 0x79
je 0x47ea1b
cmp edx, 0x7a
je 0x47ea1b
xor ecx, ecx
jmp 0x47ea20
cmp edi, 6
jne 0x47e0df
push edi
mov edx, str.DEFINE
mov ecx, ebx
call fcn.0048ac60
add esp, 4
test eax, eax
jne 0x47e0df
mov edx, dword [esp + 0x14]
lea ebx, [edi - 5]
mov eax, 0x8b
mov word [edx + 4], ax
jmp 0x47e06f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x47f5ab
cmp ecx, dword [ebp + 0x3c]
jg 0x47f5ab
mov edx, dword [esp + 0x14]
jmp 0x47e067
inc dword [ebp + 0x48]
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x77
mov edx, 0x77
mov dword [esp + 0x10], eax
jmp 0x47e073
lea eax, [esi + 2]
mov dword [esp + 0x10], eax
cmp word [eax], 0x29
jne 0x47e14b
mov edx, dword [esp + 0x14]
mov eax, 0x97
mov word [edx], ax
add edx, 2
xor ebx, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x47b800
inc dword [ebp + 0x48]
mov edx, 0x78
mov dword [esp + 0x20], edx
jmp 0x47e073
movzx eax, word [esi + 2]
mov edx, eax
cmp edx, 0x21
je 0x47e262
cmp eax, 0x3d
je 0x47e24b
mov ebx, 0xff
cmp ax, bx
ja 0x47f629
mov eax, dword [ebp + 0xc]
test byte [edx + eax], 0x10
je 0x47f629
mov edx, ecx
lea edi, [esi + 2]
cmp dx, 0x3c
mov esi, edi
mov dword [esp + 0x28], edi
mov eax, 0x3e
mov dword [esp + 0x10], esi
mov ebx, 0x27
mov ecx, 0xff
cmove ebx, eax
mov ebp, edi
movzx eax, word [esi]
cmp ax, cx
ja 0x47e1f9
mov ecx, dword [esp + 0x150]
mov edx, eax
mov edi, dword [ecx + 0xc]
mov ecx, ebp
nop dword [eax]
movzx eax, dx
mov ebp, ecx
test byte [eax + edi], 0x10
je 0x47e1f5
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov ebp, esi
mov edx, eax
cmp ax, word [esp + 0xbc]
jbe 0x47e1d0
mov edi, dword [esp + 0x28]
sub ebp, edi
sar ebp, 1
cmp dword [esp + 0x154], 0
mov dword [esp + 0x2c], ebp
je 0x47e3ff
movzx eax, word [esi]
cmp eax, ebx
jne 0x47f841
mov edx, dword [esp + 0x150]
mov ecx, dword [edx + 0x2c]
cmp ecx, 0x2710
jge 0x47f6bc
lea eax, [ebp + 2]
cmp eax, dword [edx + 0x30]
jle 0x47e244
mov dword [edx + 0x30], eax
cmp ebp, 0x20
jg 0x47f81e
mov ebp, edx
jmp 0x47e59f
inc dword [ebp + 0x48]
lea eax, [esi + 4]
mov dword [esp + 0x20], 0x79
mov dword [esp + 0x10], eax
jmp 0x47e06f
inc dword [ebp + 0x48]
lea eax, [esi + 4]
mov dword [esp + 0x20], 0x7a
mov dword [esp + 0x10], eax
jmp 0x47e06f
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x7b
mov dword [esp + 0x10], eax
mov edx, 0x7b
jmp 0x47e073
mov edi, dword [esp + 0x14]
mov eax, 0x70
mov dword [esp + 0x6c], edi
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0xb8], 1
mov word [edi], ax
add edi, 2
mov ecx, dword [esp + 0x10]
lea esi, [ecx + 2]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
mov dword [esp + 0x14], edi
mov dword [esp + 0x64], ecx
cmp eax, 0x30
jb 0x47e304
mov edi, esi
mov edx, eax
cmp dx, 0x39
ja 0x47e2fc
movzx eax, dx
lea ebx, [ebx + ebx*4]
lea esi, [edi + 2]
lea ebx, [ebx - 0x18]
mov dword [esp + 0x10], esi
mov edi, esi
lea ebx, [eax + ebx*2]
movzx eax, word [esi]
mov edx, eax
cmp eax, 0x30
jae 0x47e2d7
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
movzx eax, word [esi]
cmp eax, 0x29
je 0x47e37b
test ax, ax
je 0x47f653
cmp eax, 0x3a
je 0x47e322
xor ebx, ebx
mov esi, ecx
lea ecx, [esi + 2]
mov dword [esp + 0x70], ecx
nop dword [eax]
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x47f653
cmp eax, 0x29
jne 0x47e330
cmp word [esi], bp
je 0x47f653
sub esi, ecx
push 0
sar esi, 1
push esi
push ecx
mov ecx, 0x4d3ee0
call fcn.0041f590
mov ebp, eax
test ebp, ebp
je 0x47f64f
cmp byte [ebp + 0x3d], 0
jne 0x47f64f
mov esi, dword [esp + 0x10]
cmp ebx, 0xff
jg 0x47f676
mov word [edi], bx
xor ebx, ebx
mov dword [edi + 2], ebp
mov ebp, dword [esp + 0x150]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
sub eax, dword [ebp + 0x18]
sar eax, 1
inc eax
mov word [edi + 6], ax
xor eax, eax
mov word [edi + 8], ax
add edi, 0xa
mov esi, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x14], edi
add esi, 2
jmp 0x47b800
lea ecx, [esi + 2]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x3d
je 0x47e3e9
cmp eax, 0x3e
je 0x47e3e9
cmp eax, 0x3c
jne 0x47f699
mov edx, eax
jmp case.0x47dcb6.36
xor edx, edx
mov ebp, 0x29
cmp eax, 0x3e
sete dl
mov dword [esp + 0x30], edx
jmp 0x47ecfc
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x30], ecx
mov ecx, eax
mov ebp, dword [eax + 0x28]
mov ebx, dword [ecx + 0x2c]
test ebx, ebx
jle 0x47e52d
mov eax, dword [esp + 0x2c]
add eax, eax
mov dword [esp + 0x64], eax
nop dword [eax]
mov ecx, edi
lea edx, [ebp + 2]
mov edi, eax
sub edi, 4
jb 0x47e451
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47e456
add ecx, 4
add edx, 4
sub edi, 4
jae 0x47e440
cmp edi, 0xfffffffc
je 0x47e48a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x47e483
cmp edi, 0xfffffffd
je 0x47e48a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x47e483
cmp edi, 0xfffffffe
je 0x47e48a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x47e483
cmp edi, 0xffffffff
je 0x47e48a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x47e48a
sbb eax, eax
or eax, 1
jmp 0x47e48c
xor eax, eax
test eax, eax
jne 0x47e4c7
mov eax, dword [esp + 0x2c]
cmp word [ebp + eax*2 + 2], 0
jne 0x47e4f4
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x38]
movzx eax, word [ebp]
inc ecx
cmp eax, ecx
je 0x47e4bd
test dword [esp + 0x3c], 0x80000
je 0x47f6df
mov dword [esp + 0x38], 1
jmp 0x47e4c9
js 0x47e4f4
mov ecx, dword [esp + 0x150]
mov eax, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x2c]
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, ebx
jge 0x47e526
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
jmp 0x47e430
mov eax, dword [esp + 0x150]
sub ebx, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
imul ebx, eax
lea eax, [eax*2]
add eax, ebp
add ebx, ebx
push ebx
push ebp
push eax
call fcn.0048cfe0
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x150]
cmp dword [esp + 0x38], 0
jne 0x47e568
mov ebx, dword [ecx + 0x2c]
xor edx, edx
mov edi, dword [ecx + 0x28]
test ebx, ebx
jle 0x47e568
nop dword [eax]
cmp edi, ebp
je 0x47e55c
mov ecx, dword [ecx + 0x38]
movzx eax, word [edi]
inc ecx
cmp eax, ecx
je 0x47f702
mov ecx, dword [esp + 0x150]
jmp 0x47e55d
dec edx
mov eax, dword [ecx + 0x30]
inc edx
lea edi, [edi + eax*2]
cmp edx, ebx
jl 0x47e540
mov ax, word [ecx + 0x38]
mov ebx, dword [esp + 0x2c]
inc ax
mov word [ebp], ax
lea eax, [ebx + ebx]
push eax
push dword [esp + 0x2c]
lea eax, [ebp + 2]
push eax
call fcn.0048ea30
add esp, 0xc
xor eax, eax
mov word [ebp + ebx*2 + 2], ax
mov ebp, dword [esp + 0x150]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x2c]
lea eax, [ecx + 1]
add esi, 2
mov dword [ebp + 0x2c], eax
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x14]
mov ebx, 1
inc dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
mov word [edx + 4], ax
jmp 0x47e06f
mov ebp, 0x29
mov dword [esp + 0x30], 1
jmp 0x47ecfc
lea eax, [esi + 2]
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x38], 0x29
jmp 0x47e7fa
test ecx, 0x1000
je 0x47e5ac
mov edx, 0x7d
mov dword [esp + 0x20], edx
jmp 0x47e073
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 0x10]
mov edi, dword [esp + 0x13c]
mov edx, edi
push 0
push dword [esp + 0x40]
mov dword [esp + 0x78], esi
push dword [ebp + 0x38]
call fcn.00478fc0
add esp, 0xc
mov ecx, eax
cmp dword [edi], 0
jne 0x47f400
test ecx, ecx
jns 0x47f25d
mov esi, ecx
neg esi
cmp esi, 0x1a
jne 0x47e693
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x47e67b
cmp word [esi + 4], 0x45
jne 0x47e67b
mov ebx, dword [esp + 0x18]
add esi, 4
mov edx, dword [esp + 0x14]
add esi, 2
jmp 0x47b800
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], 1
jmp 0x47b800
cmp esi, 0x19
je 0x47dc70
mov edx, dword [esp + 0x40]
cmp edx, 0xfffffffe
jne 0x47e6b7
lea eax, [esi - 6]
cmp eax, 0x10
mov eax, 0xffffffff
cmovbe edx, eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], eax
cmp esi, 0x1b
jne 0x47ec9a
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x24]
add esi, 2
mov dword [esp + 0x10], esi
lea edx, [esi + 2]
mov dword [esp + 0x54], eax
mov ebp, 0x27
mov eax, 0x3e
mov dword [esp + 0x1c], edx
cmp word [esi], 0x3c
cmove ebp, eax
movzx eax, word [edx]
mov dword [esp + 0x38], ebp
cmp eax, 0x2b
je 0x47e7a6
cmp eax, 0x2d
je 0x47e7a6
movzx eax, word [esi + 2]
lea ebx, [esi + 2]
mov edi, 1
mov ecx, eax
test ax, ax
je 0x47e76a
movzx edx, cx
cmp edx, ebp
je 0x47e766
mov eax, 0xff
cmp cx, ax
ja 0x47e764
mov eax, dword [esp + 0x150]
mov eax, dword [eax + 0xc]
mov cl, byte [edx + eax]
mov eax, 0
test cl, 4
cmovne eax, edi
mov edi, eax
mov edx, edi
test cl, 0x10
je 0x47e766
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x47e722
jmp 0x47e766
xor edi, edi
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx]
cmp eax, ebp
je 0x47e795
mov eax, dword [esp + 0x13c]
mov dword [eax], 0x39
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esi, 2
mov ebp, dword [esp + 0x150]
jmp 0x47b800
test edi, edi
je 0x47e5c9
mov edi, dword [esp + 0x13c]
jmp 0x47e7f4
movzx eax, word [esi + 4]
lea ecx, [esi + 4]
mov edx, eax
cmp eax, 0x30
jb 0x47e7c8
cmp dx, 0x39
ja 0x47e7c8
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
cmp eax, 0x30
jae 0x47e7b4
movzx eax, word [ecx]
cmp eax, ebp
je 0x47e7ec
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x150]
mov dword [edi], 0x39
jmp 0x47b800
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov esi, edx
mov dword [esp + 0x10], esi
movzx ebx, word [esi]
mov ebp, ebx
cmp ebx, 0x2b
jne 0x47e899
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x30
jb 0x47f725
cmp eax, 0x39
ja 0x47f725
mov dword [esp + 0x1c], esi
movzx eax, word [esi]
xor edi, edi
cmp eax, 0x30
jb 0x47e85f
mov edx, eax
cmp dx, 0x39
ja 0x47e85f
mov esi, dword [esp + 0x1c]
lea edi, [edi + edi*4]
movzx eax, dx
lea edi, [edi - 0x18]
add esi, 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], esi
lea edi, [eax + edi*2]
movzx eax, word [esi]
mov edx, eax
cmp eax, 0x30
jae 0x47e834
movzx eax, word [esi]
cmp eax, dword [esp + 0x38]
jne 0x47f7fb
cmp ebx, 0x2d
jne 0x47ec7a
test edi, edi
je 0x47f7d8
mov ebp, dword [esp + 0x150]
mov eax, dword [ebp + 0x38]
sub eax, edi
lea edi, [eax + 1]
test edi, edi
jle 0x47f88b
jmp 0x47efb5
cmp ebx, 0x2d
jne 0x47e828
movzx eax, word [esi + 2]
mov edi, edx
mov edx, ebx
cmp eax, 0x30
jb case.0x47dcb6.47
mov ecx, dword [esp + 0x1c]
mov edi, ecx
cmp eax, 0x39
ja case.0x47dcb6.47
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
jmp 0x47e824
xor eax, eax
lea ecx, [esp + 0x38]
xor ebp, ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ebp
cmp dx, 0x29
je 0x47e961
mov ebx, edi
nop
mov edi, ebx
cmp dx, 0x3a
je 0x47e959
movzx eax, dx
lea esi, [ebx + 2]
sub eax, 0x2d
mov dword [esp + 0x10], esi
cmp eax, 0x4b
ja case.0x47e909.46
movzx eax, byte [eax + 0x47fbac]
jmp dword [eax*4 + 0x47fb88]
lea ecx, [esp + 0x5c]
jmp 0x47e94b
mov eax, dword [esp + 0x150]
or dword [ecx], 0x80000
or dword [eax + 0x50], 0x400
jmp 0x47e94b
or dword [ecx], 1
jmp 0x47e94b
or dword [ecx], 2
jmp 0x47e94b
or dword [ecx], 4
jmp 0x47e94b
or dword [ecx], 8
jmp 0x47e94b
or dword [ecx], 0x200
jmp 0x47e94b
or dword [ecx], 0x40
movzx eax, word [esi]
mov edi, esi
mov ebx, esi
mov edx, eax
cmp eax, 0x29
jne 0x47e8e0
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x5c]
or ebp, dword [esp + 0x3c]
not eax
and ebp, eax
cmp word [esi], 0x29
jne 0x47e9fa
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
add eax, 4
cmp edx, eax
jne 0x47e9b8
mov eax, dword [esp + 0x154]
test eax, eax
je 0x47e998
cmp dword [eax], 4
jne 0x47e9b8
mov eax, dword [esp + 0xd8]
xor ebx, ebx
mov dword [ecx + 0x4c], ebp
add esi, 2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], ebx
mov dword [eax], ebp
mov ebp, ecx
jmp 0x47b800
mov eax, ebp
mov dword [esp + 0x3c], ebp
shr eax, 9
xor ebx, ebx
and eax, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc4], eax
xor eax, 1
mov dword [esp + 0xc8], eax
mov eax, ebp
and eax, 1
shl eax, 0x1c
add esi, 2
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xd8]
mov dword [eax], ebp
mov ebp, ecx
jmp 0x47b800
xor ebx, ebx
mov dword [esp + 0x20], 0x7d
lea eax, [edi + 2]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x10], eax
lea edx, [ebx + 0x7d]
jmp 0x47e077
mov ecx, 1
cmp dword [esp + 0x154], 0
lea eax, [esp + 0x74]
mov dword [esp + 0x64], 0
cmove eax, dword [esp + 0x64]
push eax
push dword [esp + 0x154]
lea eax, [esp + 0xa4]
push dword [esp + 0x150]
push eax
lea eax, [esp + 0xb0]
push eax
xor eax, eax
cmp edx, 0x81
lea edx, [esp + 0x5c]
sete al
add eax, dword [esp + 0x160]
push eax
push ebx
push dword [esp + 0x78]
lea eax, [esp + 0x30]
push ecx
push dword [esp + 0x160]
mov ecx, ebp
push eax
call fcn.0047fc00
add esp, 0x2c
test eax, eax
je 0x47f400
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x150]
cmp ebx, 0x7b
jne 0x47eb34
cmp dword [ebp + 0x38], esi
jg 0x47eab8
mov eax, dword [esp + 0x14]
mov ecx, 0x7c
mov word [eax], cx
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x10]
cmp word [esi], 0x29
jne 0x47f7b5
mov edx, dword [esp + 0x154]
test edx, edx
je 0x47ebb9
mov edi, dword [esp + 0x74]
mov ecx, 0x7fffffeb
mov edx, dword [edx]
sub ecx, edx
lea eax, [edi - 4]
cmp ecx, eax
jl 0x47f90f
mov ecx, dword [esp + 0x154]
lea eax, [edi - 4]
add eax, edx
mov edx, dword [esp + 0x14]
mov dword [ecx], eax
mov ecx, 2
mov dword [edx + 2], 0x720002
mov word [edx + 6], cx
add edx, 8
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x18]
add esi, 2
jmp 0x47b800
cmp ebx, 0x7a
ja 0x47eb3c
dec dword [ebp + 0x48]
cmp ebx, 0x81
jne 0x47eab8
cmp dword [esp + 0x154], 0
jne 0x47eab8
mov ecx, dword [esp + 0x14]
xor edx, edx
nop dword [eax]
movzx eax, word [ecx + 2]
mov esi, edx
lea ecx, [ecx + eax*2]
inc edx
cmp word [ecx], 0x72
jne 0x47eb60
mov eax, dword [esp + 0x14]
mov ecx, 0x8b
cmp word [eax + 4], cx
jne 0x47eb8f
cmp esi, 1
jge 0x47f767
mov ebx, ecx
jmp 0x47eab8
cmp esi, 2
jge 0x47f78e
cmp edx, 1
jne 0x47eab8
or eax, 0xffffffff
or ecx, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jmp 0x47eac6
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
cmp ebx, 0x8b
je 0x47eb28
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x60], ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x150]
mov dword [esp + 0xa4], 0
cmp ebx, 0x7b
jb 0x47ec59
cmp dword [esp + 0x40], 0xfffffffe
jne 0x47ec2e
test ecx, ecx
js 0x47ec1c
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa4], 1
mov dword [esp + 0x4c], 0xffffffff
jmp 0x47ec41
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
jmp 0x47ec41
test ecx, ecx
js 0x47ec41
test eax, eax
jns 0x47ec49
mov eax, ecx
or eax, edi
mov dword [esp + 0x9c], eax
test eax, eax
js 0x47eb28
mov ebx, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0x58], eax
jmp 0x47b800
cmp ebx, 0x77
jne 0x47eb28
test eax, eax
js 0x47eb28
mov ebx, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0x58], eax
jmp 0x47b800
cmp ebp, 0x2b
jne 0x47efae
test edi, edi
je 0x47f7d8
mov ebp, dword [esp + 0x150]
add edi, dword [ebp + 0x38]
jmp 0x47efb5
cmp esi, 0x1c
jne 0x47f162
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 2]
cmp eax, 0x3c
je 0x47ecd0
cmp eax, 0x27
je 0x47ecd0
cmp eax, 0x7b
je 0x47ecd0
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov dword [edi], 0x45
jmp 0x47b800
add esi, 2
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x3c
jne 0x47ecec
lea ebp, [eax + 2]
jmp 0x47ecfc
cmp eax, 0x27
mov ebp, 0x7d
mov eax, 0x27
cmove ebp, eax
add esi, 2
mov ecx, 0xff
mov dword [esp + 0x10], esi
mov edi, esi
mov dword [esp + 0x2c], edi
mov ebx, edi
movzx eax, word [esi]
cmp ax, cx
ja 0x47ed4f
mov ecx, dword [esp + 0x150]
mov edx, eax
mov edi, dword [ecx + 0xc]
mov ecx, esi
movzx eax, dx
mov ebx, ecx
test byte [eax + edi], 0x10
je 0x47ed4b
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
mov ecx, esi
movzx eax, word [esi]
mov ebx, esi
mov edx, eax
cmp ax, word [esp + 0xbc]
jbe 0x47ed26
mov edi, dword [esp + 0x2c]
sub ebx, edi
sar ebx, 1
cmp dword [esp + 0x154], 0
je 0x47ee19
test ebx, ebx
je 0x47f864
movzx eax, word [esi]
cmp eax, ebp
jne 0x47f841
cmp ebx, 0x20
jg 0x47f81e
mov ecx, dword [esp + 0x150]
mov edx, ecx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x38], 0
mov edi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x1c], esi
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
shr esi, 3
push 1
and esi, 1
mov dword [esp + 0x6c], edi
push esi
push ebx
push ebp
call fcn.004798c0
add esp, 0x14
test eax, eax
jg 0x47ee03
mov edi, dword [esp + 0x150]
nop
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x47edff
lea eax, [esp + 0x38]
mov edx, edi
push eax
push 1
push esi
push ebx
push ebp
lea ecx, [esp + 0x3c]
call fcn.004798c0
add esp, 0x14
test eax, eax
jle 0x47edd0
mov edi, dword [esp + 0x64]
mov ebp, dword [esp + 0x150]
mov dword [ebp + 0x1c], edi
xor edi, edi
test eax, eax
cmovns edi, eax
jmp 0x47ef20
mov ecx, dword [esp + 0x150]
xor eax, eax
mov dword [esp + 0x5c], eax
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x38], ecx
test ecx, ecx
jle 0x47eea2
lea esi, [ebp + 2]
mov edx, ebx
test ebx, ebx
je 0x47ee5f
movzx ecx, word [edi]
lea edi, [edi + 2]
movzx eax, word [esi]
lea esi, [esi + 2]
dec edx
cmp cx, ax
jne 0x47ee7b
test edx, edx
jne 0x47ee41
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
cmp word [ebp + ebx*2 + 2], 0
jne 0x47ee7f
cmp eax, ecx
jge 0x47ee9e
movzx edi, word [ebp]
mov ebp, dword [esp + 0x150]
jmp 0x47ef20
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x150]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, ecx
jl 0x47ee38
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x150]
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edx, ebp
shr esi, 3
and esi, 1
mov dword [esp + 0x38], 0
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
push 1
push esi
push ebx
push edi
call fcn.004798c0
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x47ef20
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x47ef18
lea eax, [esp + 0x38]
mov edx, ebp
push eax
push 1
push esi
push ebx
push dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
call fcn.004798c0
mov edi, eax
add esp, 0x14
test edi, edi
jle 0x47eee4
test edi, edi
jle 0x47f887
cmp dword [esp + 0x30], 0
jne 0x47efb5
mov edx, dword [esp + 0x40]
cmp edx, 0xfffffffe
mov eax, 0xffffffff
mov esi, 1
mov ecx, edi
cmove edx, eax
test byte [esp + 0x3c], 1
mov dword [esp + 0x40], edx
mov eax, 0
mov edx, dword [esp + 0x14]
setne al
add eax, 0x6d
mov ebx, edx
mov dword [esp + 0x18], ebx
mov word [edx], ax
mov eax, esi
mov word [edx + 2], di
add edx, 4
shl eax, cl
cmp edi, 0x20
mov dword [esp + 0x14], edx
cmovge eax, esi
or dword [ebp + 0x44], eax
cmp edi, dword [ebp + 0x40]
jle 0x47ef82
mov dword [ebp + 0x40], edi
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x47e13f
nop dword [eax]
movzx eax, word [ecx + 4]
cmp eax, edi
je 0x47f173
mov ecx, dword [ecx]
test ecx, ecx
jne 0x47ef90
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x47b800
mov ebp, dword [esp + 0x150]
cmp dword [esp + 0x154], 0
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
jne 0x47f116
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x47efe8
lea edx, [ecx + 1]
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0047a1b0
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0x47f0a7
mov eax, dword [ebp + 0x18]
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov edx, ebp
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
shr esi, 3
push 1
and esi, 1
mov dword [esp + 0x40], ebx
push esi
push edi
push ebx
call fcn.004798c0
add esp, 0x14
test eax, eax
jg 0x47f053
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x47f051
lea eax, [esp + 0x38]
mov edx, ebp
push eax
push 1
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.004798c0
add esp, 0x14
test eax, eax
jle 0x47f021
test eax, eax
js 0x47f887
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x34]
lea ebx, [eax + edi*2]
mov eax, dword [ebp + 0x10]
lea eax, [eax + ecx*2]
add eax, 0xffffff38
cmp dword [ebp + 0x24], eax
jb 0x47f08a
mov ecx, ebp
call fcn.00478e90
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x47f400
mov edi, dword [esp + 0x14]
mov ecx, edi
sub ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x24]
add ecx, 2
sar ecx, 1
mov word [eax], cx
add dword [ebp + 0x24], 2
jmp 0x47f11a
cmp word [ebx + 2], 0
jne 0x47f116
cmp dword [esp + 0x14c], 0
jg 0x47f116
mov eax, dword [esp + 0x148]
mov esi, eax
test eax, eax
je 0x47f0ef
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
cmp ecx, ebx
jb 0x47f0ef
push ebp
push 1
mov edx, edi
call fcn.0047a340
add esp, 8
test eax, eax
je 0x47f11a
mov esi, dword [esi]
test esi, esi
jne 0x47f0d1
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x28
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov edi, dword [esp + 0x14]
mov eax, 0x6f
mov dword [esp + 0xa4], 0
mov word [edi], ax
sub ebx, dword [ebp + 0x14]
sar ebx, 1
mov word [edi + 2], bx
add edi, 4
cmp dword [esp + 0x40], 0xfffffffe
mov edx, edi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jne 0x47e13f
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
add esi, 2
jmp 0x47b800
cmp esi, 0x23
jl 0x47f183
mov edi, 0xffffffdd
sub edi, ecx
jmp 0x47ef2f
mov word [ecx + 6], si
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x47b800
cmp esi, 0xf
je 0x47f1f0
cmp esi, 0x10
je 0x47f1f0
mov edx, dword [esp + 0x14]
lea eax, [esi - 0x1d]
cmp eax, 5
ja 0x47f1cb
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x68], eax
lea eax, [ecx*4 + 0x74]
mov ecx, 0x4ac928
sub ecx, eax
mov esi, dword [ecx]
sub esi, 2
add esi, 2
jmp 0x47b800
mov word [edx], si
lea eax, [esi - 6]
mov esi, dword [esp + 0x10]
add edx, 2
xor ecx, ecx
mov dword [esp + 0x14], edx
cmp eax, 0x10
cmova ebx, ecx
add esi, 2
mov dword [esp + 0x18], ebx
jmp 0x47b800
lea eax, [esp + 0xe0]
push edi
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x18]
call fcn.004796a0
add esp, 8
test eax, eax
js 0x47f400
mov edi, dword [esp + 0x14]
xor ecx, ecx
cmp esi, 0x10
mov ebx, edi
mov dword [esp + 0x18], ebx
sete cl
xor edx, edx
cmp ecx, dword [esp + 0xdc]
setne dl
add edx, 0xf
mov word [edi], dx
mov edx, edi
mov word [edx + 2], ax
mov ax, word [esp + 0xe0]
mov word [edx + 4], ax
add edx, 6
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edx
add esi, 2
jmp 0x47b800
cmp ecx, 0xffff
jle 0x47f278
lea edx, [esp + 0xe8]
call fcn.0048aca0
mov edx, eax
jmp 0x47f2d9
mov word [esp + 0xe8], cx
mov edx, 1
jmp 0x47f2d9
mov ebp, dword [esp + 0x150]
mov word [esp + 0xe8], di
mov edx, 1
and edi, 0xfc00
cmp edi, 0xd800
jne 0x47f2d9
mov ax, word [esi + 2]
add esi, 2
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x47f2d9
mov dword [esp + 0x10], esi
mov edx, 2
mov ax, word [esi]
mov word [esp + 0xea], ax
mov edi, dword [esp + 0x14]
mov eax, 0
test byte [esp + 0x3c], 1
mov ebx, edi
mov dword [esp + 0x18], ebx
setne al
xor ecx, ecx
add eax, 0x1d
mov word [edi], ax
add edi, 2
mov dword [esp + 0x14], edi
test edx, edx
jle 0x47f31a
mov ax, word [esp + ecx*2 + 0xe8]
inc ecx
mov word [edi], ax
add edi, 2
cmp ecx, edx
jl 0x47f303
mov dword [esp + 0x14], edi
mov ax, word [esp + 0xe8]
cmp ax, 0xd
je 0x47f32e
cmp ax, 0xa
jne 0x47f335
or dword [ebp + 0x50], 0x800
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffe
jne 0x47f3ac
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], 0xffffffff
cmp edx, 1
je 0x47f37f
test ecx, ecx
je 0x47f37f
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
jmp 0x47b800
movzx eax, ax
or eax, ecx
cmp edx, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
je 0x47e13f
movzx eax, word [edi - 2]
or eax, dword [ebp + 0x54]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x58], eax
add esi, 2
jmp 0x47b800
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], eax
cmp edx, 1
je 0x47f3d4
cmp dword [esp + 0x78], 0
je 0x47f3d4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 2
jmp 0x47b800
movzx eax, word [edi - 2]
or eax, dword [ebp + 0x54]
or eax, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x58], eax
jmp 0x47b800
mov eax, dword [esp + 0x13c]
mov dword [eax], 0x1e
mov edi, dword [esp + 0x138]
xor eax, eax
mov esi, dword [esp + 0x10]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x1f
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 7
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x47
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 8
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 6
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
cmp word [esi + 2], 0x3a
mov ecx, 0xd
mov edi, dword [esp + 0x138]
mov eax, 0x1f
cmove eax, ecx
mov ecx, dword [esp + 0x13c]
mov dword [edi], esi
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov dword [edi], 9
xor eax, eax
mov edi, dword [esp + 0x138]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x42
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x3b
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x3c
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x12
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov edi, dword [esp + 0x138]
test ecx, ecx
mov ecx, dword [esp + 0x13c]
mov eax, 0xf
mov esi, dword [esp + 0x10]
mov edx, 0x23
cmove eax, edx
mov dword [edi], esi
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
add esi, 0xfffffffe
mov edi, dword [esp + 0x138]
mov dword [eax], 0x1a
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
add esi, 2
mov edi, dword [esp + 0x138]
mov dword [eax], 0x1c
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
add esi, 2
mov edi, dword [esp + 0x138]
mov dword [eax], 0x18
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x27
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x26
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x29
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x31
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x2b
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x41
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov dword [edi], 0x3f
xor eax, eax
mov edi, dword [esp + 0x138]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
add esi, 0xfffffffe
mov edi, dword [esp + 0x138]
mov dword [eax], 0xc
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x36
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov esi, dword [esp + 0x10]
mov dword [eax], 0x1b
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0xe
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x3a
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x1d
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x30
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x2a
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0x3e
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x13c]
mov edi, dword [esp + 0x138]
mov dword [eax], 0xf
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x138]
mov dword [eax], ecx
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x58]
mov dword [edi], esi
mov dword [eax], ecx
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x154]
mov dword [eax], edx
test ecx, ecx
je 0x47f8ff
sub edx, dword [esp + 0xa8]
mov ebx, 0x7fffffeb
mov eax, dword [ecx]
sub ebx, eax
sar edx, 1
cmp ebx, edx
jl 0x47f916
add eax, edx
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov edi, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov dword [edi], esi
mov dword [eax], 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret
mov eax, dword [esp + 0x13c]
mov dword [eax], 0x34
mov edi, dword [esp + 0x138]
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret