Function at 0x49ceb0
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 [0x4ee918]
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 0x49cfc0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x49cfc0
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 0x49d096
cmp edx, eax
ja 0x4a10d2
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 0x4a10af
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x154]
mov dword [ecx], eax
test ebx, ebx
je 0x49d075
cmp ebx, dword [esp + 0xb0]
jbe 0x49d089
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xb0]
sub eax, ebx
and eax, 0xfffffffe
push eax
push ebx
push esi
call fcn.004ad510
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 0x49d09f
mov edx, dword [esp + 0xb0]
mov dword [esp + 0x14], edx
mov dword [esp + 0xa8], edx
jmp 0x49d09f
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], edx
jmp 0x49d09f
cmp dword [ebp + 0x24], eax
ja 0x4a10d2
cmp dword [esp + 0x34], 0
je 0x49d11c
test edi, edi
je 0x49d11c
cmp edi, 0x5c
jne 0x49d0c9
cmp word [esi + 2], 0x45
jne 0x49d0c9
add esi, 2
mov dword [esp + 0x34], 0
add esi, 2
jmp 0x49cfa0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x49d0ee
test ecx, ecx
jne 0x49d0e6
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 0x4a0a31
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], edx
mov edx, esi
push ebp
call fcn.0049c170
mov esi, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x4a0a31
cmp edi, 0x2a
je 0x49d186
cmp edi, 0x2b
je 0x49d186
cmp edi, 0x3f
je 0x49d186
cmp edi, 0x7b
jne 0x49d140
lea ecx, [esi + 2]
call fcn.0049a6c0
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x49d186
mov edx, dword [esp + 0x6c]
xor ebp, ebp
test edx, edx
je 0x49d18b
mov ecx, dword [esp + 0xb8]
mov eax, ecx
dec ecx
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x150]
test eax, eax
jg 0x49d192
cmp dword [esp + 0x154], ebp
jne 0x49d180
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 0x49d192
mov ebp, 1
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x3c]
test dl, 8
je 0x49d227
mov eax, 0xff
cmp word [esi], ax
ja 0x49d1b6
mov eax, dword [ecx + 0xc]
test byte [edi + eax], 1
jne 0x49ff22
cmp edi, 0x23
jne 0x49d227
add esi, 2
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x49d225
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 0x49d25c
cmp edi, ecx
jae 0x49d284
lea edi, [eax + 0x64]
push 1
push edi
push ecx
mov ecx, esi
call fcn.004ab580
mov esi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x49d284
mov edx, dword [edi]
lea esi, [esi + edx*2]
add esi, 0xfffffffe
mov dword [esp + 0x10], esi
cmp word [esi], 0
jne 0x49ff1e
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x150]
xor edi, edi
test edx, 0x4000
je 0x49d2bc
test ebp, ebp
jne 0x49d2bc
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
mov ecx, eax
mov dword [esp + 0x70], eax
call fcn.0049c170
mov esi, dword [esp + 0x14]
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x49d2c0
mov edx, dword [eax + 0x64]
lea eax, [edx + edx]
sub ecx, eax
cmp edi, ecx
ja 0x49d284
mov ecx, dword [esp + 0x150]
cmp bx, word [ecx + 0x68]
jne 0x49d284
cmp edx, 1
je 0x49d206
mov ax, word [esi + 2]
cmp ax, word [ecx + 0x6a]
je 0x49d206
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 0x49d2ab
lea esi, [edi + 2]
mov dword [esp + 0x10], esi
mov edi, esi
movzx eax, word [esi]
test ax, ax
je 0x49d21a
jmp 0x49d1cc
mov edx, dword [esp + 0x14]
mov ebx, edx
mov dword [esp + 0x64], ebx
cmp edi, 0x7c
ja case.0x49d2d6.1
movzx eax, byte [edi + 0x4a112c]
jmp dword [eax*4 + 0x4a10f8]
xor ebx, ebx
test byte [esp + 0x3c], 2
mov dword [esp + 0x18], ebx
je 0x49d31f
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 0x49cfa0
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 0x49cfa0
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 0x49cfa0
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 0x49cfa0
mov ebp, dword [esp + 0x150]
test dword [ebp + 0x4c], 0x2000000
je 0x4a0a31
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 0x49d410
cmp eax, 0x2e
je 0x49d410
cmp eax, 0x3d
jne 0x49d427
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.0049bea0
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x4a0c66
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 0x49d475
cmp word [esi + 2], 0x45
lea ecx, [esi + 2]
jne 0x49d455
mov esi, ecx
mov ecx, dword [esp + 0x30]
jmp 0x49d430
push 3
mov edx, 0x4ee7e8
call fcn.004ab4e0
mov esi, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x49d4df
mov ecx, dword [esp + 0x30]
add esi, 6
jmp 0x49d430
test ecx, ecx
jne 0x49d483
cmp eax, 0x5e
jne 0x49d483
lea ecx, [eax - 0x5d]
jmp 0x49d429
cmp eax, 0x5d
jne 0x49d4df
mov eax, dword [esp + 0x150]
test dword [eax + 0x4c], 0x2000000
je 0x49d4df
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 0x49cfa0
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 0x49e186
mov eax, ebp
mov dword [esp + 0x5c], edx
and eax, 0xfc00
mov dword [esp + 0x28], ecx
mov edi, ecx
cmp eax, 0xd800
jne 0x49d56b
movzx ebp, word [esi]
mov eax, ebp
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49d56b
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 0x49d590
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 0x49d5b9
cmp ebp, 0x5c
jne 0x49d807
cmp word [esi + 2], 0x45
jne 0x49d807
xor edi, edi
add esi, 2
mov dword [esp + 0x34], edi
jmp 0x49d68e
cmp ebp, 0x5b
jne 0x49d7bf
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x49d5d9
cmp eax, 0x2e
je 0x49d5d9
cmp eax, 0x3d
jne 0x49d807
lea edx, [esp + 0x70]
mov ecx, esi
call fcn.0049bea0
test eax, eax
je 0x49d803
mov esi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x150]
cmp word [esi + 2], 0x3a
mov edi, dword [eax + 8]
jne 0x4a0bba
lea ecx, [esi + 4]
mov dword [esp + 0x10], ecx
mov eax, ecx
cmp word [ecx], 0x5e
jne 0x49d628
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.0049bf40
mov ecx, eax
test ecx, ecx
js 0x4a0b93
mov eax, dword [esp + 0x3c]
test al, 1
je 0x49d64f
xor edx, edx
cmp ecx, 2
cmovle ecx, edx
test eax, 0x20000000
je 0x49d6d8
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xe
add eax, ecx
mov esi, dword [eax*4 + 0x4d14d0]
test esi, esi
je 0x49d6d8
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 0x49d6be
test eax, eax
je 0x49e182
lea esi, [eax + 2]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x10], esi
movzx ebp, word [esi]
test ebp, ebp
je 0x49e182
cmp ebp, 0x5d
jne 0x49d521
test edi, edi
jne 0x49d521
mov eax, dword [esp + 0x4c]
jmp 0x49e18e
lea ecx, [ecx + ecx*2]
mov eax, dword [ecx*4 + 0x4d2270]
mov esi, dword [ecx*4 + 0x4d2278]
movups xmm0, xmmword [eax + edi]
movups xmmword [esp + 0x104], xmm0
movups xmm0, xmmword [eax + edi + 0x10]
mov eax, dword [ecx*4 + 0x4d2274]
movups xmmword [esp + 0x114], xmm0
test eax, eax
js 0x49d744
xor ecx, ecx
lea edx, [eax + edi]
test esi, esi
js 0x49d732
nop word [eax + eax]
mov al, byte [edx + ecx]
or byte [esp + ecx + 0x104], al
inc ecx
cmp ecx, 0x20
jl 0x49d720
jmp 0x49d744
mov al, byte [edx + ecx]
not al
and byte [esp + ecx + 0x104], al
inc ecx
cmp ecx, 0x20
jl 0x49d732
mov eax, esi
neg eax
test esi, esi
cmovns eax, esi
cmp eax, 1
jne 0x49d75c
and byte [esp + 0x105], 0xc3
jmp 0x49d769
cmp eax, 2
jne 0x49d769
and byte [esp + 0x10f], 0x7f
xor ecx, ecx
test ebx, ebx
je 0x49d790
nop
mov al, byte [esp + ecx + 0x104]
not al
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x49d770
jmp 0x49d7a1
mov al, byte [esp + ecx + 0x104]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x49d790
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 0x49d686
cmp ebp, 0x5c
jne 0x49d807
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.0049a760
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x13c]
cmp dword [eax], 0
jne 0x4a0ba0
cmp ebp, 0xfffffffb
jne 0x49d850
mov ebp, 8
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x49d82d
nop
cmp word [esi + 4], 0x45
jne 0x49d82d
add esi, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], esi
cmp word [esi + 2], 0x5c
je 0x49d810
mov ebx, esi
cmp ebp, 0xd
je 0x49d83d
cmp ebp, 0xa
jne 0x49dc33
mov edx, dword [esp + 0x150]
or dword [edx + 0x50], 0x800
jmp 0x49dc3a
cmp ebp, 0xfffffff4
je 0x4a0c00
cmp ebp, 0xffffffe6
jne 0x49d896
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x49d880
cmp word [esi + 4], 0x45
jne 0x49d880
mov ecx, dword [esp + 0x24]
add esi, 4
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
mov ecx, dword [esp + 0x24]
mov edi, 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], edi
jmp 0x49d68e
cmp ebp, 0xffffffe7
je 0x49e0c0
test ebp, ebp
jns 0x49d803
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.0x49d8cf.6
movzx eax, byte [eax + 0x4a11e0]
jmp dword [eax*4 + 0x4a11ac]
mov eax, dword [esp + 0x10]
mov ecx, 0x4d14b8
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 0x49d68a
xor ecx, ecx
mov al, byte [edx + ecx + 0x40]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x49d902
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
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 0x49d930
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
xor ecx, ecx
mov al, byte [edx + ecx + 0xa0]
or byte [esp + ecx + 0x7c], al
inc ecx
cmp ecx, 0x20
jl 0x49d953
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
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 0x49d980
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
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 0x49d9c0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
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 0x49d9f0
or byte [esp + 0x7d], 8
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
jmp 0x49d68a
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 0x49d68a
xor edx, edx
nop
mov eax, edx
mov ecx, 0xff
sub eax, 1
je 0x49da9d
sub eax, 3
je 0x49da96
sub eax, 0x10
jne 0x49daa2
mov ecx, 0xfe
jmp 0x49daa2
mov ecx, 0xfd
or byte [esp + edx + 0x7c], cl
inc edx
cmp edx, 0x20
jl 0x49da80
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.004ab520
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 0x49d68a
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 0x49d68a
xor ecx, ecx
nop dword [eax + eax]
mov eax, ecx
mov edx, 0xff
sub eax, 1
je 0x49db78
sub eax, 0xf
jne 0x49db7d
mov edx, 0xdf
jmp 0x49db7d
mov edx, 0xc3
or byte [esp + ecx + 0x7c], dl
inc ecx
cmp ecx, 0x20
jl 0x49db60
mov dword [ebx], 0x1000002
mov eax, 0x202a
mov dword [ebx + 4], 0x22027
mov word [ebx + 8], ax
add ebx, 0xa
jmp 0x49daf4
push dword [esp + 0x13c]
lea eax, [esp + 0xd4]
push eax
lea edx, [esp + 0xd4]
lea ecx, [esp + 0x18]
call fcn.0049ae40
add esp, 8
test eax, eax
js 0x4a0ba0
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 0x49d68a
test byte [esp + 0x3c], 0x40
mov esi, dword [esp + 0x10]
jne 0x4a0bdd
movzx ebp, word [esi]
jmp 0x49d807
mov edx, dword [esp + 0x150]
mov edi, dword [esp + 0x34]
test edi, edi
jne 0x49df43
cmp word [esi + 2], 0x2d
jne 0x49df43
lea esi, [ebx + 4]
mov dword [esp + 0x10], esi
mov ecx, esi
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x49dcc3
cmp word [esi + 2], 0x45
jne 0x49dc7a
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, esi
cmp word [esi], 0x5c
je 0x49dc64
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x49dcc3
cmp word [esi + 2], 0x51
jne 0x49dcc3
lea esi, [ecx + 4]
mov dword [esp + 0x10], esi
cmp word [esi], 0x5c
mov dword [esp + 0x60], esi
jne 0x49dcb8
cmp word [esi + 2], 0x45
jne 0x49dcb8
add esi, 4
mov dword [esp + 0x10], esi
mov ecx, esi
mov dword [esp + 0x60], esi
cmp word [esi], 0x5c
je 0x49dc84
jmp 0x49dcc1
mov edi, 1
mov dword [esp + 0x34], edi
mov ecx, esi
movzx eax, word [esi]
test ax, ax
je 0x49df3d
test edi, edi
jne 0x49dcdc
cmp eax, 0x5d
je 0x49df3d
mov edi, eax
and eax, 0xfc00
cmp eax, 0xd800
jne 0x49dd0f
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 0x49dd5e
cmp edi, 0x5c
jne 0x49dd5e
mov esi, dword [esp + 0x13c]
lea ecx, [esp + 0x10]
push 1
push dword [esp + 0x40]
push dword [edx + 0x38]
mov edx, esi
call fcn.0049a760
add esp, 0xc
mov edi, eax
cmp dword [esi], 0
jne 0x4a0ba0
test edi, edi
jns 0x49dd56
cmp edi, 0xfffffffb
jne 0x49df3d
mov edi, 8
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], esi
cmp edi, ebp
jl 0x4a0c20
je 0x49df43
cmp edi, 0xd
je 0x49dd76
cmp edi, 0xa
jne 0x49dd84
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 0x49de1a
mov ebx, eax
and ebx, 1
je 0x49dda9
cmp edi, 0x7f
jg 0x49de1a
cmp dword [esp + 0x154], 0
mov ecx, 1
mov dword [esp + 0x24], ecx
jne 0x49d686
cmp ebp, edi
jg 0x49d686
mov esi, dword [esp + 0x150]
nop
mov edx, ebp
test edx, edx
jns 0x49ddd9
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 0x49de0c
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 0x49ddd0
mov esi, dword [esp + 0x60]
jmp 0x49d67e
mov dword [esp + 0x4c], 1
test al, 1
je 0x49defe
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.0049c1a0
add esp, 8
test eax, eax
je 0x49defe
nop dword [eax]
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
cmp edx, ebp
jb 0x49de78
cmp ecx, edi
jbe 0x49ded5
jmp 0x49de87
lea eax, [ebp - 1]
cmp ecx, eax
jb 0x49de83
mov ebp, edx
jmp 0x49ded5
cmp ecx, edi
jbe 0x49de92
lea eax, [edi + 1]
cmp edx, eax
ja 0x49de92
mov edi, ecx
jmp 0x49ded5
mov eax, dword [esp + 0x20]
lea esi, [eax + 2]
cmp edx, ecx
jne 0x49dea7
mov ecx, 1
mov word [eax], cx
jmp 0x49dec0
mov ecx, 2
mov edx, esi
mov word [eax], cx
mov ecx, dword [esp + 0xb4]
call fcn.004ab520
lea esi, [esi + eax*2]
mov ecx, dword [esp + 0xac]
mov edx, esi
call fcn.004ab520
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.0049c1a0
add esp, 8
test eax, eax
jne 0x49de60
mov ebx, dword [esp + 0x20]
mov eax, 2
mov ecx, ebp
mov word [ebx], ax
add ebx, eax
mov edx, ebx
call fcn.004ab520
mov ecx, edi
lea esi, [ebx + eax*2]
mov edx, esi
call fcn.004ab520
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 0x49d68a
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 0x49df74
cmp word [esi + 2], 0x5d
jne 0x49df74
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49e0e2
cmp ebp, 0x10000
jl 0x49e0e2
mov edi, dword [esp + 0x3c]
and edi, 1
cmp ebp, 0xff
jg 0x49dff8
test edi, edi
je 0x49df90
cmp ebp, 0x7f
jg 0x49dff8
mov dword [esp + 0x24], 1
mov edx, ebp
test edx, edx
jns 0x49dfa1
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 0x49dfeb
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 0x49d68e
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.004ab520
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 0x49e0d1
mov eax, ebp
test eax, eax
jns 0x49e03f
add eax, 0x7f
sar eax, 7
movzx ecx, byte [eax + 0x4df288]
mov eax, ebp
shl ecx, 7
and eax, 0x8000007f
jns 0x49e05a
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 + 0x4d28a8]
mov ecx, dword [eax*8 + 0x4de1ac]
add ecx, ebp
cmp ecx, ebp
je 0x49e0af
mov eax, 1
mov word [esi], ax
add esi, 2
mov edx, esi
call fcn.004ab520
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 0x49d686
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jmp 0x49d68a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
jmp 0x49d68a
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jmp 0x49d68a
add esi, 2
mov dword [esp + 0x10], esi
test eax, eax
je 0x49e145
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 0x49cfa0
cmp ebp, 0xffff
jle 0x49e169
lea edx, [esp + 0xe8]
mov ecx, ebp
call fcn.004ab520
mov ebp, dword [esp + 0x150]
mov edx, eax
jmp 0x4a0a79
mov word [esp + 0xe8], bp
mov edx, 1
mov ebp, dword [esp + 0x150]
jmp 0x4a0a79
mov eax, dword [esp + 0x4c]
test ebp, ebp
je 0x4a0c43
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 0x49e25d
test edx, edx
je 0x49e1cb
test dword [esp + 0x3c], 0x20000000
je 0x49e25d
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 0x49e232
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.004ad510
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 0x49e238
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 0x49cfa0
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 0x49e2a1
test esi, esi
je 0x49e28c
xor ecx, ecx
not byte [esp + ecx + 0x7c]
inc ecx
cmp ecx, 0x20
jl 0x49e282
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 0x49cfa0
test ebp, ebp
je case.0x49d2d6.1
mov edi, dword [esp + 0x13c]
lea eax, [esp + 0x44]
push edi
push eax
lea ecx, [esi + 2]
lea edx, [esp + 0x58]
call fcn.0049afa0
add esp, 8
mov esi, eax
cmp dword [edi], 0
mov dword [esp + 0x10], esi
jne 0x4a10df
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x44]
jmp 0x49e32d
xor ebx, ebx
or ebp, 0xffffffff
jmp 0x49e31e
mov ebx, 1
or ebp, 0xffffffff
jmp 0x49e31e
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 0x4a0c97
test ebx, ebx
jne 0x49e34d
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 0x49e383
xor edi, edi
mov dword [esp + 0x1c], 1
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x49e39f
cmp ecx, 0x3f
jne 0x49e398
mov edi, dword [esp + 0xc8]
add esi, 2
mov dword [esp + 0x10], esi
jmp 0x49e39f
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], edi
cmp word [eax], 0x6f
jne 0x49e428
mov ebp, eax
push 4
push ebp
lea eax, [ebp + 4]
push eax
call fcn.004ad510
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 0x49e414
mov ebx, dword [esp + 0x150]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x24]
add eax, 2
cmp edx, eax
jb 0x49e414
movzx esi, word [edx - 2]
mov ecx, ebp
sub ecx, dword [ebx + 0x14]
add ecx, 2
sar ecx, 1
cmp esi, ecx
jne 0x49e414
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 0x49ece0
cmp ecx, 0x1e
je 0x49ece0
cmp ecx, 0x1f
je 0x49ec48
cmp ecx, 0x20
je 0x49ec48
cmp ecx, 0x17
jae 0x49e463
mov dword [esp + 0x30], 0x34
mov edx, ecx
jmp 0x49ec60
cmp ecx, 0x6a
je 0x49eba3
cmp ecx, 0x6b
je 0x49eba3
cmp ecx, 0x6c
je 0x49eba3
cmp ecx, 0x6d
je 0x49eba3
cmp ecx, 0x6e
je 0x49eba3
lea eax, [ecx - 0x77]
cmp ax, 0xa
ja 0x49eb72
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 0x49e4d8
mov ecx, 0x8b
cmp word [eax + 4], cx
je 0x49f03d
jmp 0x49e4f7
cmp ecx, 0x7b
jae 0x49e4f7
test ebx, ebx
jg 0x49f03d
test ebp, ebp
js 0x49e4ee
cmp ebp, 1
jle 0x49e4f7
mov ebp, 1
mov dword [esp + 0x44], ebp
test ebx, ebx
jne 0x49e613
lea esi, [eax + 2]
push dword [esp + 0x54]
cmp ebp, 1
jg 0x49e59a
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.0049bfc0
mov ebx, dword [esp + 0x24]
lea eax, [edi + edi]
add esp, 0xc
push eax
push ebx
push esi
call fcn.004ad510
mov edx, dword [esp + 0x20]
add esp, 0xc
add edx, 2
cmp dword [esp + 0x44], 0
mov dword [esp + 0x14], edx
jne 0x49e574
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 0x49cfa0
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 0x49e7a5
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.0049bfc0
mov ebx, dword [esp + 0x24]
lea eax, [edi + edi]
add esp, 0xc
push eax
lea eax, [ebx + 6]
push ebx
push eax
call fcn.004ad510
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 0x49e7a5
cmp ebx, 1
jle 0x49e79f
cmp dword [esp + 0x154], 0
je 0x49e67e
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 0x4a10af
mov eax, dword [esp + 0x154]
mov ecx, dword [eax]
mov eax, 0x7fffffeb
sub eax, ecx
cmp eax, edi
jl 0x4a10af
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x154]
mov dword [ecx], eax
jmp 0x49e79f
cmp dword [esp + 0xa4], 0
je 0x49e697
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 0x49e79f
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x150]
lea ebp, [ebx + ebx]
jmp 0x49e6bc
mov ebx, dword [esp + 0x30]
mov esi, dword [edx + 0x24]
push ebp
push eax
push dword [esp + 0x1c]
call fcn.004aef60
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 0x49e74c
nop
mov ecx, edx
call fcn.0049a630
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x4a0ba0
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 0x49e6f0
mov edi, dword [esp + 0x54]
cmp edi, esi
jae 0x49e76b
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 0x49e754
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 0x49e6b8
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
test ebp, ebp
jle 0x49e7ab
sub ebp, ebx
mov dword [esp + 0x44], ebp
test ebp, ebp
js 0x49e9d3
mov ebx, dword [esp + 0x154]
test ebx, ebx
je 0x49e80d
test ebp, ebp
jle 0x49e80d
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 0x4a10af
mov edi, dword [ebx]
mov eax, 0x7fffffeb
sub eax, edi
cmp eax, ecx
jl 0x4a10af
lea eax, [ecx + edi]
mov dword [ebx], eax
jmp 0x49e985
lea eax, [ebp - 1]
mov dword [esp + 0x28], eax
test eax, eax
js 0x49e985
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 0x49e880
mov ecx, dword [esp + 0x2c]
mov eax, 0x7d
mov word [ebp], ax
add ebp, 2
test ecx, ecx
jne 0x49e86b
xor eax, eax
jmp 0x49e871
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.004aef60
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 0x49e90b
mov edi, dword [esp + 0x150]
nop dword [eax]
mov ecx, edi
call fcn.0049a630
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x4a0ba0
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 0x49e8c0
mov ebp, dword [esp + 0x54]
mov edi, ebx
mov ebx, dword [esp + 0x150]
cmp ebp, esi
jae 0x49e950
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 0x49e930
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 0x49e842
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x49efa6
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 0x49e9af
xor ebx, ebx
jmp 0x49e9b4
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 0x49e995
jmp 0x49ef9a
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 0x49e9f3
cmp eax, 0x7c
jne 0x49ea05
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x49ea09
mov eax, 0x7d
mov word [ebx], ax
jmp 0x49ea1b
mov ebp, dword [esp + 0x1c]
cmp ecx, 0x7b
je 0x49eb5f
cmp ecx, 0x7c
je 0x49eb5f
cmp dword [esp + 0x154], 0
jne 0x49ea61
mov esi, ebx
nop word [eax + eax]
push dword [esp + 0x150]
mov edx, edi
mov ecx, esi
push 1
call fcn.0049bae0
add esp, 8
test eax, eax
jne 0x49ea59
movzx eax, word [esi + 2]
cmp word [esi + eax*2], 0x71
lea esi, [esi + eax*2]
je 0x49ea30
jmp 0x49ea5d
add word [ebx], 5
mov edx, dword [esp + 0x14]
test ebp, ebp
je 0x49eb35
movzx eax, word [ebx]
mov ecx, 0x81
cmp ax, cx
je 0x49ea9c
mov ecx, 0x86
cmp ax, cx
je 0x49ea9c
mov ebp, dword [esp + 0x150]
inc eax
mov word [ebx], ax
mov eax, 0x75
mov word [edi], ax
mov edi, dword [esp + 0x14]
jmp 0x49eafd
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.0049bfc0
add esp, 0xc
lea eax, [esi + esi]
push eax
lea eax, [ebx + 4]
push ebx
push eax
call fcn.004ad510
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 0x49eb0d
mov ecx, 0x8e
mov word [eax], cx
cmp dword [esp + 0x50], 2
jge 0x49ef9e
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 0x49cfa0
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 0x49cfa0
mov eax, dword [esp + 0x20]
add eax, 0x73
mov word [edi], ax
mov edi, dword [esp + 0x14]
jmp 0x49ef9e
mov eax, 0x97
cmp cx, ax
je 0x49f03d
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 0x49ebc9
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 0x49cfa0
test ebx, ebx
jne 0x49ebfb
cmp ebp, 0xffffffff
jne 0x49ebe4
lea eax, [edi + 0x62]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x49ef9a
cmp ebp, 1
jne 0x49ec17
lea eax, [edi + 0x66]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x49ef9a
cmp ebx, 1
jne 0x49ec17
cmp ebp, 0xffffffff
jne 0x49ec17
lea eax, [edi + 0x64]
mov edi, dword [esp + 0x14]
mov word [edi], ax
add edi, 2
jmp 0x49ef9a
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 0x49ef9a
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 0x49ecaf
test ebp, ebp
jns 0x49ecaf
push dword [esp + 0x150]
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea eax, [esi + 2]
push eax
mov edx, 1
call fcn.0049c420
mov ebx, dword [esp + 0x5c]
add esp, 0xc
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x49ecaf
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
mov edi, dword [esp + 0x18]
movzx eax, word [edi]
cmp eax, 0x10
je 0x49ed70
cmp eax, 0xf
je 0x49ed70
mov dword [esp + 0x28], 0xffffffff
add edi, 2
mov dword [esp + 0x2c], 0xffffffff
jmp 0x49ed87
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 0x49ed4f
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.004aef60
add esp, 0xc
or edi, 0x10000000
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x1c], 0
jne 0x49ecaf
test ebp, ebp
jns 0x49ecaf
push eax
jmp 0x49ec76
mov edi, ecx
mov dword [esp + 0x24], edi
cmp ebx, 1
jle 0x49ed2f
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x54]
or ecx, edi
or ecx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
jmp 0x49ed36
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 0x49f03d
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ebx, ebx
jne 0x49ee19
mov ecx, dword [esp + 0x18]
movzx eax, ax
cmp ebp, 0xffffffff
jne 0x49edf5
add eax, 0x21
mov word [ecx], ax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
test esi, 0x10000000
je 0x49ef7a
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.004aef60
add esp, 0xc
lea eax, [esi + esi]
jmp 0x49ef82
cmp ebp, 1
mov ebp, dword [esp + 0x2c]
jne 0x49ee06
add eax, 0x25
mov word [ecx], ax
jmp 0x49edc5
add eax, 0x27
mov word [ecx], ax
mov ax, word [esp + 0x44]
mov word [edi], ax
add edi, 2
jmp 0x49edc5
cmp ebx, 1
jne 0x49ee5a
cmp ebp, 0xffffffff
jne 0x49ee32
mov ecx, dword [esp + 0x18]
add eax, 0x23
mov word [ecx], ax
lea edi, [ecx + 2]
jmp 0x49edc1
mov edx, ecx
mov dword [esp + 0x14], edx
cmp ebp, 1
je 0x49f181
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 0x49edc1
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 0x49eeeb
test edx, 0x10000000
je 0x49eebb
mov esi, edx
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.004aef60
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 0x49edc1
mov eax, dword [esp + 0x2c]
mov word [edi], dx
add edi, 2
test eax, eax
js 0x49eed7
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 0x49edc1
cmp eax, dword [esp + 0x50]
je 0x49edc1
test edx, 0x10000000
je 0x49ef1b
mov esi, edx
and esi, 7
lea eax, [esi + esi]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.004aef60
add esp, 0xc
add esi, esi
jmp 0x49ef23
mov word [edi], dx
mov esi, 2
mov ebp, dword [esp + 0x2c]
lea ecx, [esi + edi]
test ebp, ebp
js 0x49ef3c
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 0x49ef64
lea eax, [edx + 0x25]
mov word [ecx], ax
jmp 0x49edc5
lea eax, [edx + 0x27]
mov word [ecx], ax
mov ax, word [esp + 0x44]
mov word [edi], ax
add edi, 2
jmp 0x49edc5
mov word [edi], si
mov eax, 2
add edi, eax
mov dword [esp + 0x14], edi
test ebp, ebp
js 0x49ef9e
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 0x49f17d
movzx eax, word [edx]
cmp eax, 0x5d
jne 0x49efd5
movzx eax, word [edx + 4]
cmp eax, 0x10
je 0x49efcc
cmp eax, 0xf
mov eax, 6
jne 0x49efd1
mov eax, 0xa
add edx, eax
jmp 0x49f006
cmp eax, 0x29
je 0x49efdf
cmp eax, 0x43
jne 0x49f00a
movzx eax, byte [eax + 0x4e1488]
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 0x49f00a
add edx, 2
mov dword [esp + 0x48], edx
sub edi, edx
mov ebx, edi
sar ebx, 1
test ebx, ebx
jle 0x49f03d
movzx eax, word [edx]
add eax, 0xffffffdf
cmp eax, 0x3a
ja case.0x49f02a.34
movzx eax, byte [eax + 0x4a1254]
jmp dword [eax*4 + 0x4a1200]
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 0x49cfa0
mov eax, 0x2b
jmp 0x49f036
mov eax, 0x2c
jmp 0x49f036
mov eax, 0x2d
jmp 0x49f036
mov eax, 0x37
jmp 0x49f036
mov eax, 0x38
jmp 0x49f036
mov eax, 0x39
jmp 0x49f036
mov eax, 0x3a
jmp 0x49f036
mov eax, 0x44
jmp 0x49f036
mov eax, 0x45
jmp 0x49f036
mov eax, 0x46
jmp 0x49f036
mov eax, 0x47
jmp 0x49f036
mov eax, 0x51
jmp 0x49f036
mov eax, 0x52
jmp 0x49f036
mov eax, 0x53
jmp 0x49f036
mov eax, 0x54
jmp 0x49f036
mov eax, 0x5e
jmp 0x49f036
mov eax, 0x5f
jmp 0x49f036
mov eax, 0x60
jmp 0x49f036
mov eax, 0x61
jmp 0x49f036
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.0049bfc0
mov eax, dword [esp + 0x54]
add esp, 0xc
and edi, 0xfffffffe
push edi
push eax
add eax, 4
push eax
call fcn.004ad510
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 0x49cfa0
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 0x49cfa0
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 0x49f428
movzx eax, word [esi + 2]
cmp eax, 0x3a
je 0x49f1fa
mov edi, 0xff
cmp ax, di
ja 0x49f428
mov ecx, eax
mov eax, dword [ebp + 0xc]
test byte [ecx + eax], 2
je 0x49f424
add esi, 2
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
mov ebp, 0x4cff24
mov dword [esp + 0x10], esi
mov ebx, 0xff
movzx eax, word [esi]
mov edx, esi
mov dword [esp + 0x28], ecx
cmp ax, bx
ja 0x49f25e
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 0x49f25a
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 0x49f235
mov ecx, dword [esp + 0x28]
mov edi, edx
sub edi, ecx
sar edi, 1
cmp word [esi], 0x3a
jne 0x49f2b2
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 0x49f2aa
mov ecx, edx
mov edx, eax
mov ebx, ecx
cmp dx, 0x29
je 0x49f2a2
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 0x49f285
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 0x4a0d05
xor ebx, ebx
mov esi, 0x4d2348
cmp edi, dword [esi]
jne 0x49f2d6
push edi
mov edx, ebp
call fcn.004ab4e0
add esp, 4
test eax, eax
je 0x49f2ef
inc ebp
inc ebx
add ebp, dword [esi]
add esi, 0xc
cmp esi, 0x4d23b4
jge 0x4a0d01
mov ecx, dword [esp + 0x28]
jmp 0x49f2c3
lea eax, [ebx + ebx*2]
mov ecx, dword [eax*4 + 0x4d234c]
cmp ecx, 0x98
jne 0x49f373
cmp dword [esp + 0x30], 0
jne 0x4a0cda
mov ebp, dword [esp + 0x150]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x58], 1
test ecx, ecx
je 0x49f34b
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 0x49f330
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 0x49f400
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x49f3ad
movzx eax, cx
mov edx, eax
test ecx, ecx
js 0x4a0cb3
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x150]
mov word [ecx], ax
mov eax, 0x94
cmp dx, ax
jne 0x49f3a7
or dword [ebp + 0x50], 0x1000
mov edi, dword [esp + 0x64]
jmp 0x49f400
mov eax, dword [eax*4 + 0x4d2350]
movzx ecx, ax
mov edx, ecx
test eax, eax
js 0x4a0cda
mov edi, dword [esp + 0x14]
mov eax, 0x95
mov ebp, dword [esp + 0x150]
mov word [edi], cx
cmp dx, ax
jne 0x49f3e0
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.004aef60
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 0x4a0d01
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
jmp 0x49cfa0
mov ecx, dword [esp + 0x3c]
cmp edx, 0x3f
jne 0x49fd9b
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.0x49f456.47
movzx eax, byte [eax + 0x4a12cc]
mov dword [esp + 0x1c], esi
jmp dword [eax*4 + 0x4a1290]
lea ecx, [esi + 2]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
test ax, ax
je 0x4a0d28
cmp ax, 0x29
je 0x49f47f
lea esi, [ecx + 2]
mov ecx, esi
jmp 0x49f462
cmp word [esi], bx
je 0x4a0d28
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
jmp 0x49cfa0
mov dword [esp + 0x5c], 1
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x7d
mov dword [esp + 0x10], eax
mov edx, 0x7d
jmp 0x49f813
cmp word [esi + 2], 0x3f
mov dword [esp + 0x20], 0x81
jne 0x49f4e7
movzx eax, word [esi + 4]
cmp eax, 0x3d
je 0x49f80f
cmp eax, 0x21
je 0x49f80f
cmp eax, 0x3c
je 0x49f80f
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 0x49f536
cmp word [esi + 4], 0x26
lea ecx, [esi + 4]
jne 0x49f536
mov dword [esp + 0x10], ecx
mov eax, 0x89
mov word [ebx + 4], ax
mov esi, dword [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
jmp 0x49f57c
cmp eax, 0x3c
jne 0x49f54c
add esi, 2
mov dword [esp + 0x30], 0x3e
mov dword [esp + 0x10], esi
jmp 0x49f57c
cmp eax, 0x27
jne 0x49f55e
add esi, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
jmp 0x49f57c
xor ecx, ecx
mov dword [esp + 0x30], ecx
cmp eax, 0x2d
je 0x49f56e
cmp eax, 0x2b
jne 0x49f57c
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 0x4a0da3
mov ebp, dword [ebp + 0xc]
test byte [eax + ebp], 0x10
je 0x4a0da3
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 0x49f618
mov ebx, ecx
mov ecx, eax
movzx edi, cx
mov edx, ebx
test byte [edi + ebp], 0x10
je 0x49f610
mov edx, dword [esp + 0x1c]
test edx, edx
js 0x49f5f6
cmp cx, 0x30
jb 0x49f5ee
cmp cx, 0x39
ja 0x49f5ee
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
lea edx, [edi + edx*2]
mov dword [esp + 0x1c], edx
jmp 0x49f5f6
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 0x49f5c0
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 0x49f63e
movzx eax, word [esi]
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
mov edx, esi
cmp eax, ecx
jne 0x4a0d7d
mov ax, word [esi]
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
cmp ax, 0x29
jne 0x4a0d7d
cmp dword [esp + 0x154], 0
jne 0x49f80b
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x49f6a6
test ebx, ebx
jle 0x4a0f78
mov edx, dword [esp + 0x150]
mov eax, dword [edx + 0x38]
cmp ecx, 0x2d
jne 0x49f686
sub eax, ebx
lea ebx, [eax + 1]
jmp 0x49f688
add ebx, eax
test ebx, ebx
jle 0x4a102b
cmp ebx, dword [edx + 0x3c]
jg 0x4a102b
mov edx, dword [esp + 0x14]
mov word [edx + 6], bx
jmp 0x49f80b
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 0x49f723
cmp dword [esp + 0x28], 0
lea esi, [ebx + 2]
mov edx, edi
mov edi, dword [esp + 0x18]
jbe 0x49f6eb
movzx ecx, word [edi]
lea edi, [edi + 2]
movzx eax, word [esi]
lea esi, [esi + 2]
dec edx
cmp cx, ax
jne 0x49f703
test edx, edx
jne 0x49f6d1
mov eax, dword [esp + 0x38]
cmp ebp, eax
jge 0x49f71f
mov ax, word [ebx]
mov edx, dword [esp + 0x14]
inc word [edx + 4]
mov word [edx + 6], ax
jmp 0x49f80b
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 0x49f723
jmp 0x49f6c1
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.0049b060
add esp, 0x14
test eax, eax
jg 0x49f6f2
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x49f7a3
lea eax, [esp + 0x38]
mov edx, ebp
push eax
push 1
push esi
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.0049b060
add esp, 0x14
test eax, eax
jle 0x49f763
mov edx, dword [esp + 0x14]
inc word [edx + 4]
mov word [edx + 6], ax
jmp 0x49f80b
test eax, eax
jg 0x49f6f2
cmp dword [esp + 0x30], 0
jne 0x4a1027
cmp word [ebx], 0x52
jne 0x49f854
xor ecx, ecx
lea edx, [ecx + 1]
cmp edi, edx
jle 0x49f7f5
nop dword [eax]
movzx esi, word [ebx + edx*2]
lea eax, [esi - 0x30]
cmp ax, 9
ja 0x4a1027
lea ecx, [ecx + ecx*4]
mov eax, esi
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
cmp edx, edi
jl 0x49f7d0
test ecx, ecx
jne 0x49f7fa
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 0x4a01bb
cmp edx, 0x7a
je 0x4a01bb
xor ecx, ecx
jmp 0x4a01c0
cmp edi, 6
jne 0x49f87f
push edi
mov edx, str.DEFINE
mov ecx, ebx
call fcn.004ab4e0
add esp, 4
test eax, eax
jne 0x49f87f
mov edx, dword [esp + 0x14]
lea ebx, [edi - 5]
mov eax, 0x8b
mov word [edx + 4], ax
jmp 0x49f80f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jle 0x4a0d4b
cmp ecx, dword [ebp + 0x3c]
jg 0x4a0d4b
mov edx, dword [esp + 0x14]
jmp 0x49f807
inc dword [ebp + 0x48]
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x77
mov edx, 0x77
mov dword [esp + 0x10], eax
jmp 0x49f813
lea eax, [esi + 2]
mov dword [esp + 0x10], eax
cmp word [eax], 0x29
jne 0x49f8eb
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 0x49cfa0
inc dword [ebp + 0x48]
mov edx, 0x78
mov dword [esp + 0x20], edx
jmp 0x49f813
movzx eax, word [esi + 2]
mov edx, eax
cmp edx, 0x21
je 0x49fa02
cmp eax, 0x3d
je 0x49f9eb
mov ebx, 0xff
cmp ax, bx
ja 0x4a0dc9
mov eax, dword [ebp + 0xc]
test byte [edx + eax], 0x10
je 0x4a0dc9
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 0x49f999
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 0x49f995
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 0x49f970
mov edi, dword [esp + 0x28]
sub ebp, edi
sar ebp, 1
cmp dword [esp + 0x154], 0
mov dword [esp + 0x2c], ebp
je 0x49fb9f
movzx eax, word [esi]
cmp eax, ebx
jne 0x4a0fe1
mov edx, dword [esp + 0x150]
mov ecx, dword [edx + 0x2c]
cmp ecx, 0x2710
jge 0x4a0e5c
lea eax, [ebp + 2]
cmp eax, dword [edx + 0x30]
jle 0x49f9e4
mov dword [edx + 0x30], eax
cmp ebp, 0x20
jg 0x4a0fbe
mov ebp, edx
jmp 0x49fd3f
inc dword [ebp + 0x48]
lea eax, [esi + 4]
mov dword [esp + 0x20], 0x79
mov dword [esp + 0x10], eax
jmp 0x49f80f
inc dword [ebp + 0x48]
lea eax, [esi + 4]
mov dword [esp + 0x20], 0x7a
mov dword [esp + 0x10], eax
jmp 0x49f80f
lea eax, [esi + 2]
mov dword [esp + 0x20], 0x7b
mov dword [esp + 0x10], eax
mov edx, 0x7b
jmp 0x49f813
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 0x49faa4
mov edi, esi
mov edx, eax
cmp dx, 0x39
ja 0x49fa9c
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 0x49fa77
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x14]
movzx eax, word [esi]
cmp eax, 0x29
je 0x49fb1b
test ax, ax
je 0x4a0df3
cmp eax, 0x3a
je 0x49fac2
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 0x4a0df3
cmp eax, 0x29
jne 0x49fad0
cmp word [esi], bp
je 0x4a0df3
sub esi, ecx
push 0
sar esi, 1
push esi
push ecx
mov ecx, 0x4f9a70
call fcn.0042ced0
mov ebp, eax
test ebp, ebp
je 0x4a0def
cmp byte [ebp + 0x51], 0
jne 0x4a0def
mov esi, dword [esp + 0x10]
cmp ebx, 0xff
jg 0x4a0e16
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 0x49cfa0
lea ecx, [esi + 2]
mov esi, ecx
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x3d
je 0x49fb89
cmp eax, 0x3e
je 0x49fb89
cmp eax, 0x3c
jne 0x4a0e39
mov edx, eax
jmp case.0x49f456.36
xor edx, edx
mov ebp, 0x29
cmp eax, 0x3e
sete dl
mov dword [esp + 0x30], edx
jmp 0x4a049c
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 0x49fccd
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 0x49fbf1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x49fbf6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x49fbe0
cmp edi, 0xfffffffc
je 0x49fc2a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x49fc23
cmp edi, 0xfffffffd
je 0x49fc2a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x49fc23
cmp edi, 0xfffffffe
je 0x49fc2a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x49fc23
cmp edi, 0xffffffff
je 0x49fc2a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x49fc2a
sbb eax, eax
or eax, 1
jmp 0x49fc2c
xor eax, eax
test eax, eax
jne 0x49fc67
mov eax, dword [esp + 0x2c]
cmp word [ebp + eax*2 + 2], 0
jne 0x49fc94
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 0x38]
movzx eax, word [ebp]
inc ecx
cmp eax, ecx
je 0x49fc5d
test dword [esp + 0x3c], 0x80000
je 0x4a0e7f
mov dword [esp + 0x38], 1
jmp 0x49fc69
js 0x49fc94
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 0x49fcc6
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x28]
jmp 0x49fbd0
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.004ad510
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x150]
cmp dword [esp + 0x38], 0
jne 0x49fd08
mov ebx, dword [ecx + 0x2c]
xor edx, edx
mov edi, dword [ecx + 0x28]
test ebx, ebx
jle 0x49fd08
nop dword [eax]
cmp edi, ebp
je 0x49fcfc
mov ecx, dword [ecx + 0x38]
movzx eax, word [edi]
inc ecx
cmp eax, ecx
je 0x4a0ea2
mov ecx, dword [esp + 0x150]
jmp 0x49fcfd
dec edx
mov eax, dword [ecx + 0x30]
inc edx
lea edi, [edi + eax*2]
cmp edx, ebx
jl 0x49fce0
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.004aef60
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 0x49f80f
mov ebp, 0x29
mov dword [esp + 0x30], 1
jmp 0x4a049c
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 0x49ff9a
test ecx, 0x1000
je 0x49fd4c
mov edx, 0x7d
mov dword [esp + 0x20], edx
jmp 0x49f813
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.0049a760
add esp, 0xc
mov ecx, eax
cmp dword [edi], 0
jne 0x4a0ba0
test ecx, ecx
jns 0x4a09fd
mov esi, ecx
neg esi
cmp esi, 0x1a
jne 0x49fe33
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x5c
jne 0x49fe1b
cmp word [esi + 4], 0x45
jne 0x49fe1b
mov ebx, dword [esp + 0x18]
add esi, 4
mov edx, dword [esp + 0x14]
add esi, 2
jmp 0x49cfa0
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], 1
jmp 0x49cfa0
cmp esi, 0x19
je 0x49f410
mov edx, dword [esp + 0x40]
cmp edx, 0xfffffffe
jne 0x49fe57
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 0x4a043a
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 0x49ff46
cmp eax, 0x2d
je 0x49ff46
movzx eax, word [esi + 2]
lea ebx, [esi + 2]
mov edi, 1
mov ecx, eax
test ax, ax
je 0x49ff0a
movzx edx, cx
cmp edx, ebp
je 0x49ff06
mov eax, 0xff
cmp cx, ax
ja 0x49ff04
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 0x49ff06
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x49fec2
jmp 0x49ff06
xor edi, edi
mov edx, dword [esp + 0x1c]
movzx eax, word [ebx]
cmp eax, ebp
je 0x49ff35
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 0x49cfa0
test edi, edi
je 0x49fd69
mov edi, dword [esp + 0x13c]
jmp 0x49ff94
movzx eax, word [esi + 4]
lea ecx, [esi + 4]
mov edx, eax
cmp eax, 0x30
jb 0x49ff68
cmp dx, 0x39
ja 0x49ff68
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
cmp eax, 0x30
jae 0x49ff54
movzx eax, word [ecx]
cmp eax, ebp
je 0x49ff8c
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x150]
mov dword [edi], 0x39
jmp 0x49cfa0
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 0x4a0039
lea esi, [edx + 2]
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x30
jb 0x4a0ec5
cmp eax, 0x39
ja 0x4a0ec5
mov dword [esp + 0x1c], esi
movzx eax, word [esi]
xor edi, edi
cmp eax, 0x30
jb 0x49ffff
mov edx, eax
cmp dx, 0x39
ja 0x49ffff
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 0x49ffd4
movzx eax, word [esi]
cmp eax, dword [esp + 0x38]
jne 0x4a0f9b
cmp ebx, 0x2d
jne 0x4a041a
test edi, edi
je 0x4a0f78
mov ebp, dword [esp + 0x150]
mov eax, dword [ebp + 0x38]
sub eax, edi
lea edi, [eax + 1]
test edi, edi
jle 0x4a102b
jmp 0x4a0755
cmp ebx, 0x2d
jne 0x49ffc8
movzx eax, word [esi + 2]
mov edi, edx
mov edx, ebx
cmp eax, 0x30
jb case.0x49f456.47
mov ecx, dword [esp + 0x1c]
mov edi, ecx
cmp eax, 0x39
ja case.0x49f456.47
lea esi, [ecx + 2]
mov dword [esp + 0x10], esi
jmp 0x49ffc4
xor eax, eax
lea ecx, [esp + 0x38]
xor ebp, ebp
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ebp
cmp dx, 0x29
je 0x4a0101
mov ebx, edi
nop
mov edi, ebx
cmp dx, 0x3a
je 0x4a00f9
movzx eax, dx
lea esi, [ebx + 2]
sub eax, 0x2d
mov dword [esp + 0x10], esi
cmp eax, 0x4b
ja case.0x4a00a9.46
movzx eax, byte [eax + 0x4a134c]
jmp dword [eax*4 + 0x4a1328]
lea ecx, [esp + 0x5c]
jmp 0x4a00eb
mov eax, dword [esp + 0x150]
or dword [ecx], 0x80000
or dword [eax + 0x50], 0x400
jmp 0x4a00eb
or dword [ecx], 1
jmp 0x4a00eb
or dword [ecx], 2
jmp 0x4a00eb
or dword [ecx], 4
jmp 0x4a00eb
or dword [ecx], 8
jmp 0x4a00eb
or dword [ecx], 0x200
jmp 0x4a00eb
or dword [ecx], 0x40
movzx eax, word [esi]
mov edi, esi
mov ebx, esi
mov edx, eax
cmp eax, 0x29
jne 0x4a0080
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 0x4a019a
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
add eax, 4
cmp edx, eax
jne 0x4a0158
mov eax, dword [esp + 0x154]
test eax, eax
je 0x4a0138
cmp dword [eax], 4
jne 0x4a0158
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 0x49cfa0
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 0x49cfa0
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 0x49f817
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.004a13a0
add esp, 0x2c
test eax, eax
je 0x4a0ba0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x150]
cmp ebx, 0x7b
jne 0x4a02d4
cmp dword [ebp + 0x38], esi
jg 0x4a0258
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 0x4a0f55
mov edx, dword [esp + 0x154]
test edx, edx
je 0x4a0359
mov edi, dword [esp + 0x74]
mov ecx, 0x7fffffeb
mov edx, dword [edx]
sub ecx, edx
lea eax, [edi - 4]
cmp ecx, eax
jl 0x4a10af
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 0x49cfa0
cmp ebx, 0x7a
ja 0x4a02dc
dec dword [ebp + 0x48]
cmp ebx, 0x81
jne 0x4a0258
cmp dword [esp + 0x154], 0
jne 0x4a0258
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 0x4a0300
mov eax, dword [esp + 0x14]
mov ecx, 0x8b
cmp word [eax + 4], cx
jne 0x4a032f
cmp esi, 1
jge 0x4a0f07
mov ebx, ecx
jmp 0x4a0258
cmp esi, 2
jge 0x4a0f2e
cmp edx, 1
jne 0x4a0258
or eax, 0xffffffff
or ecx, eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jmp 0x4a0266
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
cmp ebx, 0x8b
je 0x4a02c8
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 0x4a03f9
cmp dword [esp + 0x40], 0xfffffffe
jne 0x4a03ce
test ecx, ecx
js 0x4a03bc
mov dword [esp + 0x40], ecx
mov dword [esp + 0xa4], 1
mov dword [esp + 0x4c], 0xffffffff
jmp 0x4a03e1
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
jmp 0x4a03e1
test ecx, ecx
js 0x4a03e1
test eax, eax
jns 0x4a03e9
mov eax, ecx
or eax, edi
mov dword [esp + 0x9c], eax
test eax, eax
js 0x4a02c8
mov ebx, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0x58], eax
jmp 0x49cfa0
cmp ebx, 0x77
jne 0x4a02c8
test eax, eax
js 0x4a02c8
mov ebx, dword [esp + 0x18]
add esi, 2
mov dword [esp + 0x58], eax
jmp 0x49cfa0
cmp ebp, 0x2b
jne 0x4a074e
test edi, edi
je 0x4a0f78
mov ebp, dword [esp + 0x150]
add edi, dword [ebp + 0x38]
jmp 0x4a0755
cmp esi, 0x1c
jne 0x4a0902
mov esi, dword [esp + 0x10]
movzx eax, word [esi + 2]
cmp eax, 0x3c
je 0x4a0470
cmp eax, 0x27
je 0x4a0470
cmp eax, 0x7b
je 0x4a0470
mov ebx, dword [esp + 0x18]
add esi, 2
mov edx, dword [esp + 0x14]
mov dword [edi], 0x45
jmp 0x49cfa0
add esi, 2
mov dword [esp + 0x30], 0
mov dword [esp + 0x10], esi
movzx eax, word [esi]
cmp eax, 0x3c
jne 0x4a048c
lea ebp, [eax + 2]
jmp 0x4a049c
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 0x4a04ef
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 0x4a04eb
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 0x4a04c6
mov edi, dword [esp + 0x2c]
sub ebx, edi
sar ebx, 1
cmp dword [esp + 0x154], 0
je 0x4a05b9
test ebx, ebx
je 0x4a1004
movzx eax, word [esi]
cmp eax, ebp
jne 0x4a0fe1
cmp ebx, 0x20
jg 0x4a0fbe
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.0049b060
add esp, 0x14
test eax, eax
jg 0x4a05a3
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 0x4a059f
lea eax, [esp + 0x38]
mov edx, edi
push eax
push 1
push esi
push ebx
push ebp
lea ecx, [esp + 0x3c]
call fcn.0049b060
add esp, 0x14
test eax, eax
jle 0x4a0570
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 0x4a06c0
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 0x4a0642
lea esi, [ebp + 2]
mov edx, ebx
test ebx, ebx
je 0x4a05ff
movzx ecx, word [edi]
lea edi, [edi + 2]
movzx eax, word [esi]
lea esi, [esi + 2]
dec edx
cmp cx, ax
jne 0x4a061b
test edx, edx
jne 0x4a05e1
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
cmp word [ebp + ebx*2 + 2], 0
jne 0x4a061f
cmp eax, ecx
jge 0x4a063e
movzx edi, word [ebp]
mov ebp, dword [esp + 0x150]
jmp 0x4a06c0
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 0x4a05d8
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.0049b060
mov edi, eax
add esp, 0x14
test edi, edi
jg 0x4a06c0
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x4a06b8
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.0049b060
mov edi, eax
add esp, 0x14
test edi, edi
jle 0x4a0684
test edi, edi
jle 0x4a1027
cmp dword [esp + 0x30], 0
jne 0x4a0755
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 0x4a0722
mov dword [ebp + 0x40], edi
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x49f8df
nop dword [eax]
movzx eax, word [ecx + 4]
cmp eax, edi
je 0x4a0913
mov ecx, dword [ecx]
test ecx, ecx
jne 0x4a0730
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x49cfa0
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 0x4a08b6
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x4a0788
lea edx, [ecx + 1]
mov ecx, dword [ebp + 0x14]
push edi
call fcn.0049b950
add esp, 4
mov ebx, eax
test ebx, ebx
jne 0x4a0847
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.0049b060
add esp, 0x14
test eax, eax
jg 0x4a07f3
mov ecx, dword [esp + 0x28]
movzx edx, word [ecx]
add ecx, 2
mov dword [esp + 0x28], ecx
test dx, dx
je 0x4a07f1
lea eax, [esp + 0x38]
mov edx, ebp
push eax
push 1
push esi
push edi
push 0
lea ecx, [esp + 0x3c]
call fcn.0049b060
add esp, 0x14
test eax, eax
jle 0x4a07c1
test eax, eax
js 0x4a1027
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 0x4a082a
mov ecx, ebp
call fcn.0049a630
mov ecx, dword [esp + 0x13c]
mov dword [ecx], eax
test eax, eax
jne 0x4a0ba0
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 0x4a08ba
cmp word [ebx + 2], 0
jne 0x4a08b6
cmp dword [esp + 0x14c], 0
jg 0x4a08b6
mov eax, dword [esp + 0x148]
mov esi, eax
test eax, eax
je 0x4a088f
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
cmp ecx, ebx
jb 0x4a088f
push ebp
push 1
mov edx, edi
call fcn.0049bae0
add esp, 8
test eax, eax
je 0x4a08ba
mov esi, dword [esi]
test esi, esi
jne 0x4a0871
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 0x49f8df
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], 0xffffffff
add esi, 2
jmp 0x49cfa0
cmp esi, 0x23
jl 0x4a0923
mov edi, 0xffffffdd
sub edi, ecx
jmp 0x4a06cf
mov word [ecx + 6], si
mov esi, dword [esp + 0x10]
add esi, 2
jmp 0x49cfa0
cmp esi, 0xf
je 0x4a0990
cmp esi, 0x10
je 0x4a0990
mov edx, dword [esp + 0x14]
lea eax, [esi - 0x1d]
cmp eax, 5
ja 0x4a096b
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, 0x4d14b8
sub ecx, eax
mov esi, dword [ecx]
sub esi, 2
add esi, 2
jmp 0x49cfa0
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 0x49cfa0
lea eax, [esp + 0xe0]
push edi
push eax
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x18]
call fcn.0049ae40
add esp, 8
test eax, eax
js 0x4a0ba0
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 0x49cfa0
cmp ecx, 0xffff
jle 0x4a0a18
lea edx, [esp + 0xe8]
call fcn.004ab520
mov edx, eax
jmp 0x4a0a79
mov word [esp + 0xe8], cx
mov edx, 1
jmp 0x4a0a79
mov ebp, dword [esp + 0x150]
mov word [esp + 0xe8], di
mov edx, 1
and edi, 0xfc00
cmp edi, 0xd800
jne 0x4a0a79
mov ax, word [esi + 2]
add esi, 2
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x4a0a79
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 0x4a0aba
mov ax, word [esp + ecx*2 + 0xe8]
inc ecx
mov word [edi], ax
add edi, 2
cmp ecx, edx
jl 0x4a0aa3
mov dword [esp + 0x14], edi
mov ax, word [esp + 0xe8]
cmp ax, 0xd
je 0x4a0ace
cmp ax, 0xa
jne 0x4a0ad5
or dword [ebp + 0x50], 0x800
mov ecx, dword [esp + 0x40]
cmp ecx, 0xfffffffe
jne 0x4a0b4c
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], 0xffffffff
cmp edx, 1
je 0x4a0b1f
test ecx, ecx
je 0x4a0b1f
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 2
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
jmp 0x49cfa0
movzx eax, ax
or eax, ecx
cmp edx, 1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
je 0x49f8df
movzx eax, word [edi - 2]
or eax, dword [ebp + 0x54]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x58], eax
add esi, 2
jmp 0x49cfa0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], eax
cmp edx, 1
je 0x4a0b74
cmp dword [esp + 0x78], 0
je 0x4a0b74
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esi, 2
jmp 0x49cfa0
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 0x49cfa0
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 0x4a109f
sub edx, dword [esp + 0xa8]
mov ebx, 0x7fffffeb
mov eax, dword [ecx]
sub ebx, eax
sar edx, 1
cmp ebx, edx
jl 0x4a10b6
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