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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x497e4f
sub esp, 0x84
mov ebx, dword [esp + 0x88]
mov byte [ebx + 0x7c], 0
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
xor eax, eax
xor ecx, ecx
jmp 0x496e40
mov edi, dword [esp + 0x8c]
mov ebx, ebp
mov ebp, edi
mov esi, eax
mov eax, ecx
mov ecx, edx
cmp esi, eax
jle 0x497774
mov byte [ebx + 0x7d], 1
mov edx, eax
jmp 0x497bcc
mov dword [esp + 0x40], ecx
cmp eax, edx
jg 0x496e62
cmp esi, eax
jmp 0x496f54
cmp esi, eax
jb 0x497e3e
cmp eax, edx
jb 0x497e35
mov dword [esp + 0x3c], eax
sub eax, edx
mov dword [esp + 0x34], eax
neg eax
sar eax, 0x1f
and eax, edx
add eax, ebp
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x34]
lea ebp, [ecx + edx]
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
cmp esi, ebp
jae 0x496ed6
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], edx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
add edx, edi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0045e150
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov eax, dword [0x577530]
test eax, eax
jne 0x496f28
mov edx, dword [esp + 0x78]
mov dword [edi], edx
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jmp 0x496f3e
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
mov eax, edx
mov ecx, dword [esp + 0x40]
mov ebx, edi
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
jle 0x497774
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x25], 0
mov dword [ebx + 0x29], 0
lea edx, [eax + 1]
jmp 0x497be9
mov eax, edx
lea edx, [edi - 0x61]
cmp dl, 0x19
ja 0x4970df
mov edx, dword [esp + 0x98]
cmp edx, ecx
jle 0x4970f1
mov dword [esp + 0x5c], eax
xchg edi, eax
cmp al, 0x76
xchg edi, eax
jne 0x496fa6
cmp edx, ecx
jmp 0x49706d
xchg edi, eax
cmp al, 0x77
xchg edi, eax
jne 0x497090
xchg edi, eax
mov byte [esp + 0x27], al
xchg edi, eax
mov ebp, dword [ebx + 0x88]
inc ebp
mov esi, dword [ebx + 0x84]
mov edi, dword [ebx + 0x8c]
cmp edi, ebp
jb 0x496fd2
cmp edx, ecx
jmp 0x497050
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x4a4fe0]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x49702c
mov dword [ebx + 0x84], eax
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x40]
cmp edx, ebp
jmp 0x497044
lea edi, [ebx + 0x84]
call fcn.0045d890
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x40]
cmp edx, ebp
mov ebp, ecx
mov esi, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x88], ebp
mov dword [esi + ebp*4 - 4], ecx
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
movzx edi, byte [esp + 0x27]
movzx ebp, byte [ebx + 0x28]
xchg ebp, eax
mov byte [ebx + 0x2c], al
xchg ebp, eax
mov byte [ebx + 0x28], 0
movzx ebp, byte [ebx + 0x27]
xchg ebp, eax
mov byte [ebx + 0x2b], al
xchg ebp, eax
mov byte [ebx + 0x27], 0
mov ebp, dword [esp + 0x8c]
jmp 0x497092
cmp edx, ecx
jbe 0x497e23
mov eax, dword [esp + 0x94]
lea edx, [eax + ecx*8]
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
xchg edi, eax
movzx edx, al
xchg edi, eax
mov dword [esp + 0xc], edx
call fcn.00493f10
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x5c]
inc ecx
mov ebp, dword [esp + 0x88]
mov edx, eax
mov eax, dword [esp + 0x90]
jmp 0x496e2f
mov edx, dword [esp + 0x98]
jmp 0x4970f1
mov eax, edx
mov edx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00496990
mov eax, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x90]
cmp ebx, eax
jle 0x49726e
jbe 0x497e1c
mov ebp, dword [esp + 0x8c]
lea esi, [ebp + eax]
cmp byte [esi], 0x2a
je 0x497146
cmp ebx, eax
jmp 0x497275
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.00496650
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x30], ecx
mov byte [ebx + 0x24], al
test al, al
jne 0x49723d
mov dword [esp + 0x50], edx
nop
mov eax, dword [ebx + 4]
lea ecx, [eax + 0xc]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
cmp ebp, ecx
jae 0x4971df
mov dword [esp + 0x5c], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0xc
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], esi
add eax, esi
mov dword [esp], eax
lea eax, [0x4b37a2]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.0045e150
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov eax, dword [0x577530]
test eax, eax
jne 0x49722e
mov ebx, dword [esp + 0x78]
mov dword [edi], ebx
jmp 0x497237
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov edx, dword [esp + 0x50]
mov ebx, edi
mov ebp, dword [ebx + 0x30]
test ebp, ebp
jge 0x497255
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [ebx + 0x30], ebp
mov byte [ebx + 0x26], 1
mov byte [ebx + 0x2a], 0
mov ebp, dword [esp + 0x54]
inc ebp
mov ebx, dword [esp + 0x90]
mov eax, ebp
xor ecx, ecx
mov ebp, dword [esp + 0x88]
jmp 0x4972c0
mov ebp, dword [esp + 0x8c]
jg 0x49727f
xor esi, esi
xor edi, edi
mov eax, ebx
jmp 0x4972a3
xor esi, esi
xor edi, edi
jmp 0x497c73
mov ebp, dword [esp + 0x8c]
xor esi, esi
xor edi, edi
mov eax, ebx
jmp 0x4972a3
movzx esi, byte [esp + 0x26]
jmp 0x4972a3
movzx esi, byte [esp + 0x26]
mov ebp, dword [esp + 0x88]
mov dword [ebp + 0x30], edi
xchg esi, eax
mov byte [ebp + 0x24], al
xchg esi, eax
test cl, cl
je 0x4972c0
xchg esi, eax
test al, al
xchg esi, eax
je 0x4972c0
mov byte [ebp + 0x7d], 0
lea esi, [eax + 1]
cmp ebx, esi
jle 0x49749b
cmp ebx, eax
jbe 0x497e0e
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x8c]
lea esi, [edi + eax]
cmp byte [esi], 0x2e
jne 0x4974a2
test cl, cl
je 0x4972f2
mov byte [ebp + 0x7d], 0
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
call fcn.00496990
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x90]
cmp ebx, eax
jle 0x49747e
jbe 0x497e07
mov ebp, dword [esp + 0x8c]
lea esi, [eax + ebp]
cmp byte [esi], 0x2a
je 0x497351
cmp ebx, eax
jmp 0x497485
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.00496650
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x25], cl
mov eax, dword [ebx + 0x34]
test eax, eax
jge 0x4973aa
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x25], 0
movzx ebp, byte [ebx + 0x25]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x497460
mov dword [esp + 0x48], edx
nop
mov eax, dword [ebx + 4]
lea ecx, [eax + 0xb]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx]
cmp ebp, ecx
jae 0x497402
mov dword [esp + 0x5c], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0xb
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ecx
add eax, esi
mov dword [esp], eax
lea eax, [0x4b3384]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xb
call fcn.0045e150
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov eax, dword [0x577530]
test eax, eax
jne 0x497451
mov ebx, dword [esp + 0x78]
mov dword [edi], ebx
jmp 0x49745a
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov edx, dword [esp + 0x48]
mov ebx, edi
mov ebp, dword [esp + 0x4c]
inc ebp
mov ebx, dword [esp + 0x90]
mov eax, ebp
mov ecx, edx
mov ebp, dword [esp + 0x88]
xor edx, edx
jmp 0x497dee
mov ebp, dword [esp + 0x8c]
jg 0x497492
xor esi, esi
xor edi, edi
mov eax, ebx
jmp 0x497dce
xor esi, esi
xor edi, edi
jmp 0x497d87
mov edi, dword [esp + 0x8c]
test cl, cl
jne 0x4974e6
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
call fcn.00496990
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x5c], edx
cmp ebx, eax
jle 0x497cb4
jbe 0x497d65
movzx esi, byte [edi + eax]
cmp esi, 0x80
jge 0x49750b
mov ecx, 1
jmp 0x49754f
mov dword [esp + 0x3c], eax
sub ebx, eax
mov edx, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, edi
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00463c40
mov esi, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov ecx, eax
mov eax, dword [esp + 0x3c]
lea edi, [ecx + eax]
mov dword [esp + 0x3c], edi
cmp esi, 0x25
jne 0x4975da
mov esi, dword [ebp + 4]
inc esi
mov eax, ebx
mov ebx, dword [ebp]
mov ecx, edi
mov edi, dword [ebp + 8]
cmp edi, esi
jae 0x4975cd
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x88]
mov dword [edi + 8], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x4975b3
mov dword [edi], eax
jmp 0x4975b8
call fcn.0045d890
mov edx, dword [esp + 0x5c]
mov ebp, edi
mov esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 4], esi
mov byte [esi + ebx - 1], 0x25
jmp 0x496e2f
mov eax, ebx
movzx ebx, byte [ebp + 0x7d]
test bl, bl
je 0x49774d
mov ecx, dword [esp + 0x98]
cmp ecx, edx
jle 0x497726
cmp esi, 0x77
jne 0x4976be
mov dword [esp + 0x2c], esi
mov ebx, dword [ebp + 0x88]
inc ebx
mov edi, dword [ebp + 0x84]
mov esi, dword [ebp + 0x8c]
cmp esi, ebx
jb 0x497622
cmp ecx, edx
jmp 0x4976aa
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x4a4fe0]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x8c], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x49767c
mov dword [ebx + 0x84], eax
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x5c]
cmp edx, ebp
jmp 0x497694
lea edi, [ebx + 0x84]
call fcn.0045d890
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x5c]
cmp edx, ebp
mov edx, ebp
mov ebp, ebx
mov ebx, ecx
mov edi, eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x98]
mov dword [ebp + 0x88], ebx
mov dword [edi + ebx*4 - 4], edx
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jmp 0x4976c5
cmp esi, 0x76
jne 0x4976dd
cmp ecx, edx
movzx ebx, byte [ebp + 0x28]
mov byte [ebp + 0x2c], bl
mov byte [ebp + 0x28], 0
movzx ebx, byte [ebp + 0x27]
mov byte [ebp + 0x2b], bl
mov byte [ebp + 0x27], 0
jmp 0x4976df
cmp ecx, edx
jbe 0x497d5e
mov eax, dword [esp + 0x94]
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
call fcn.00493f10
mov eax, dword [esp + 0x5c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x88]
jmp 0x496e2f
mov dword [esp], ebp
mov dword [esp + 4], esi
call fcn.00496c30
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x5c]
jmp 0x496e2f
mov dword [esp], ebp
mov dword [esp + 4], esi
call fcn.00496a70
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x5c]
jmp 0x496e2f
movzx eax, byte [ebx + 0x7c]
test al, al
jne 0x497892
mov eax, dword [esp + 0x98]
cmp eax, ecx
jle 0x497892
mov dword [esp + 0x40], ecx
nop
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x25], 0
mov dword [ebx + 0x29], 0
nop
mov edx, dword [ebx + 4]
lea ebp, [edx + 9]
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
cmp esi, ebp
jae 0x4977ef
mov dword [esp + 0x5c], edx
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 9
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x78], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
lea eax, [edi + edx]
mov dword [esp], eax
lea eax, [0x4b2da9]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.0045e150
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov eax, dword [0x577530]
test eax, eax
jne 0x49784c
mov edx, dword [esp + 0x78]
mov dword [edi], edx
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jmp 0x497862
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jb 0x497bc6
sub ecx, eax
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x9c]
sub edx, eax
neg edx
shl eax, 3
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x94]
add edx, eax
mov dword [esp + 0x74], edx
xor eax, eax
jmp 0x49789e
add esp, 0x84
ret
inc eax
mov edx, dword [esp + 0x74]
cmp eax, ecx
jge 0x497b5a
mov dword [esp + 0x38], eax
lea ebx, [edx + eax*8]
mov ebp, dword [ebx]
mov dword [esp + 0x44], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x70], ebx
test eax, eax
jle 0x497948
nop
mov esi, dword [edi + 4]
lea ebx, [esi + 2]
mov edx, dword [edi + 8]
mov ecx, dword [edi]
cmp edx, ebx
jae 0x497917
mov dword [esp + 0x58], esi
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov word [ecx + esi], 0x202c
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x497931
mov dword [edi], ecx
jmp 0x49793c
mov edx, eax
mov eax, ecx
call fcn.0045d890
mov eax, edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
test ebp, ebp
jne 0x4979d8
nop
mov ebx, dword [edi + 4]
lea ebp, [ebx + 5]
mov esi, dword [edi + 8]
mov edx, dword [edi]
cmp esi, ebp
jae 0x4979a5
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 5
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x88]
mov dword [edx + ebx], 0x6c696e3c
mov byte [edx + ebx + 4], 0x3e
mov dword [edi + 4], ebp
mov dword [edi + 8], esi
mov ebx, dword [0x577530]
test ebx, ebx
jne 0x4979c8
mov dword [edi], edx
jmp 0x497899
mov ebx, eax
mov eax, edx
call fcn.0045d890
mov eax, ebx
jmp 0x497899
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x4979fb
mov dword [esp + 0x60], eax
lea eax, [0x4d2b60]
mov dword [esp + 0x28], eax
jmp 0x497a03
xor esi, esi
mov dword [esp + 0x28], esi
xor esi, esi
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x80]
mov dword [esp], esi
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
cmp esi, ebx
jae 0x497a72
mov dword [esp + 0x58], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x68], ebp
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [0x4a5860]
mov dword [esp + 0x10], ecx
call fcn.00446c30
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x78], edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
lea ecx, [edi + edx]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.0045e150
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [edi + 8], ecx
mov edx, dword [0x577530]
test edx, edx
jne 0x497ab8
mov edx, dword [esp + 0x78]
mov dword [edi], edx
jmp 0x497ac9
mov edx, eax
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov eax, edx
mov edx, dword [esp + 0x78]
nop
inc eax
cmp ecx, eax
jae 0x497b1e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x88]
mov dword [edi + 8], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x497b15
mov dword [edi], eax
jmp 0x497b1a
call fcn.0045d890
mov edx, eax
mov eax, ecx
mov dword [edi + 4], eax
mov byte [eax + edx - 1], 0x3d
mov dword [esp], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x76
call fcn.00493f10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x88]
jmp 0x497899
nop
mov eax, dword [edi + 4]
inc eax
mov ecx, dword [edi]
mov edx, dword [edi + 8]
cmp edx, eax
jae 0x497bb9
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x88]
mov dword [edi + 8], edx
mov edx, dword [0x577530]
test edx, edx
jne 0x497bae
mov dword [edi], eax
jmp 0x497bb3
call fcn.0045d890
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [edi + 4], eax
mov byte [eax + ecx - 1], 0x29
jmp 0x497892
call fcn.0045d970
inc eax
cmp esi, eax
jle 0x496e53
jbe 0x497e47
lea edi, [ebp + eax]
cmp byte [edi], 0x25
jne 0x497bcb
jmp 0x496e53
inc edx
cmp esi, edx
jle 0x4970e8
jbe 0x497e2c
movzx edi, byte [ebp + edx]
xchg edi, eax
cmp al, 0x23
xchg edi, eax
ja 0x497c21
xchg edi, eax
cmp al, 0x20
xchg edi, eax
jne 0x497c10
mov byte [ebx + 0x29], 1
jmp 0x497be8
xchg edi, eax
cmp al, 0x23
xchg edi, eax
jne 0x496f77
mov byte [ebx + 0x28], 1
jmp 0x497be8
xchg edi, eax
cmp al, 0x2b
xchg edi, eax
jne 0x497c2e
mov byte [ebx + 0x27], 1
jmp 0x497be8
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
jne 0x497c3f
mov byte [ebx + 0x26], 1
mov byte [ebx + 0x2a], 0
jmp 0x497be8
xchg edi, eax
cmp al, 0x30
xchg edi, eax
jne 0x496f77
movzx edi, byte [ebx + 0x26]
xor edi, 1
xchg edi, eax
mov byte [ebx + 0x2a], al
xchg edi, eax
jmp 0x497be8
inc eax
lea ebp, [edi + edi*4]
add esi, 0xffffffd0
xchg esi, eax
movzx eax, al
xchg esi, eax
lea edi, [esi + ebp*2]
mov ebp, dword [esp + 0x8c]
mov esi, 1
cmp ebx, eax
jle 0x4972a3
jbe 0x497e15
xchg esi, eax
mov byte [esp + 0x26], al
xchg esi, eax
movzx esi, byte [eax + ebp]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x49729e
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x497297
lea ebp, [edi + 0xf4240]
cmp ebp, 0x1e8480
jbe 0x497c58
jmp 0x497288
nop
mov eax, dword [ebp + 4]
lea ecx, [eax + 0xa]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp]
cmp ebx, ecx
jae 0x497cfb
mov dword [esp + 0x58], eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xa
lea eax, [0x4a5860]
mov dword [esp + 0x10], eax
call fcn.00446c30
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x78], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ecx
add eax, esi
mov dword [esp], eax
lea eax, [0x4b3053]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.0045e150
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x88]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov eax, dword [0x577530]
test eax, eax
jne 0x497d4a
mov eax, dword [esp + 0x78]
mov dword [edi], eax
jmp 0x497d53
mov eax, dword [esp + 0x78]
call fcn.0045d890
mov ebx, edi
mov ecx, dword [esp + 0x5c]
jmp 0x497774
mov eax, edx
call fcn.0045d910
mov ecx, ebx
call fcn.0045d910
inc eax
lea ebp, [edi + edi*4]
add esi, 0xffffffd0
xchg esi, eax
movzx eax, al
xchg esi, eax
lea edi, [esi + ebp*2]
mov ebp, dword [esp + 0x8c]
mov esi, 1
cmp ebx, eax
jle 0x497dce
jbe 0x497e00
xchg esi, eax
mov byte [esp + 0x25], al
xchg esi, eax
movzx esi, byte [eax + ebp]
xchg esi, eax
cmp al, 0x30
xchg esi, eax
jb 0x497dc9
xchg esi, eax
cmp al, 0x39
xchg esi, eax
ja 0x497dc2
lea ebp, [edi + 0xf4240]
cmp ebp, 0x1e8480
jbe 0x497d6c
mov ebp, dword [esp + 0x8c]
xor esi, esi
xor edi, edi
mov eax, ebx
jmp 0x497dce
movzx esi, byte [esp + 0x25]
jmp 0x497dce
movzx esi, byte [esp + 0x25]
mov ebp, dword [esp + 0x88]
mov dword [ebp + 0x34], edi
xchg esi, eax
mov byte [ebp + 0x25], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x497dee
mov dword [ebp + 0x34], 0
mov byte [ebp + 0x25], 1
mov edi, dword [esp + 0x8c]
mov esi, ecx
mov ecx, edx
mov edx, esi
jmp 0x4974a2
mov ecx, ebx
call fcn.0045d910
mov ecx, ebx
call fcn.0045d910
mov ecx, ebx
call fcn.0045d910
mov ecx, ebx
call fcn.0045d910
mov ecx, ebx
call fcn.0045d910
mov eax, ecx
mov ecx, edx
call fcn.0045d910
mov eax, edx
mov ecx, esi
call fcn.0045d910
mov ecx, eax
mov eax, edx
call fcn.0045d970
mov ecx, eax
mov edx, esi
call fcn.0045d930
mov ecx, esi
call fcn.0045d910
nop
call fcn.0045c480
jmp fcn.00496df0