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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50021e
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x534090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [esi + 0x18]
call fcn.00492b40
mov edi, eax
mov ebx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
cmp edi, 2
jne 0x4952c5
test ebx, ebx
jne 0x4952c5
push ecx
mov ecx, esi
call fcn.00492f90
mov ecx, dword [esi + 0x18]
call fcn.00492b40
mov edi, eax
mov dword [ebp - 0x14], eax
mov ebx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x30], 0x51a648
mov dword [ebp - 4], 0
cmp edi, 3
jne 0x49536a
test ebx, ebx
jne 0x49536a
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push eax
lea esi, [ebx + 0x150]
push esi
push dword [ebx + 0x144]
push dword [ebx + 0x140]
call fcn.004947b0
mov edi, eax
test edi, edi
je 0x495344
lea ecx, [ebp - 0x30]
call fcn.00496bf0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x140]
add dword [esi], eax
mov eax, dword [ebx + 0x144]
adc dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
call fcn.00492b40
mov edi, eax
mov ebx, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 8
mov dword [ebp - 0x6c], 0x5167cc
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x58], 0x51a228
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x44], 0x51a25c
mov byte [ebp - 4], 3
cmp edi, 4
jne 0x495573
test ebx, ebx
jne 0x495573
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov edi, dword [ebp - 0x10]
push edx
lea edx, [ebp - 0x58]
push edx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebx + 0x50]
push eax
lea ecx, [ebx + 0x3c]
push ecx
lea eax, [ebx + 0x28]
mov ecx, edi
push eax
lea eax, [ebx + 0x14]
push eax
push ebx
lea esi, [ebx + 0x148]
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.00494410
mov eax, dword [ebx + 0x140]
add dword [esi], eax
mov eax, dword [ebx + 0x144]
adc dword [esi + 4], eax
mov ecx, dword [edi + 0x18]
call fcn.00492b40
mov edi, eax
mov ebx, edx
mov esi, dword [ebp + 8]
push dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
lea ecx, [esi + 0x64]
push 0
mov dword [ebp - 0x18], ecx
call dword [eax + 4]
mov eax, edi
or eax, ebx
jne 0x495703
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], 0x5166c4
test esi, esi
jle 0x495477
push esi
push eax
lea ecx, [ebp - 0x44]
call fcn.004881f0
sub dword [ebp - 0x3c], esi
push dword [ebp - 0x38]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x58], 0x5166c4
test esi, esi
jle 0x4954b7
push esi
push 0
lea ecx, [ebp - 0x58]
call fcn.004881f0
sub dword [ebp - 0x50], esi
push dword [ebp - 0x4c]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x6c], 0x5166c4
test esi, esi
jle 0x4954f7
push esi
push 0
lea ecx, [ebp - 0x6c]
call fcn.004881f0
sub dword [ebp - 0x64], esi
push dword [ebp - 0x60]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x51a648
push 0
call fcn.00496b50
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x5166c4
test esi, esi
jle 0x495552
push esi
push 0
lea ecx, [ebp - 0x30]
call fcn.004881f0
sub dword [ebp - 0x28], esi
push dword [ebp - 0x24]
call fcn.004cbb15
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp + 0x10], esi
cmp dword [eax + 0x44], esi
jle 0x49543a
mov edi, eax
lea ebx, [edi + 0x50]
mov dword [ebp + 0xc], ebx
nop dword [eax]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
cmp edx, ecx
jne 0x4955c3
mov eax, 1
cmp ecx, 0x40
jl 0x4955ab
mov eax, ecx
shr eax, 2
jmp 0x4955b6
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00488150
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*4], 1
inc dword [ebx + 8]
mov eax, dword [edi + 0x48]
mov edi, dword [eax + esi*4]
mov edx, dword [edi + 0x44]
test edx, edx
jne 0x4955ed
xorps xmm0, xmm0
movlpd qword [ebp - 0x80], xmm0
mov esi, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x80]
jmp 0x495621
dec edx
test edx, edx
js 0x496201
mov esi, dword [edi + 0x1c]
xor ecx, ecx
test esi, esi
jle 0x495617
mov eax, dword [edi + 0x20]
add eax, 4
cmp dword [eax], edx
je 0x495613
inc ecx
add eax, 8
cmp ecx, esi
jl 0x495605
jmp 0x495617
test ecx, ecx
jns 0x4955ed
mov eax, dword [edi + 0x48]
mov ebx, dword [eax + edx*8]
mov esi, dword [eax + edx*8 + 4]
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
cmp edx, ecx
jne 0x495655
mov eax, 1
cmp ecx, 0x40
jl 0x49563c
mov eax, ecx
shr eax, 2
jmp 0x495647
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [ebp - 0x6c]
push eax
call fcn.00488150
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov dword [eax + edx*8], ebx
mov dword [eax + edx*8 + 4], esi
inc dword [ebp - 0x64]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
mov bl, byte [edi + 0x54]
cmp edx, ecx
jne 0x495699
mov eax, 1
cmp ecx, 0x40
jl 0x495680
mov eax, ecx
shr eax, 2
jmp 0x49568b
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [ebp - 0x58]
push eax
call fcn.00488150
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
mov byte [eax + edx], bl
inc dword [ebp - 0x50]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov esi, dword [edi + 0x50]
cmp edx, ecx
jne 0x4956d9
mov eax, 1
cmp ecx, 0x40
jl 0x4956c0
mov eax, ecx
shr eax, 2
jmp 0x4956cb
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [ebp - 0x44]
push eax
call fcn.00488150
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [eax + edx*4], esi
mov esi, dword [ebp + 0x10]
inc dword [ebp - 0x3c]
inc esi
mov dword [ebp + 0x10], esi
cmp esi, dword [edi + 0x44]
jl 0x495590
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jmp 0x49543a
cmp edi, 5
jne 0x496216
test ebx, ebx
jne 0x496216
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
call fcn.00492c10
mov ebx, dword [ebp - 0x18]
mov edi, eax
push edi
mov ecx, ebx
mov dword [ebp + 0xc], edi
call fcn.00488150
test edi, edi
je 0x495803
nop word [eax + eax]
lea ecx, [ebp - 0xd4]
call fcn.00455880
mov dword [ebp - 0xc8], 1
push 0x20
mov byte [ebp - 4], 9
call fcn.004cb682
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xe0]
mov dword [esi], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [esi + 0xc], eax
lea eax, [ebp - 0xd4]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
push eax
mov dword [esi + 4], edx
call fcn.004557d0
mov dword [esi + 0x1c], 1
mov byte [ebp - 4], 9
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
cmp edx, ecx
jne 0x4957dc
mov eax, 1
cmp ecx, 0x40
jl 0x4957c4
mov eax, ecx
shr eax, 2
jmp 0x4957cf
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00488150
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*4], esi
inc dword [ebx + 8]
mov byte [ebp - 4], 3
push dword [ebp - 0xd4]
call fcn.004cbb15
add esp, 4
sub edi, 1
jne 0x495740
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x160]
lea edi, [esi + 0x158]
mov ecx, dword [edi + 4]
mov dword [ebp - 0xfc], edi
cmp edx, ecx
jne 0x495845
mov eax, 1
cmp ecx, 0x40
jl 0x49582d
mov eax, ecx
shr eax, 2
jmp 0x495838
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, edi
push eax
call fcn.00488150
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [eax + edx*8], 9
mov dword [eax + edx*8 + 4], 0
mov ecx, dword [edi + 8]
inc ecx
mov dword [edi + 8], ecx
cmp dword [esi + 8], 0
je 0x4958ac
mov edx, dword [edi + 4]
cmp ecx, edx
jne 0x495894
mov eax, 1
cmp edx, 0x40
jl 0x49587c
mov eax, edx
shr eax, 2
jmp 0x495887
cmp edx, 8
mov ecx, 8
cmovge eax, ecx
add eax, edx
mov ecx, edi
push eax
call fcn.00488150
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*8], 6
mov dword [eax + ecx*8 + 4], 0
inc dword [edi + 8]
mov ecx, dword [edi + 8]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4958fe
cmp dword [ebp - 0x3c], 0
je 0x4958fe
mov edx, dword [edi + 4]
cmp ecx, edx
jne 0x4958e9
mov eax, 1
cmp edx, 0x40
jl 0x4958d1
mov eax, edx
shr eax, 2
jmp 0x4958dc
cmp edx, 8
mov ecx, 8
cmovge eax, ecx
add eax, edx
mov ecx, edi
push eax
call fcn.00488150
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*8], 0xa
mov dword [eax + ecx*8 + 4], 0
inc dword [edi + 8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 1
mov dword [ebp - 0xa8], 0x51a228
mov edx, esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
call fcn.004923c0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xbc], 0x51a228
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x94], 0x51a228
mov esi, dword [ebp - 0x10]
xor edi, edi
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x78], edi
mov ecx, dword [esi + 0x18]
call fcn.00492b40
mov ecx, eax
mov dword [ebp - 0x14], eax
or ecx, edx
mov dword [ebp - 0x74], edx
je 0x495eea
nop dword [eax]
mov ecx, dword [esi + 0x18]
call fcn.00492b40
cmp dword [ebp - 0x74], 0
mov ecx, eax
mov esi, dword [esi + 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc4], edx
mov eax, dword [esi + 8]
mov dword [ebp + 0x10], eax
ja case.0x495a12.22
mov eax, dword [ebp - 0x14]
jb 0x495a06
cmp eax, 0x40000000
ja case.0x495a12.22
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x495a12.22
jmp dword [eax*4 + 0x496228]
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0xe
mov edx, dword [ebp + 0x10]
cmp edx, dword [esi + 4]
jae 0x496220
mov eax, dword [esi]
mov cl, byte [edx + eax]
lea eax, [edx + 1]
mov dword [esi + 8], eax
mov esi, dword [ebp - 0x10]
test cl, cl
je 0x495a6d
mov ecx, dword [esi + 0x18]
call fcn.00492c10
test eax, eax
js 0x496216
cmp eax, dword [ebp - 0x28]
jge 0x496216
mov ecx, dword [ebp - 0x24]
push dword [ecx + eax*4]
lea ecx, [ebp - 0xf4]
push esi
call fcn.00492a60
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0xc0], edx
cmp dword [eax + 0x6c], edx
jle 0x495b53
mov ecx, dword [esi + 0x18]
mov esi, 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xe8], ecx
mov edi, dword [ecx]
mov edx, dword [eax + edx*4]
mov eax, dword [ecx + 8]
add edx, 0x10
mov ecx, dword [ecx + 4]
add edi, eax
sub ecx, eax
mov dword [ebp - 0x70], edx
and ecx, 0xfffffffe
jbe 0x495ac4
nop dword [eax]
cmp byte [esi + edi], 0
jne 0x495abd
cmp byte [esi + edi + 1], 0
je 0x495ac4
add esi, 2
cmp esi, ecx
jb 0x495ab0
cmp esi, ecx
je 0x496220
mov eax, esi
mov ebx, esi
and eax, 0xfffffffe
shr ebx, 1
mov dword [ebp - 0xf8], eax
cmp eax, esi
jne 0x49621b
cmp ebx, dword [edx + 8]
jl 0x495af3
push ebx
mov ecx, edx
call fcn.00455a30
mov edx, dword [ebp - 0x70]
mov edx, dword [edx]
xor ecx, ecx
test ebx, ebx
je 0x495b16
nop dword [eax + eax]
mov ax, word [edi]
lea edi, [edi + 2]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, ebx
jl 0x495b00
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
jmp 0x495b19
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0xf8]
xor edi, edi
mov word [edx + eax], di
lea eax, [esi + 2]
mov edx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0x10]
inc edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0xe8]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0xc0], edx
add dword [ecx + 8], eax
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x6c]
jl 0x495a81
mov byte [ebp - 4], 0xf
cmp byte [ebp - 0xf0], 0
je 0x495b92
mov ebx, dword [ebp - 0xf4]
push 1
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xc]
dec eax
push eax
call edx
cmp dword [ebx + 0xc], 0
je 0x495b8b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebx + 0x18], eax
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0xd
jmp 0x495da8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xd8], 0x51a228
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0x11
push dword [eax + 0x6c]
call fcn.00494570
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x12
mov edx, dword [edi + 0x18]
mov esi, dword [edx + 8]
cmp esi, dword [edx + 4]
jae 0x496220
mov eax, dword [edx]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov dword [edx + 8], eax
test cl, cl
je 0x495c36
mov ecx, dword [edi + 0x18]
call fcn.00492c10
test eax, eax
js 0x496216
cmp eax, dword [ebp - 0x28]
jge 0x496216
mov ecx, dword [ebp - 0x24]
push dword [ecx + eax*4]
lea ecx, [ebp - 0x80]
push edi
call fcn.00492a60
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x495c7f
nop dword [eax]
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xcc]
mov al, byte [eax + ecx]
mov byte [ebx + 0x1f], al
test al, al
je 0x495c76
mov edx, dword [edi + 0x18]
mov esi, dword [edx + 8]
lea edi, [esi + 4]
cmp edi, dword [edx + 4]
ja 0x496220
mov eax, dword [edx]
mov eax, dword [esi + eax]
mov dword [edx + 8], edi
mov edi, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov ebx, dword [ebp - 0x18]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x495c40
mov byte [ebp - 4], 0x13
cmp byte [ebp - 0x7c], 0
je 0x495cb5
mov ebx, dword [ebp - 0x80]
push 1
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xc]
dec eax
push eax
call edx
cmp dword [ebx + 0xc], 0
je 0x495cb1
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + ecx*4 - 4]
mov dword [ebx + 0x18], eax
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], 0x5166c4
test esi, esi
jle 0x495ce1
push esi
push 0
lea ecx, [ebp - 0xd8]
call fcn.004881f0
sub dword [ebp - 0xd0], esi
push dword [ebp - 0xcc]
call fcn.004cbb15
add esp, 4
mov byte [ebp - 4], 0xd
jmp 0x495da8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
call fcn.004944c0
mov edx, dword [ebp - 0xa0]
xor ecx, ecx
test edx, edx
je 0x495d34
mov esi, dword [ebp - 0x9c]
nop dword [eax]
cmp byte [esi + ecx], 0
mov eax, edi
lea edi, [eax + 1]
cmove edi, eax
inc ecx
cmp ecx, edx
jb 0x495d20
mov dword [ebp - 0x78], edi
mov edx, edi
lea ecx, [ebp - 0xbc]
call fcn.004923c0
mov edx, edi
lea ecx, [ebp - 0x94]
call fcn.004923c0
jmp 0x495da8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xbc]
push eax
push edi
call fcn.004944c0
jmp 0x495da8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x94]
push eax
push edi
call fcn.004944c0
jmp 0x495da8
mov eax, dword [ebp + 8]
add eax, 0xf0
jmp 0x495d98
mov eax, dword [ebp + 8]
add eax, 0x78
jmp 0x495d98
mov eax, dword [ebp + 8]
add eax, 0xa0
jmp 0x495d98
mov eax, dword [ebp + 8]
add eax, 0xc8
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00494620
mov ebx, dword [ebp - 0xfc]
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
cmp edx, ecx
jne 0x495de1
mov eax, 1
cmp ecx, 0x40
jl 0x495dc9
mov eax, ecx
shr eax, 2
jmp 0x495dd4
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00488150
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + edx*8 + 4], ecx
inc dword [ebx + 8]
mov edx, dword [ebp - 0xc4]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp byte [eax + 0x130], 0
ja 0x495eb0
cmp byte [eax + 0x131], 2
ja 0x495eb0
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x18]
jmp 0x495ece
xorps xmm0, xmm0
movlpd qword [ebp - 0xec], xmm0
test edx, edx
jb 0x495dfa
ja 0x495e3a
test ecx, ecx
je 0x495dfa
mov ebx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xec]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x18]
mov esi, dword [edx + 8]
cmp esi, dword [edx + 4]
jae 0x496220
mov eax, dword [edx]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov dword [edx + 8], eax
test cl, cl
jne 0x496216
mov edx, dword [ebp - 0xc4]
add edi, 1
adc ebx, 0
cmp ebx, edx
jb 0x495e46
ja 0x495dfa
cmp edi, dword [ebp - 0x1c]
jb 0x495e46
jmp 0x495dfa
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
test edx, edx
ja 0x496220
jb 0x495ea5
cmp ecx, eax
ja 0x496220
lea eax, [ecx + ebx]
mov dword [esi + 8], eax
jmp 0x495dfd
mov esi, dword [ebp - 0x10]
xor edi, edi
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 8]
sub eax, ebx
cmp eax, dword [ebp - 0x1c]
jne 0x496216
cmp edi, edx
jne 0x496216
call fcn.00492b40
mov edi, dword [ebp - 0x78]
mov ecx, edx
mov dword [ebp - 0x14], eax
or eax, ecx
mov dword [ebp - 0x74], ecx
je 0x495eea
mov ebx, dword [ebp - 0x18]
jmp 0x4959d0
mov edx, dword [ebp - 0x88]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x1c], 0
xor ecx, ecx
test edi, edi
je 0x495f11
cmp byte [edx + ecx], bl
mov eax, esi
lea esi, [eax + 1]
cmove esi, eax
inc ecx
cmp ecx, edi
jb 0x495f01
xor edi, edi
cmp dword [ebp + 0xc], ebx
jbe 0x496014
mov eax, dword [ebp + 8]
nop
mov eax, dword [eax + 0x70]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0x9c]
mov cl, byte [eax + edi]
test cl, cl
sete al
mov byte [edx + 0x1c], al
test cl, cl
jne 0x495f63
mov byte [edx + 0x1d], cl
mov eax, dword [ebp - 0x60]
mov byte [ebp + 0x13], cl
mov ecx, dword [eax + ebx*8]
mov eax, dword [eax + ebx*8 + 4]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + ebx*4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x4c]
add eax, ebx
inc ebx
mov al, byte [eax]
jmp 0x495f95
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x1c]
cmp byte [eax + ecx], 0
sete al
mov byte [edx + 0x1d], al
mov eax, dword [ebp - 0x88]
mov al, byte [eax + ecx]
inc ecx
mov byte [ebp + 0x13], al
xor al, al
mov dword [ebp - 0x1c], ecx
mov dword [edx], 0
mov dword [edx + 4], 0
mov byte [edx + 0x1e], al
test esi, esi
je 0x496001
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x120]
mov ecx, dword [ecx + 0x11c]
cmp edx, ecx
jne 0x495fe7
mov eax, 1
cmp ecx, 0x40
jl 0x495fc0
mov eax, ecx
shr eax, 2
jmp 0x495fcb
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, dword [ebp + 8]
push eax
lea ecx, [ecx + 0x118]
call fcn.00488150
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x120]
jmp 0x495fea
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x124]
mov cl, byte [ebp + 0x13]
mov byte [edx + eax], cl
mov eax, dword [ebp + 8]
inc dword [eax + 0x120]
jmp 0x496004
mov eax, dword [ebp + 8]
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x495f20
mov edx, dword [ebp - 0x88]
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x94], 0x5166c4
test esi, esi
jle 0x496046
push esi
push 0
lea ecx, [ebp - 0x94]
call fcn.004881f0
sub dword [ebp - 0x8c], esi
mov edx, dword [ebp - 0x88]
push edx
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0x17
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], 0x5166c4
test esi, esi
jle 0x496099
push esi
push 0
lea ecx, [ebp - 0xbc]
call fcn.004881f0
sub dword [ebp - 0xb4], esi
push dword [ebp - 0xb0]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 0x18
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], 0x5166c4
test esi, esi
jle 0x4960f1
push esi
push 0
lea ecx, [ebp - 0xa8]
call fcn.004881f0
sub dword [ebp - 0xa0], esi
push dword [ebp - 0x9c]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], 0x5166c4
test esi, esi
jle 0x49613d
push esi
push 0
lea ecx, [ebp - 0x44]
call fcn.004881f0
sub dword [ebp - 0x3c], esi
push dword [ebp - 0x38]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x1a
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x58], 0x5166c4
test esi, esi
jle 0x49617d
push esi
push 0
lea ecx, [ebp - 0x58]
call fcn.004881f0
sub dword [ebp - 0x50], esi
push dword [ebp - 0x4c]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x6c], 0x5166c4
test esi, esi
jle 0x4961bd
push esi
push 0
lea ecx, [ebp - 0x6c]
call fcn.004881f0
sub dword [ebp - 0x64], esi
push dword [ebp - 0x60]
call fcn.004cbb15
add esp, 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0x1c
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 0x51a648
push 0
call fcn.00496b50
mov byte [ebp - 4], 0x1d
jmp 0x495536
push 0x52e144
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
call fcn.004cd21b
call fcn.004929e0
call fcn.004929e0
call fcn.004929e0
nop dword [eax]
clc
pop esp
dec ecx
add byte [eax + 0x5d], dl
dec ecx
add byte [edx + 0x5d], ah
dec ecx
add byte [ecx], bl
pop edx
dec ecx
add byte [esi + 0x5d], bh
dec ecx
add byte [esi - 0x6fffb6a3], al
pop ebp
dec ecx
add byte [ebx - 0x74ffb6a5], bl
pop esi
dec ecx
add byte [ebx + 0x7400495e], cl
pop ebp
dec ecx
add byte [0xcc00495e], ah
int3