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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x498253
sub esp, 0xe4
mov edi, esp
lea esi, [esp + 0xe8]
call fcn.0045a83e
call fcn.0049d910
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0xbc], ebp
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
mov esi, 0xffffffff
mov dword [esp + 0x30], esi
mov edi, 0xffffffff
mov dword [esp + 0x60], edi
xor edi, edi
mov dword [esp + 0x54], edi
xor esi, esi
mov dword [esp + 0x64], esi
xor esi, esi
mov dword [esp + 0x34], esi
xor esi, esi
mov dword [esp + 0x58], esi
xor esi, esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x10c]
mov edi, dword [esp + 0x108]
jmp 0x496dc4
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0xbc]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x104], edx
mov dword [esp + 0x100], ebx
mov dword [esp + 0xfc], esi
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
test esi, esi
je 0x498224
mov dword [esp], edi
mov dword [esp + 4], esi
call fcn.00495480
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xb0], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
test ecx, ecx
jne 0x498168
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov esi, dword [esp + 0xfc]
test eax, eax
je 0x49814c
mov dword [esp + 0xcc], esi
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], edx
mov edi, ebx
mov ebx, dword [esp + 0x30]
test ebx, ebx
jge 0x496e4a
test eax, 0x100
jne 0x4980ed
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x60]
test ebx, ebx
jge 0x496e61
test eax, 0x200
jne 0x49805b
mov dword [esp + 0x60], ebx
and eax, 0xffff
cmp eax, 0x109
jg 0x497a68
cmp eax, 0x103
jg 0x4976c1
cmp eax, 0x23
jg 0x4974d7
cmp eax, 0x17
je 0x4972a2
lea ebx, [eax - 0x18]
cmp ebx, 9
ja 0x49721f
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x497214
mov eax, ebx
mov ebx, dword [esp + 0x40]
cmp ebx, 0x18
jne 0x496f0a
lea ebx, [ecx + 1]
cmp ebx, edx
ja 0x496ec5
mov byte [esi + ecx], 0x5a
jmp 0x496d8c
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496ebc
cmp ebx, 0x1b
je 0x496eb5
cmp ebx, 0x19
je 0x496eb5
cmp ebx, 0x1a
je 0x496eb5
cmp ebx, 0x1c
je 0x496eb5
mov eax, 0x88888889
mov ebp, dword [esp + 0x68]
imul ebp
add edx, ebp
sar edx, 5
mov dword [esp + 0xa4], edx
mov eax, ebp
sar ebp, 0x1f
sub edx, ebp
test edx, edx
jge 0x4971ab
lea edx, [ecx + 1]
mov edi, dword [esp + 0xa8]
cmp edx, edi
ja 0x49715c
mov byte [esi + ecx], 0x2d
mov ecx, dword [esp + 0xa4]
sub ebp, ecx
neg eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xa4], eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov eax, 0x88888889
imul ebp
add edx, ebp
sar edx, 5
sar ebp, 0x1f
sub edx, ebp
mov dword [esp + 0xa0], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x40]
cmp ebp, 0x1b
jne 0x49713a
lea esi, [ecx + 1]
cmp edx, esi
jb 0x4970f6
mov byte [ebx + ecx], 0x3a
cmp ebp, 0x1f
je 0x496fda
cmp ebp, 0x1a
jne 0x4970b5
cmp ebp, 0x19
je 0x497008
cmp ebp, 0x1e
je 0x497008
cmp ebp, 0x21
je 0x497008
cmp ebp, 0x1c
je 0x497008
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
mov ecx, ebx
mov ebx, esi
mov esi, ecx
jmp 0x496d8c
cmp ebp, 0x21
jne 0x4970a5
lea ecx, [esi + 1]
cmp ecx, edx
ja 0x497065
mov byte [ebx + esi], 0x3a
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, 0x88888889
mov ecx, dword [esp + 0xa4]
imul ecx
add edx, ecx
sar edx, 5
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
imul ecx, edx, 0x3c
sub ebx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x496fee
mov dword [esp + 0x9c], esi
lea eax, [0x550e80]
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.00441c00
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov esi, dword [esp + 0x9c]
jmp 0x497018
cmp ebp, 0x1c
je 0x497011
mov ecx, esi
jmp 0x49701c
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0xa0]
imul eax, eax, 0x3c
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
jmp 0x496fda
mov dword [esp + 0x98], ecx
lea eax, [0x550e80]
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.00441c00
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x40]
jmp 0x496fc8
cmp ebp, 0x20
je 0x496fbd
cmp ebp, 0x1c
je 0x496fbd
cmp ebp, 0x21
je 0x496fbd
mov esi, ecx
jmp 0x496fcc
mov dword [esp + 0xa0], ebp
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
jmp 0x496f56
lea ebp, [ecx + 1]
mov edi, dword [esp + 0xa8]
cmp ebp, edi
ja 0x4971c8
mov byte [esi + ecx], 0x2b
mov ecx, edx
mov edx, ebp
mov ebp, ecx
jmp 0x496f65
mov dword [esp + 0x94], edx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x40]
jmp 0x4971b9
mov eax, ebx
mov ebx, dword [esp + 0x40]
jmp 0x496f1e
cmp eax, 0x22
jge 0x49722f
mov eax, dword [esp + 0x68]
mov ebx, ecx
jmp 0x496d8c
lea edi, [esp + 0xd0]
mov ebx, esi
lea esi, [esp + 0xe8]
call fcn.0045a83e
nop
mov ecx, dword [esp + 0xd0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
and ecx, 0x3fffffff
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x40]
sar ecx, 0x10
mov dword [esp + 0x10], ecx
cmp eax, 0x23
sete al
mov byte [esp + 0x14], al
call fcn.004966c0
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x497343
lea eax, [ebx + ecx]
mov dword [esp + 0x100], eax
cmp eax, edx
ja 0x49730d
mov dword [esp + 0xfc], esi
mov dword [esp + 0x104], edx
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0045aa60
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
jmp 0x496d8c
lea ebx, [0x550e80]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x50]
jmp 0x4972bc
mov eax, 0x88888889
mov ebx, dword [esp + 0x68]
imul ebx
add edx, ebx
sar edx, 5
mov dword [esp + 0xa4], edx
mov eax, ebx
sar ebx, 0x1f
sub edx, ebx
test edx, edx
jge 0x49746b
lea edx, [ecx + 1]
mov ebp, dword [esp + 0xa8]
cmp edx, ebp
ja 0x497419
mov byte [esi + ecx], 0x2d
mov ecx, dword [esp + 0xa4]
sub ebx, ecx
mov dword [esp + 0x28], ebx
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov eax, 0x88888889
imul ebx
lea ecx, [edx + ebx]
sar ecx, 5
sar ebx, 0x1f
sub ecx, ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004963c0
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 + 0xa4]
imul ecx, ecx, 0x3c
mov edx, dword [esp + 0x28]
sub edx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp + 0xa0], ebx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa0]
mov edi, dword [esp + 0xb0]
jmp 0x49737b
lea ebx, [ecx + 1]
mov ebp, dword [esp + 0xa8]
cmp ebx, ebp
ja 0x497488
mov byte [esi + ecx], 0x2b
mov ecx, edx
mov edx, ebx
mov ebx, ecx
jmp 0x497388
mov dword [esp + 0x90], edx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0xb0]
jmp 0x497479
cmp eax, 0x101
je 0x4975f2
cmp eax, 0x102
je 0x497534
cmp eax, 0x103
jne 0x497224
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0049d520
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
cmp edx, 3
jb 0x498248
mov ecx, dword [esp + 0xac]
lea edx, [ecx + 3]
mov ebx, dword [esp + 0xa8]
cmp edx, ebx
ja 0x49759d
mov ebp, dword [esp + 0xcc]
mov esi, ecx
movzx ecx, word [eax]
mov edi, ecx
movzx ecx, byte [eax + 2]
mov word [ebp + esi], di
mov byte [ebp + esi + 2], cl
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0xb0]
mov esi, ebp
mov ebp, dword [esp + 0x3c]
mov ecx, edx
mov edx, ebx
mov ebx, ecx
jmp 0x496d8c
mov dword [esp + 0x8c], edx
mov dword [esp + 0xc8], eax
lea eax, [0x550e80]
mov dword [esp], eax
mov ebp, dword [esp + 0xcc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00441c00
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x8c]
jmp 0x49756d
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.0049d520
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xac]
lea ebx, [edx + eax]
mov dword [esp + 0x100], ebx
mov ebp, dword [esp + 0xa8]
cmp ebx, ebp
ja 0x497672
mov esi, dword [esp + 0xcc]
mov dword [esp + 0xfc], esi
mov dword [esp + 0x104], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045aa60
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
jmp 0x496d8c
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc0], ecx
lea eax, [0x550e80]
mov dword [esp], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xac]
jmp 0x497629
cmp eax, 0x106
jg 0x49792f
cmp eax, 0x104
je 0x4978ef
cmp eax, 0x105
jne 0x4977f1
mov eax, dword [esp + 0x6c]
add eax, 0x15180
mov dword [esp], eax
mov eax, dword [esp + 0x70]
adc eax, 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00451bf0
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0xc22e4507
imul ecx
lea eax, [ecx + edx]
sar eax, 0x10
sar ecx, 0x1f
sub eax, ecx
mov dword [esp], eax
call fcn.0049d630
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xac]
lea ebx, [edx + eax]
mov dword [esp + 0x100], ebx
mov ebp, dword [esp + 0xa8]
cmp ebx, ebp
ja 0x4977a2
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x104], ebp
mov dword [esp + 0xfc], esi
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045aa60
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
mov edx, dword [esp + 0x104]
mov ebx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
jmp 0x496d8c
mov dword [esp + 0x48], eax
mov dword [esp + 0xb4], ecx
lea eax, [0x550e80]
mov dword [esp], eax
mov ecx, dword [esp + 0xcc]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
jmp 0x497759
mov eax, dword [esp + 0x6c]
add eax, 0x15180
mov dword [esp], eax
mov eax, dword [esp + 0x70]
adc eax, 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00451bf0
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
mov dword [esp], eax
call fcn.0049d630
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
cmp edx, 3
jb 0x49823e
mov ecx, dword [esp + 0xac]
lea edx, [ecx + 3]
mov ebx, dword [esp + 0xa8]
cmp edx, ebx
ja 0x49789a
mov ebp, dword [esp + 0xcc]
mov esi, ecx
movzx ecx, word [eax]
mov edi, ecx
movzx ecx, byte [eax + 2]
mov word [ebp + esi], di
mov byte [ebp + esi + 2], cl
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0xb0]
mov esi, ebp
mov ebp, dword [esp + 0x3c]
mov ecx, edx
mov edx, ebx
mov ebx, ecx
jmp 0x496d8c
mov dword [esp + 0x88], edx
mov dword [esp + 0xc4], eax
lea eax, [0x550e80]
mov dword [esp], eax
mov ebp, dword [esp + 0xcc]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00441c00
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x88]
jmp 0x49786a
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
cmp eax, 0x107
je 0x497a28
cmp eax, 0x108
jne 0x4979e8
mov eax, dword [esp + 0x64]
cmp eax, 0xa
jge 0x4979e1
lea ebx, [ecx + 1]
cmp ebx, edx
ja 0x497999
mov byte [esi + ecx], 0x20
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497959
mov ebx, ecx
jmp 0x49795d
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
cmp eax, 0x20d
jg 0x497d3d
cmp eax, 0x113
jg 0x497c21
cmp eax, 0x10a
je 0x497b1b
cmp eax, 0x10b
je 0x497adb
cmp eax, 0x113
jne 0x497224
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov eax, dword [esp + 0x34]
cmp eax, 0x64
jge 0x497b47
lea ebx, [ecx + 1]
cmp ebx, edx
ja 0x497bd9
mov byte [esi + ecx], 0x20
cmp eax, 0xa
jge 0x497bd2
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x497b83
mov byte [esi + ebx], 0x20
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp + 0x84], ebx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497b43
mov ecx, ebx
jmp 0x497b47
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497b2f
cmp eax, 0x114
je 0x497ce1
cmp eax, 0x20c
je 0x497ca5
cmp eax, 0x20d
jne 0x497224
mov eax, 0xaaaaaaab
imul ebx
add edx, ebx
sar edx, 3
mov eax, ebx
sar ebx, 0x1f
sub edx, ebx
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x497c62
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov ebx, dword [esp + 0x38]
test ebx, ebx
jge 0x497ceb
neg ebx
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, 0x51eb851f
imul ebx
sar edx, 5
mov ecx, ebx
sar ebx, 0x1f
sub edx, ebx
imul edx, edx, 0x64
sub ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
cmp eax, 0x210
jle 0x497f66
cmp eax, 0x212
jle 0x497edf
cmp eax, 0x215
jne 0x497e1c
cmp ebx, 0xc
jl 0x497dc7
lea eax, [ecx + 2]
cmp eax, edx
ja 0x497d7b
mov word [esi + ecx], 0x4d50
mov ebx, eax
mov eax, dword [esp + 0x68]
jmp 0x496d8c
mov dword [esp + 0x80], eax
lea ebx, [0x550e80]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497d6a
lea eax, [ecx + 2]
cmp eax, edx
ja 0x497dd6
mov word [esi + ecx], 0x4d41
jmp 0x497d70
mov dword [esp + 0x7c], eax
lea ebx, [0x550e80]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497dce
cmp eax, 0x216
jne 0x497224
cmp ebx, 0xc
jl 0x497e8a
lea eax, [ecx + 2]
cmp eax, edx
ja 0x497e44
mov word [esi + ecx], 0x6d70
mov ebx, eax
mov eax, dword [esp + 0x68]
jmp 0x496d8c
mov dword [esp + 0x78], eax
lea ebx, [0x550e80]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497e33
lea eax, [ecx + 2]
cmp eax, edx
ja 0x497e99
mov word [esi + ecx], 0x6d61
jmp 0x497e39
mov dword [esp + 0x74], eax
lea ebx, [0x550e80]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x497e91
cmp eax, 0x211
jne 0x497f26
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
cmp eax, 0x20e
jne 0x497fd4
mov eax, 0xaaaaaaab
imul ebx
add edx, ebx
sar edx, 3
mov eax, ebx
sar ebx, 0x1f
sub edx, ebx
lea edx, [edx + edx*2]
shl edx, 2
sub eax, edx
test eax, eax
jne 0x497f91
mov eax, 0xc
mov dword [esp], esi
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
cmp eax, 0x20f
jne 0x49801b
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004963c0
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xb0]
jmp 0x496d8c
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x15180
mov dword [esp + 0xc], 0
call fcn.00451bf0
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x91a2b3c5
imul ecx
lea ebx, [ecx + edx]
sar ebx, 0xb
mov eax, ecx
sar ecx, 0x1f
sub ebx, ecx
imul ecx, ebx, 0xe10
sub eax, ecx
mov ecx, eax
mov eax, 0x88888889
imul ecx
lea eax, [ecx + edx]
sar eax, 5
mov edx, ecx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x3c
sub edx, ecx
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0xa8]
jmp 0x496e61
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.0049e8e0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc edx
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xcc]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
jmp 0x496e4a
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xe4
ret
mov esi, dword [esp + 0x100]
lea edi, [ecx + esi]
mov dword [esp + 0xa4], edi
mov ebx, dword [esp + 0x104]
cmp edi, ebx
ja 0x4981ce
mov dword [esp + 0x104], ebx
mov eax, dword [esp + 0xfc]
lea ebp, [eax + esi]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0045aa60
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x104]
mov esi, dword [esp + 0xfc]
jmp 0x496e18
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xb8], edx
lea eax, [0x550e80]
mov dword [esp], eax
mov ecx, dword [esp + 0xfc]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0x100]
mov dword [esp + 0xfc], eax
jmp 0x498184
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov esi, dword [esp + 0xfc]
jmp 0x49814c
mov ecx, 3
call fcn.0045a190
mov ecx, 3
call fcn.0045a190
nop
call fcn.00458ba0
jmp fcn.00496ce0