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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x180]
cmp eax, dword [ecx + 8]
jbe 0x49ce9a
sub esp, 0x200
lea edi, [esp]
lea esi, [esp + 0x204]
call fcn.0045d0ae
call fcn.0049de00
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1e0], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x8c], ebp
mov esi, dword [esp + 0x228]
mov edi, dword [esp + 0x224]
mov esi, 0xffffffff
mov dword [esp + 0x38], esi
mov edi, 0xffffffff
mov dword [esp + 0x80], edi
xor edi, edi
mov dword [esp + 0x78], edi
xor esi, esi
mov dword [esp + 0x84], esi
xor esi, esi
mov dword [esp + 0x3c], esi
xor esi, esi
mov dword [esp + 0x7c], esi
xor esi, esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x220]
mov dword [esp + 0xdc], esi
mov edi, dword [esp + 0x21c]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x218]
mov dword [esp + 0x1e8], eax
mov esi, dword [esp + 0x228]
mov edi, dword [esp + 0x224]
mov eax, dword [esp + 0xf0]
jmp 0x49b19f
mov eax, ecx
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x1e0]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], edx
mov dword [esp + 0x1e8], esi
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x1d4]
test esi, esi
je 0x49c4ec
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00498f30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1d4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ebx, ebx
jne 0x49b1f4
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
jmp 0x49b2a8
mov esi, dword [esp + 0xd8]
lea edi, [ebx + esi]
mov dword [esp + 0xd4], edi
mov eax, dword [esp + 0xdc]
cmp eax, edi
jae 0x49b263
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x1dc], ebp
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e8]
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.004464a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x1dc]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x1e8], eax
mov eax, ecx
mov dword [esp + 0xdc], eax
mov ecx, dword [esp + 0x1e8]
lea edx, [ecx + esi]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.0045d2d0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
test edx, edx
je 0x49c501
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0x1e4], esi
mov edi, ebp
mov ebp, dword [esp + 0x38]
test ebp, ebp
jge 0x49b33c
test edx, 0x100
je 0x49b33c
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov byte [esp + 8], 1
call fcn.0049f4a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x1e4]
mov edi, dword [esp + 0xcc]
mov ebp, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x80]
test ebp, ebp
jge 0x49b3f3
test edx, 0x200
je 0x49b3f3
nop
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x15180
call fcn.00457280
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x91a2b3c5
imul ecx
lea eax, [edx + ecx]
sar eax, 0xb
mov edx, ecx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0xe10
sub edx, ecx
mov ecx, eax
mov eax, 0x88888889
mov ebx, edx
imul edx
lea eax, [ebx + edx]
sar eax, 5
mov edx, ebx
sar ebx, 0x1f
sub eax, ebx
imul ebx, eax, 0x3c
sub edx, ebx
mov ebx, dword [esp + 0xd0]
mov esi, dword [esp + 0x1e4]
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], edx
mov ebp, ecx
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x80], ebp
and edx, 0xffff
cmp edx, 0x109
jg 0x49be95
cmp edx, 0x103
jg 0x49bb56
cmp edx, 0x23
jg 0x49b9fe
cmp edx, 0x17
je 0x49b7db
lea ecx, [edx - 0x18]
cmp ecx, 9
ja 0x49b760
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x49b4b3
mov edx, dword [esp + 0x60]
cmp edx, 0x18
je 0x49b45b
cmp edx, 0x1b
je 0x49b45b
cmp edx, 0x19
je 0x49b45b
cmp edx, 0x1a
je 0x49b45b
cmp edx, 0x1c
jne 0x49b4b7
lea edx, [ebx + 1]
cmp edi, edx
jae 0x49b4aa
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x5a
jmp 0x49b164
mov edx, dword [esp + 0x60]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov dword [esp + 0xdc], edx
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
test edx, edx
jge 0x49b53c
lea edx, [ebx + 1]
cmp edi, edx
jae 0x49b52b
mov dword [esp + 0xd8], ecx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2d
mov ebx, dword [esp + 0xdc]
sub ecx, ebx
neg eax
jmp 0x49b596
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x49b58c
mov dword [esp + 0x34], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2b
mov ebx, edx
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x88], eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00499d10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x1b
je 0x49b5fc
cmp ebp, 0x20
je 0x49b5fc
cmp ebp, 0x1c
je 0x49b5fc
cmp ebp, 0x21
jne 0x49b648
lea esi, [ecx + 1]
cmp edx, esi
jae 0x49b642
mov dword [esp + 0xc8], ecx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.004464a0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0x60]
mov byte [ebx + ecx], 0x3a
jmp 0x49b64a
mov esi, ecx
cmp ebp, 0x1f
je 0x49b693
cmp ebp, 0x1a
je 0x49b693
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0xd8]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0xdc]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.00499d10
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x60]
cmp ebp, 0x19
je 0x49b6f3
cmp ebp, 0x1e
je 0x49b6f3
cmp ebp, 0x21
je 0x49b6ab
cmp ebp, 0x1c
jne 0x49b743
lea ecx, [esi + 1]
cmp edx, ecx
jae 0x49b6ed
mov dword [esp + 0xc4], esi
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004464a0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov esi, dword [esp + 0xc4]
mov byte [ebx + esi], 0x3a
jmp 0x49b6f5
mov ecx, esi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x88]
mov ecx, 0x88888889
imul ecx
mov ebx, dword [esp + 0x88]
add edx, ebx
sar edx, 5
mov ebp, ebx
sar ebx, 0x1f
sub edx, ebx
imul edx, edx, 0x3c
sub ebp, edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.00499d10
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edi, edx
mov edx, esi
mov esi, ebx
jmp 0x49b164
cmp edx, 0x22
jge 0x49b76e
mov ecx, dword [esp + 0x5c]
jmp 0x49c346
mov eax, edi
lea edi, [esp + 0x1ec]
lea esi, [esp + 0x204]
call fcn.0045d0ae
nop
mov ecx, dword [esp + 0x1ec]
mov edx, dword [esp + 0x1e4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
and ecx, 0x3fffffff
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
call fcn.00499f30
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov edx, dword [esp + 0x74]
test edx, edx
je 0x49b87c
lea eax, [edx + ebx]
mov dword [esp + 0xdc], eax
cmp edi, eax
jae 0x49b828
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov dword [esp + 0xd8], edi
mov dword [esp + 0x1e8], esi
lea eax, [esi + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045d2d0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x49b164
mov eax, 0x88888889
mov edx, dword [esp + 0x70]
imul edx
mov eax, ecx
mov ecx, dword [esp + 0x70]
add edx, ecx
sar edx, 5
mov dword [esp + 0xdc], edx
sar ecx, 0x1f
sub edx, ecx
test edx, edx
jge 0x49b907
lea edx, [ebx + 1]
cmp edi, edx
jae 0x49b8f8
mov dword [esp + 0xd8], ecx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xd8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2d
mov ebx, dword [esp + 0xdc]
sub ecx, ebx
jmp 0x49b961
lea ecx, [ebx + 1]
cmp edi, ecx
jae 0x49b957
mov dword [esp + 0x30], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x2b
mov ebx, edx
mov edx, ecx
mov ecx, ebx
mov dword [esp + 0xdc], ecx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00499d10
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0xd8]
imul ecx, ecx, 0x3c
mov edx, dword [esp + 0xdc]
sub edx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x101
jne 0x49ba7e
mov edx, dword [esp + 0x78]
lea ebp, [edx - 1]
cmp ebp, 0xb
jbe 0x49ba5b
mov ebp, edi
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.0045cbcb
test edx, edx
sete cl
mov eax, edx
sar edx, 0x1f
test edx, edx
mov edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and ecx, esi
test cl, cl
jne 0x49ba49
mov ecx, eax
mov esi, 0x14
jmp 0x49cd85
mov byte [esp + 0x10b], 0x30
mov ecx, 0x13
jmp 0x49ccd0
mov esi, dword [0x65f5d4]
mov edi, dword [0x65f5d0]
cmp esi, ebp
jbe 0x49ccc7
lea ebp, [edi + edx*8 - 8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
jmp 0x49cbf3
cmp edx, 0x102
jne 0x49bb03
mov edx, ebp
mov ebp, dword [esp + 0x78]
lea esi, [ebp - 1]
cmp esi, 0xb
ja 0x49bab6
mov edi, dword [0x65f5d4]
mov ebx, dword [0x65f5d0]
cmp edi, esi
jbe 0x49cbea
lea ebx, [ebx + ebp*8 - 8]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x49c9c2
mov esi, edi
lea edi, [esp + 0x10c]
xor eax, eax
call fcn.0045cbcb
mov ecx, ebp
sar ebp, 0x1f
test ebp, ebp
mov eax, edx
sete dl
test ecx, ecx
mov edi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x49baf1
mov edx, ecx
mov esi, 0x14
jmp 0x49caf9
mov byte [esp + 0x11f], 0x30
mov edx, 0x13
jmp 0x49c94b
cmp edx, 0x103
jne 0x49c346
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x106
jg 0x49bd47
cmp edx, 0x104
je 0x49bd00
cmp edx, 0x105
jne 0x49bc3d
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00457280
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [edx + ecx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
jbe 0x49bc1c
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x120]
xor eax, eax
call fcn.0045cbcb
mov ecx, dword [esp + 0xdc]
mov edx, ecx
sar ecx, 0x1f
test ecx, ecx
sete bl
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x49bc0a
mov eax, 0x14
jmp 0x49c865
mov byte [esp + 0x133], 0x30
mov eax, 0x13
jmp 0x49c7e9
mov ecx, dword [0x65f5c4]
mov edx, dword [0x65f5c0]
cmp ecx, eax
jbe 0x49c7e4
lea eax, [edx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x49c729
mov eax, dword [esp + 0x8c]
add eax, 0x15180
mov edx, dword [esp + 0x90]
adc edx, 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00457280
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [edx + ecx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
cmp eax, 6
ja 0x49bcad
mov ecx, dword [0x65f5c4]
mov ebx, dword [0x65f5c0]
cmp ecx, eax
jbe 0x49c724
lea eax, [ebx + eax*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x49c57e
mov dword [esp + 0xdc], eax
lea edi, [esp + 0x134]
xor eax, eax
call fcn.0045cbcb
mov ecx, dword [esp + 0xdc]
test ecx, ecx
sete dl
mov ebx, ecx
sar ecx, 0x1f
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x49bcee
mov eax, 0x14
jmp 0x49c649
mov byte [esp + 0x147], 0x30
mov eax, 0x13
jmp 0x49c51d
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x107
je 0x49be4b
cmp edx, 0x108
jne 0x49be01
mov edx, dword [esp + 0x84]
cmp edx, 0xa
jge 0x49bdbe
lea eax, [ebx + 1]
cmp edi, eax
jae 0x49bdb8
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x20
mov ebx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x20d
jg 0x49c186
cmp edx, 0x113
jg 0x49c057
cmp edx, 0x10a
je 0x49bf5b
cmp edx, 0x10b
je 0x49bf14
cmp edx, 0x113
jne 0x49c346
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov edx, dword [esp + 0x3c]
cmp edx, 0x64
jge 0x49c014
lea eax, [ebx + 1]
cmp edi, eax
jae 0x49bfb2
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov byte [esi + ebx], 0x20
cmp edx, 0xa
jge 0x49c012
lea ebx, [eax + 1]
cmp edi, ebx
jae 0x49c00c
mov dword [esp + 0xc0], eax
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x80]
mov byte [esi + eax], 0x20
jmp 0x49c014
mov ebx, eax
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x114
je 0x49c121
cmp edx, 0x20c
je 0x49c0de
cmp edx, 0x20d
jne 0x49c346
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x49c09b
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov edx, dword [esp + 0x38]
test edx, edx
jge 0x49c12b
neg edx
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, 0x51eb851f
mov ecx, edx
imul edx
sar edx, 5
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x64
sub ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x210
jle 0x49c3e7
cmp edx, 0x212
jle 0x49c351
cmp edx, 0x215
jne 0x49c272
cmp ebp, 0xc
jl 0x49c20d
lea edx, [ebx + 2]
cmp edi, edx
jae 0x49c205
mov dword [esp + 0xbc], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x4d50
jmp 0x49c269
lea edx, [ebx + 2]
cmp edi, edx
jae 0x49c263
mov dword [esp + 0xb8], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x4d41
mov ecx, dword [esp + 0x70]
jmp 0x49b164
cmp edx, 0x216
jne 0x49c346
cmp ebp, 0xc
jl 0x49c2e1
lea edx, [ebx + 2]
cmp edi, edx
jae 0x49c2d9
mov dword [esp + 0xb4], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x6d70
jmp 0x49c33d
lea edx, [ebx + 2]
cmp edi, edx
jae 0x49c337
mov dword [esp + 0xb0], edx
lea eax, [0x5317a0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0xb0]
mov ebx, dword [esp + 0xd0]
mov edi, ebp
mov ebp, dword [esp + 0x80]
mov word [esi + ebx], 0x6d61
mov ecx, dword [esp + 0x70]
jmp 0x49b164
mov ecx, dword [esp + 0x70]
mov edx, ebx
jmp 0x49b164
cmp edx, 0x211
jne 0x49c3a0
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x20e
jne 0x49c456
mov eax, 0xaaaaaaab
imul ebp
add edx, ebp
sar edx, 3
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x49c413
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
cmp edx, 0x20f
jne 0x49c4a5
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.00499d10
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov edx, ebx
mov edi, ebp
mov ebp, dword [esp + 0x80]
jmp 0x49b164
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xdc]
mov esi, dword [esp + 0x1e8]
mov dword [esp + 0x22c], esi
mov dword [esp + 0x230], ebx
mov dword [esp + 0x234], ebp
add esp, 0x200
ret
cmp eax, 0x14
ja 0x49c631
lea ecx, [esp + 0x1a8]
mov dword [esp], ecx
lea ecx, [0x54f2b6]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
lea edx, [eax - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0x134]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
lea eax, [0x54de87]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.004497f0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp eax, 3
jb 0x49c625
mov eax, dword [esp + 0xd0]
lea ecx, [eax + 3]
mov edx, dword [esp + 0xcc]
cmp edx, ecx
jb 0x49c5a5
mov esi, dword [esp + 0x1e4]
jmp 0x49c5f7
mov dword [esp + 0xac], ecx
mov dword [esp + 0x1c8], ebx
lea ebx, [0x5317a0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x1c8]
mov edx, ebp
mov ebp, ebx
movzx ebx, word [ebx]
mov edi, ebx
movzx ebx, byte [ebp + 2]
mov word [esi + eax], di
mov byte [esi + eax + 2], bl
mov eax, dword [esp + 0x1d4]
mov ebp, dword [esp + 0x80]
mov edi, edx
mov edx, ecx
mov ecx, dword [esp + 0x70]
jmp 0x49b164
mov ecx, 3
mov edx, eax
call fcn.0045ca20
mov ecx, 0x14
call fcn.0045ca60
lea ebp, [ecx + 0x30]
xchg ebp, eax
mov byte [esp + edx + 0x133], al
xchg ebp, eax
mov ecx, esi
test ecx, ecx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or edx, ebp
test dl, dl
je 0x49c51d
mov dword [esp + 0x4c], eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov esi, edx
add edx, 0
mov eax, 0xcccccccd
mov edi, edx
mul ecx
shr edx, 3
mov dword [esp + 0xa8], edx
lea ebp, [edx + edx*4]
shl ebp, 1
sub ecx, ebp
mov eax, 0x19999999
mul ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
add eax, edi
lea ebp, [esi + esi*4]
lea edx, [ecx + ecx*2]
shl ebp, 1
mov ecx, ebx
sub ebx, ebp
lea edx, [ebx + edx*2]
mov ebx, eax
mov eax, 0xcccccccd
mul edx
shr edx, 3
mov dword [esp + 0x9c], edx
mov ebp, ebx
add ebx, edx
mov eax, ebx
mov edx, 0xa
mul edx
sub ecx, eax
add esi, 0
mov edx, dword [esp + 0xa8]
adc edx, 0
mov esi, dword [esp + 0xa0]
add esi, edi
mov esi, dword [esp + 0xa4]
adc esi, edx
mov edx, dword [esp + 0x9c]
add ebp, edx
adc esi, 0
mov edx, dword [esp + 0x4c]
lea eax, [edx - 1]
cmp eax, 0x14
jb 0x49c63b
mov ecx, 0x14
call fcn.0045ca00
call fcn.0045ca00
mov edx, dword [esp + 0xd0]
lea ebx, [eax + edx]
mov dword [esp + 0xdc], ebx
mov ebp, dword [esp + 0xcc]
cmp ebp, ebx
jb 0x49c74e
mov esi, dword [esp + 0x1e4]
jmp 0x49c798
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x68], eax
lea eax, [0x5317a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1e4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1d8]
mov edx, dword [esp + 0xd0]
mov dword [esp + 0xd8], ebp
mov dword [esp + 0x1e8], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045d2d0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x49b164
call fcn.0045ca00
cmp eax, 0x14
ja 0x49c84b
lea ecx, [esp + 0x188]
mov dword [esp], ecx
lea ecx, [0x54f2b6]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xa
lea edx, [eax - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
lea eax, [esp + eax + 0x120]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
lea eax, [0x54de87]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.004497f0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x49c729
mov ecx, 0x14
call fcn.0045ca60
lea edi, [edx + 0x30]
xchg edi, eax
mov byte [esp + esi + 0x11f], al
xchg edi, eax
mov edx, ebx
mov ecx, ebp
test ecx, ecx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebx, esi
or ebx, ebp
test bl, bl
je 0x49c7e9
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
mov eax, ecx
mov ebp, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ecx, edi
mov eax, 0x19999999
mov edi, edx
mul ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, ebp
mul esi
shr edx, 3
mov eax, edx
add edx, 0
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0xa4]
add ebx, edx
lea edx, [ecx + ecx*2]
mov ecx, edi
lea edi, [eax + eax*4]
shl edi, 1
sub esi, edi
lea edx, [esi + edx*2]
mov esi, eax
mov eax, ebp
mul edx
shr edx, 3
mov dword [esp + 0x9c], edx
mov edi, ebx
add ebx, edx
mov eax, 0xa
mul ebx
mov edx, dword [esp + 0x50]
sub edx, eax
add esi, 0
adc ecx, 0
mov esi, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
add esi, ebp
mov ebp, dword [esp + 0xa8]
adc ebp, ecx
mov esi, dword [esp + 0x9c]
add edi, esi
adc ebp, 0
mov esi, dword [esp + 0x48]
lea eax, [esi - 1]
cmp eax, 0x14
jb 0x49c855
mov ecx, 0x14
call fcn.0045ca00
cmp edx, 0x14
ja 0x49cabf
lea eax, [esp + 0x168]
mov dword [esp], eax
lea eax, [0x54eb23]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
lea ecx, [edx - 0x14]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and edx, ecx
lea ecx, [esp + edx + 0x10c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
lea ecx, [0x54de87]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.004497f0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x80]
mov ebp, dword [esp + 0x78]
cmp ebx, 3
jb 0x49cab3
mov ebx, dword [esp + 0xd0]
lea edi, [ebx + 3]
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x49c9fe
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe8]
jmp 0x49ca66
mov dword [esp + 0x98], edi
mov dword [esp + 0x1d0], esi
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0x98]
mov dword [esp + 0x1e8], esi
mov eax, ebp
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x1d0]
movzx ebx, word [esi]
mov word [esp + 0x2a], bx
movzx ebx, byte [esi + 2]
mov esi, ebx
mov ebx, dword [esp + 0xd0]
movzx ecx, word [esp + 0x2a]
mov edx, dword [esp + 0x1e8]
mov word [edx + ebx], cx
xchg esi, eax
mov byte [edx + ebx + 2], al
xchg esi, eax
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, edi
mov edi, eax
mov esi, dword [esp + 0x1e8]
mov eax, dword [esp + 0x1d4]
jmp 0x49b164
mov ecx, 3
mov edx, ebx
call fcn.0045ca20
mov eax, edx
mov ecx, 0x14
call fcn.0045ca60
add eax, 0x30
mov byte [esp + ebx + 0x10b], al
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x78]
test ebp, ebp
sete dl
test ecx, ecx
xchg edi, ebx
seta bl
xchg edi, ebx
test ebp, ebp
seta bl
and edx, edi
or edx, ebx
test dl, dl
je 0x49cbc5
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], esi
mov eax, 0xcccccccd
mul ebp
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ebp, edi
mov eax, 0x19999999
mov edi, edx
mul ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, 0xcccccccd
mul ecx
shr edx, 3
mov eax, edx
add edx, 0
mov ebx, dword [esp + 0xa4]
add ebx, edx
lea esi, [eax + eax*4]
lea ebp, [ebp + ebp*2]
shl esi, 1
sub ecx, esi
lea ebp, [ecx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mov esi, edx
mul ebp
shr edx, 3
mov ebp, edx
add edx, ebx
mov dword [esp + 0xa0], edx
mov eax, 0xa
mul edx
mov edx, dword [esp + 0x58]
sub edx, eax
add ecx, 0
adc edi, 0
mov eax, edx
mov edx, dword [esp + 0xa4]
add edx, esi
mov edx, dword [esp + 0xa8]
adc edx, edi
add ebp, ebx
adc edx, 0
mov ebx, dword [esp + 0x44]
lea ebp, [ebx - 1]
cmp ebp, 0x14
jb 0x49cacb
jmp 0x49cbde
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xcc]
mov edx, esi
jmp 0x49c94b
mov eax, ebp
mov ecx, 0x14
call fcn.0045ca00
mov eax, esi
mov ecx, edi
call fcn.0045ca00
lea edi, [ebp + ebx]
mov dword [esp + 0xdc], edi
mov eax, dword [esp + 0xcc]
cmp eax, edi
jb 0x49cc27
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1e4]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0xe0]
jmp 0x49cc7a
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x2c], ebp
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.004464a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0xd0]
mov dword [esp + 0x1e8], esi
mov eax, ebp
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x1cc]
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0x1e8]
lea edx, [ecx + ebx]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0045d2d0
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0xd8]
mov esi, dword [esp + 0x1e8]
jmp 0x49b164
mov eax, ebp
mov ecx, esi
call fcn.0045ca00
cmp ecx, 0x14
ja 0x49cd48
lea eax, [esp + 0x148]
mov dword [esp], eax
lea eax, [0x54eb23]
mov dword [esp + 4], eax
mov dword [esp + 8], 8
lea edx, [ecx - 0x14]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and ecx, edx
lea ecx, [esp + ecx + 0xf8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
lea ecx, [0x54de87]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 1
call fcn.004497f0
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0xd0]
jmp 0x49cbf3
mov eax, ecx
mov ecx, 0x14
call fcn.0045ca60
add edx, 0x30
mov byte [esp + ebp + 0xf7], dl
mov edx, dword [esp + 0x94]
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1e4]
mov edx, ebx
mov esi, eax
mov ebx, dword [esp + 0xd0]
mov eax, dword [esp + 0x94]
test eax, eax
xchg edi, ebx
seta bl
xchg edi, ebx
test edx, edx
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta bl
and ebp, edi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x49ce71
mov dword [esp + 0x54], eax
mov dword [esp + 0x40], esi
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul edx
shr edx, 3
lea edi, [edx + edx*4]
shl edi, 1
sub ebp, edi
mov eax, 0x19999999
mov edi, edx
mul ebp
mov dword [esp + 0xa8], edx
mov dword [esp + 0xa4], eax
mov eax, 0xcccccccd
mul ebx
shr edx, 3
mov eax, edx
add edx, 0
mov dword [esp + 0xa0], edx
mov esi, dword [esp + 0xa4]
add esi, edx
lea ebp, [ebp + ebp*2]
lea edx, [eax + eax*4]
shl edx, 1
sub ebx, edx
lea edx, [ebx + ebp*2]
mov ebx, eax
mov eax, edx
mov ebp, 0xcccccccd
mul ebp
shr edx, 3
mov dword [esp + 0x9c], edx
add edx, esi
mov dword [esp + 0x94], edx
mov eax, 0xa
mul edx
mov edx, dword [esp + 0x54]
sub edx, eax
add ebx, 0
adc edi, 0
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
add ebx, ebp
mov ebx, dword [esp + 0xa8]
adc ebx, edi
mov ebp, dword [esp + 0x9c]
add ebp, esi
adc ebx, 0
mov ebp, dword [esp + 0x40]
lea eax, [ebp - 1]
cmp eax, 0x14
jb 0x49cd54
jmp 0x49ce8f
mov eax, ecx
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0xcc]
mov edi, dword [esp + 0x1e4]
mov ecx, esi
jmp 0x49ccd0
mov ecx, 0x14
call fcn.0045ca00
nop
call fcn.0045b540
jmp fcn.0049b070