Function at 0x401615
Capabilities:
Copy file
Create process on windows
Create shortcut via ishelllink
Delete registry value
Get file version info
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x4785b4]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
and dword [ebp - 4], 0
push 7
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
mov edi, eax
mov ebx, edx
imul edi, edi, 0x4008
imul ebx, ebx, 0x4008
mov ecx, section..ndata
add edi, ecx
add ebx, ecx
lea ecx, [ebp - 0x24]
mov dword [0x40a0a4], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffffe
cmp ecx, 0x44
ja case.0x40166f.67
jmp dword [ecx*4 + 0x402ce5]
push 0
push eax
call fcn.00404bbd
mov eax, 0x7fffffff
jmp case.0x40166f.2
inc dword [0x470574]
cmp dword [ebp - 8], 0
je 0x40167e
push 0
call dword [0x408234]
jmp 0x40167e
push eax
call fcn.0040137c
dec eax
push 0
push eax
call fcn.0040139b
jmp case.0x40166f.2
push 0
push eax
call fcn.00404bbd
jmp case.0x40166f.67
xor ecx, ecx
call fcn.004014bf
cmp eax, 1
jg 0x4016ce
xor eax, eax
inc eax
push eax
call dword [0x40808c]
jmp case.0x40166f.67
push dword [ebp - 8]
call dword [0x408238]
jmp case.0x40166f.67
shl eax, 2
cmp dword [ebp - 0x1c], 0
jne 0x401714
mov ecx, dword [eax + 0x478660]
mov dword [eax + 0x478620], ecx
xor ecx, ecx
inc ecx
call fcn.004014bf
mov ecx, dword [ebp - 0x24]
mov dword [ecx*4 + 0x478660], eax
jmp case.0x40166f.67
mov ecx, dword [eax + 0x478620]
mov dword [eax + 0x478660], ecx
jmp case.0x40166f.67
mov edx, dword [ebp - 0x1c]
lea edx, [edx*4 + 0x478660]
mov ecx, dword [edx]
xor eax, eax
test ecx, ecx
sete al
and ecx, dword [ebp - 0x18]
mov dword [edx], ecx
mov eax, dword [ebp + eax*4 - 0x24]
jmp case.0x40166f.2
push dword [edx*4 + 0x478660]
jmp 0x402ccb
mov ecx, dword [0x470588]
mov esi, dword [0x40823c]
test ecx, ecx
je 0x401769
push edx
push ecx
call esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x47056c]
test ecx, ecx
je case.0x40166f.67
push eax
push ecx
call esi
jmp case.0x40166f.67
push 0xfffffffffffffff0
pop esi
call fcn.004014d5
push dword [ebp - 0x20]
push eax
call dword [0x408088]
test eax, eax
jne case.0x40166f.67
mov dword [ebp - 4], 1
jmp case.0x40166f.67
push 0xfffffffffffffff0
pop esi
call fcn.004014d5
mov ebx, eax
push ebx
call fcn.00405b48
mov esi, eax
test esi, esi
je 0x4017ff
push 0x5c
push esi
call fcn.00405af4
mov esi, eax
movzx edi, word [esi]
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [0x408084]
test eax, eax
jne 0x4017f5
call dword [0x408080]
cmp eax, 0xb7
jne 0x4017f2
push ebx
call dword [0x40807c]
test al, 0x10
jne 0x4017f5
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x4017bc
cmp dword [ebp - 0x20], 0
je 0x401823
push 0xffffffffffffffe6
call fcn.004014ae
push ebx
push 0x4d10b0
call fcn.00405df9
push ebx
call dword [0x408078]
jmp case.0x40166f.67
push 0xfffffffffffffff5
call fcn.004014ae
jmp case.0x40166f.67
xor esi, esi
call fcn.004014d5
push eax
call fcn.00405ed9
test eax, eax
je 0x401c09
mov eax, dword [ebp - 0x20]
jmp case.0x40166f.2
push 0xffffffffffffffd0
pop esi
call fcn.004014d5
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.004014d5
push 0x13
pop esi
mov ebx, eax
call fcn.004014d5
push ebx
push edi
call dword [0x408074]
test eax, eax
je 0x401878
push 0xffffffffffffffe3
jmp 0x401825
cmp dword [ebp - 0x1c], 0
je 0x40179a
push edi
call fcn.00405ed9
test eax, eax
je 0x40179a
push ebx
push edi
call fcn.00406867
push 0xffffffffffffffe4
jmp 0x401825
xor esi, esi
call fcn.004014d5
mov esi, eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x2004
push esi
call dword [0x408070]
test eax, eax
je 0x4018de
mov eax, dword [ebp + 8]
cmp eax, esi
jbe 0x4018ea
cmp word [eax], 0
je 0x4018ea
push esi
call fcn.00405ed9
test eax, eax
je 0x4018de
add eax, 0x2c
push eax
push dword [ebp + 8]
call fcn.00405df9
jmp 0x4018ea
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne case.0x40166f.67
push 0x2004
push ebx
push ebx
call dword [0x40806c]
jmp case.0x40166f.67
or esi, 0xffffffff
call fcn.004014d5
lea ecx, [ebp + 8]
push ecx
push edi
push 0x2004
push 0
push eax
push 0
call dword [0x408068]
test eax, eax
jne case.0x40166f.67
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x40166f.67
push 0xffffffffffffffef
pop esi
call fcn.004014d5
push eax
push edi
call fcn.00405c6e
jmp 0x401792
push 0x31
pop esi
call fcn.004014d5
mov esi, eax
mov eax, dword [ebp - 0x24]
and eax, 7
push esi
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], eax
call fcn.00405b13
push esi
mov esi, 0x40a0a8
test eax, eax
je 0x40197e
push esi
call fcn.00405df9
jmp 0x401995
push 0x4d10b0
push esi
call fcn.00405df9
push eax
call fcn.00406327
push eax
call fcn.00405e15
push esi
call fcn.00405e28
mov edi, 0x4120b8
mov ebx, section..ndata
cmp dword [ebp + 8], 3
jl 0x4019dc
push esi
call fcn.00405ed9
xor ecx, ecx
test eax, eax
je 0x4019c7
lea ecx, [ebp - 0x18]
push ecx
add eax, 0x14
push eax
call dword [0x408064]
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
or eax, 0x80000000
and eax, ecx
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x4019e8
push esi
call fcn.00405c1f
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405c3f
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x401a71
cmp dword [ebp + 8], 0
jne 0x401a53
push ebx
push edi
call fcn.00405df9
push esi
push ebx
call fcn.00405df9
push dword [ebp - 0x10]
push 0x40e0b0
call fcn.0040640b
push edi
push ebx
call fcn.00405df9
mov eax, dword [ebp - 0x24]
sar eax, 3
push eax
push 0x40e0b0
call fcn.00405a8e
sub eax, 4
je 0x4019a5
dec eax
je 0x401a66
push esi
push 0xfffffffffffffffa
jmp 0x401679
push dword [ebp - 0xc]
push 0xffffffffffffffe2
call fcn.00404bbd
cmp dword [ebp + 8], 2
jmp 0x401794
inc dword [0x478668]
jmp 0x402cda
push dword [ebp - 0xc]
push 0xffffffffffffffea
call fcn.00404bbd
inc dword [0x478694]
xor edi, edi
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 0x1c]
call fcn.00403131
dec dword [0x478694]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
jne 0x401aa4
cmp dword [ebp - 0x14], 0xffffffff
je 0x401ab3
lea eax, [ebp - 0x18]
push eax
push edi
push eax
push dword [ebp - 8]
call dword [0x408060]
push dword [ebp - 8]
call dword [0x4080c0]
cmp ebx, edi
jge case.0x40166f.67
cmp ebx, 0xfffffffe
jne 0x401adc
push 0xffffffffffffffe9
push esi
call fcn.0040640b
push dword [ebp - 0xc]
push esi
call fcn.00405e15
jmp 0x401ae4
push 0xffffffffffffffee
push esi
call fcn.0040640b
push 0x200010
push esi
call fcn.00405a8e
jmp 0x40167e
xor esi, esi
call fcn.004014d5
push dword [ebp - 0x20]
push eax
call fcn.0040689a
jmp case.0x40166f.67
push 0x31
pop esi
call fcn.004014d5
push dword [ebp - 0x24]
push eax
call fcn.00405a8e
test eax, eax
je 0x40179a
cmp eax, dword [ebp - 0x1c]
jne 0x401b2f
mov eax, dword [ebp - 0x18]
jmp case.0x40166f.2
cmp eax, dword [ebp - 0x14]
jne case.0x40166f.67
mov eax, dword [ebp - 0x10]
jmp case.0x40166f.2
push 0xfffffffffffffff0
pop esi
jmp 0x401af6
xor esi, esi
inc esi
call fcn.004014d5
push eax
call fcn.00405e0f
jmp 0x402cca
push 2
pop ecx
call fcn.004014bf
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.004014bf
xor esi, esi
inc esi
mov ebx, eax
call fcn.004014d5
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x1c], eax
je 0x401b8a
cmp dword [ebp + 8], eax
je case.0x40166f.67
push esi
call fcn.00405e0f
test ebx, ebx
jge 0x401b9c
add ebx, eax
js case.0x40166f.67
cmp ebx, eax
jle 0x401ba2
mov ebx, eax
lea eax, [esi + ebx*2]
push eax
push edi
call fcn.00405df9
mov esi, dword [ebp + 8]
test esi, esi
je case.0x40166f.67
jge 0x401bca
push edi
call fcn.00405e0f
add esi, eax
jns 0x401bca
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x2004
jge case.0x40166f.67
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x40166f.67
push 0x20
pop esi
call fcn.004014d5
push 0x31
pop esi
mov edi, eax
call fcn.004014d5
cmp dword [ebp - 0x14], 0
push eax
push edi
jne 0x401c11
call dword [0x40811c]
test eax, eax
jne 0x401b27
mov eax, dword [ebp - 0x1c]
jmp case.0x40166f.2
call dword [0x408120]
jmp 0x401c01
xor esi, esi
inc esi
call fcn.004014d5
push 0x2004
mov ebx, eax
push edi
push ebx
call dword [0x408124]
test eax, eax
je 0x401c46
cmp dword [ebp - 0x1c], 0
je 0x401c4e
push edi
push ebx
call dword [0x408120]
test eax, eax
jne 0x401c4e
xor eax, eax
mov dword [ebp - 4], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x4006], ax
jmp case.0x40166f.67
xor ecx, ecx
call fcn.004014bf
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014bf
cmp dword [ebp - 0x10], 0
jne 0x401c85
cmp esi, eax
jl 0x401b27
jle 0x401c09
mov eax, dword [ebp - 0x14]
jmp case.0x40166f.2
cmp esi, eax
jb 0x401b27
jbe 0x401c09
jmp 0x401c7d
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.004014bf
push 2
pop ecx
mov esi, eax
call fcn.004014bf
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xc
ja case.default.0x401cb3
jmp dword [eax*4 + 0x402df9]
add esi, ecx
jmp case.default.0x401cb3
sub esi, ecx
jmp case.default.0x401cb3
imul ecx, esi
mov esi, ecx
jmp case.default.0x401cb3
test ecx, ecx
je 0x401cd4
mov eax, esi
cdq
idiv ecx
jmp 0x401cee
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401cb3
or esi, ecx
jmp case.default.0x401cb3
and esi, ecx
jmp case.default.0x401cb3
xor esi, ecx
jmp case.default.0x401cb3
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401cb3
test esi, esi
jne 0x401cfa
test ecx, ecx
je 0x401d02
mov esi, ebx
jmp case.default.0x401cb3
test esi, esi
jne 0x401cf6
xor esi, esi
jmp case.default.0x401cb3
test ecx, ecx
je 0x401cd4
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401cb3
shl esi, cl
jmp case.default.0x401cb3
sar esi, cl
push esi
jmp 0x402ccb
xor esi, esi
inc esi
call fcn.004014d5
push 2
pop ecx
mov esi, eax
call fcn.004014bf
push eax
push esi
push edi
call dword [0x408240]
add esp, 0xc
jmp case.0x40166f.67
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x40a0a0]
test eax, eax
je 0x401d9f
dec eax
test esi, esi
je 0x401d5e
mov esi, dword [esi]
test eax, eax
jne 0x401d4f
test esi, esi
jne 0x401d72
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.0040640b
push eax
jmp 0x401aea
lea edi, [esi + 4]
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405df9
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405df9
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x402a9e
test edx, edx
je 0x401dc2
test esi, esi
je 0x40179a
lea eax, [esi + 4]
push eax
push edi
call fcn.00405df9
mov eax, dword [esi]
mov dword [0x40a0a0], eax
push esi
jmp 0x4021b2
push 0x400c
push 0x40
call dword [0x408128]
push dword [ebp - 0x24]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.0040640b
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x40166f.67
push 3
pop ecx
call fcn.004014bf
push 4
pop ecx
mov dword [ebp - 8], eax
call fcn.004014bf
test byte [ebp - 0x10], 1
mov dword [ebp + 8], eax
je 0x401e16
push 0x33
pop esi
call fcn.004014d5
mov dword [ebp - 8], eax
test byte [ebp - 0x10], 2
je 0x401e27
push 0x44
pop esi
call fcn.004014d5
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], 0x21
jne 0x401e78
xor ecx, ecx
inc ecx
call fcn.004014bf
push 2
pop ecx
mov esi, eax
call fcn.004014bf
mov ecx, dword [ebp - 0x10]
sar ecx, 2
test ecx, ecx
je 0x401e68
lea edx, [ebp - 0xc]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [0x408244]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401ead
push dword [ebp + 8]
push dword [ebp - 8]
push eax
push esi
call dword [0x408284]
jmp 0x401eaa
xor esi, esi
inc esi
call fcn.004014d5
push 0x12
pop esi
mov ebx, eax
call fcn.004014d5
movzx ecx, word [eax]
neg ecx
sbb ecx, ecx
and ecx, eax
movzx eax, word [ebx]
neg eax
push ecx
sbb eax, eax
and eax, ebx
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call dword [0x408268]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x24], 0
jl case.0x40166f.67
push dword [ebp - 0xc]
jmp 0x402ccb
xor ecx, ecx
call fcn.004014bf
push eax
call dword [0x4082a0]
jmp 0x40183c
push 2
pop ecx
call fcn.004014bf
xor ecx, ecx
push eax
inc ecx
call fcn.004014bf
push eax
call dword [0x40826c]
jmp 0x402cca
mov eax, dword [0x4785e8]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.004014bf
push eax
call dword [0x408270]
jmp case.0x40166f.67
push edx
push dword [ebp - 8]
call dword [0x40826c]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [0x408290]
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x1c]
push 0x10
push eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.004014d5
push eax
push ebx
call dword [0x408274]
push eax
push ebx
push 0x172
push edi
call dword [0x408284]
cmp eax, ebx
je case.0x40166f.67
push eax
call dword [0x408044]
jmp case.0x40166f.67
push 0x48
push 0x5a
push dword [ebp - 8]
call dword [0x408278]
push eax
call dword [0x408040]
push eax
push 2
pop ecx
call fcn.004014bf
push eax
call dword [0x408150]
push 3
neg eax
pop ecx
mov dword [0x41e0d0], eax
call fcn.004014bf
push dword [ebp - 0x20]
mov dword [0x41e0e0], eax
mov al, byte [ebp - 0x14]
mov cl, al
and cl, 1
mov byte [0x41e0e4], cl
mov cl, al
and cl, 2
and al, 4
push 0x41e0ec
mov byte [0x41e0e5], cl
mov byte [0x41e0e6], al
mov byte [0x41e0e7], 1
call fcn.0040640b
push 0x41e0d0
call dword [0x40804c]
jmp 0x402cca
xor ecx, ecx
call fcn.004014bf
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.004014bf
cmp dword [ebp - 0x18], 0
push eax
push esi
jne 0x402009
call dword [0x40823c]
jmp case.0x40166f.67
call dword [0x40827c]
jmp case.0x40166f.67
xor esi, esi
call fcn.004014d5
push 0x31
pop esi
mov edi, eax
call fcn.004014d5
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.004014d5
push 0x15
pop esi
mov ebx, eax
call fcn.004014d5
push 0xffffffffffffffec
call fcn.004014ae
movzx eax, word [ebx]
push dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, ebx
push 0x4d10b0
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 8]
call dword [0x408190]
cmp eax, 0x21
jge case.0x40166f.67
jmp 0x40179a
xor esi, esi
call fcn.004014d5
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404bbd
push esi
call fcn.00405a2d
mov dword [ebp + 8], eax
test eax, eax
je 0x40179a
cmp dword [ebp - 0x1c], 0
je 0x4020ee
mov esi, dword [0x40812c]
push 0x64
push eax
call esi
mov edi, 0x102
jmp 0x4020bf
push 0xf
call fcn.00405f37
push 0x64
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x4020b1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [0x408130]
cmp dword [ebp - 0x20], 0
jl 0x4020e1
push dword [ebp - 0xc]
push ebx
call fcn.00405d40
jmp 0x4020ee
cmp dword [ebp - 0xc], 0
je 0x4020ee
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x402736
push 2
pop esi
call fcn.004014d5
push eax
call fcn.00405ed9
mov esi, eax
test esi, esi
je 0x40211b
push dword [esi + 0x14]
push ebx
call fcn.00405d40
push dword [esi + 0x18]
jmp 0x402ccb
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
jmp 0x40179a
push 0xffffffffffffffee
pop esi
call fcn.004014d5
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov dword [ebp - 0x2c], eax
call fcn.004075a8
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ebx], ax
mov dword [ebp - 4], 1
test esi, esi
je case.0x40166f.67
push esi
push 0x40
call dword [0x408128]
mov dword [ebp - 0xc], eax
test eax, eax
je case.0x40166f.67
push eax
push esi
push 0
push dword [ebp - 0x2c]
call fcn.004075a2
test eax, eax
je 0x4021af
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
push 0x4082d8
push dword [ebp - 0xc]
call fcn.0040759c
test eax, eax
je 0x4021af
mov eax, dword [ebp + 8]
push dword [eax + 8]
push edi
call fcn.00405d40
mov eax, dword [ebp + 8]
push dword [eax + 0xc]
push ebx
call fcn.00405d40
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call dword [0x408134]
jmp case.0x40166f.67
cmp dword [0x478698], 0
mov dword [ebp - 4], 1
jl 0x40228a
push 0xfffffffffffffff0
pop esi
call fcn.004014d5
xor esi, esi
inc esi
mov edi, eax
call fcn.004014d5
xor esi, esi
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], esi
je 0x4021fa
push edi
call dword [0x408138]
mov ebx, eax
cmp ebx, esi
jne 0x40220a
push 8
push esi
push edi
call dword [0x40813c]
mov ebx, eax
cmp ebx, esi
je 0x402283
push dword [ebp + 8]
push ebx
call fcn.00405f6a
mov edi, eax
cmp edi, esi
je 0x402256
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x402238
push dword [ebp - 0x1c]
call fcn.004014ae
call edi
test eax, eax
je 0x402260
mov dword [ebp - 4], 1
jmp 0x402260
push section..data
push 0x40a0a0
push section..ndata
push 0x2004
push dword [ebp - 8]
call edi
add esp, 0x14
jmp 0x402260
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404bbd
cmp dword [ebp - 0x18], esi
jne case.0x40166f.67
push ebx
call fcn.0040398a
test eax, eax
je case.0x40166f.67
push ebx
call dword [0x408140]
jmp case.0x40166f.67
push 0xfffffffffffffff6
jmp 0x401825
push 0xffffffffffffffe7
jmp 0x401825
push 0xfffffffffffffff0
pop esi
call fcn.004014d5
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x3c], eax
call fcn.004014d5
push 2
pop esi
mov ebx, eax
call fcn.004014d5
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 8], eax
call fcn.004014d5
push 0x45
pop esi
mov dword [ebp - 0x2c], eax
call fcn.004014d5
push ebx
mov dword [ebp - 0x34], eax
call fcn.00405b13
test eax, eax
jne 0x4022d9
push 0x21
pop esi
call fcn.004014d5
lea eax, [ebp + 8]
push eax
push 0x4088d0
push 1
push 0
push 0x4088f0
call dword [0x4082c4]
test eax, eax
jl 0x4023b4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x4088e0
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x4023a7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x4d10b0
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x40234c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
sar ecx, 0x10
push ecx
push eax
call dword [edx + 0x34]
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0
je 0x402372
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
and ebx, esi
push ebx
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test edi, edi
jl 0x40239e
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x3c]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jge 0x4023c2
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x401825
push 0xfffffffffffffff4
jmp 0x401825
xor esi, esi
call fcn.004014d5
push 0x11
pop esi
mov edi, eax
call fcn.004014d5
push 0x23
pop esi
mov ebx, eax
call fcn.004014d5
push edi
mov esi, eax
call fcn.00405ed9
test eax, eax
jne 0x4023fe
push 0
push 0xfffffffffffffff9
call fcn.00404bbd
jmp 0x40179a
mov eax, dword [ebp - 8]
push edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 2
call fcn.00405e0f
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call fcn.00405e0f
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp - 0x1c]
push esi
push ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3a], esi
mov word [ebp - 0x44], ax
call fcn.00404bbd
lea eax, [ebp - 0x54]
push eax
call dword [0x408194]
test eax, eax
je case.0x40166f.67
jmp 0x4023f0
cmp eax, 0xbadf00d
jne 0x401d5e
inc dword [0x478674]
jmp case.0x40166f.67
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
cmp eax, ebx
je 0x40247e
xor esi, esi
call fcn.004014d5
mov edx, dword [ebp - 0x20]
mov edi, eax
test edx, edx
je 0x40248d
push 0x11
pop esi
call fcn.004014d5
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], ebx
je 0x40249c
push 0x22
pop esi
call fcn.004014d5
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.004014d5
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [0x408144]
jmp 0x401792
mov eax, dword [0x4082d0]
mov dword [ebp - 0x40], eax
mov eax, dword [0x4082d4]
xor esi, esi
inc esi
mov dword [ebp - 0x3c], eax
call fcn.004014d5
push 0x12
pop esi
mov ebx, eax
call fcn.004014d5
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.004014d5
push eax
push 0x2003
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
push ebx
call dword [0x408148]
lea eax, [ebp - 0x40]
push eax
push edi
call dword [0x408120]
jmp 0x401923
cmp dword [ebp - 0x14], 0
jne 0x402539
push 2
call fcn.004015c6
mov edi, eax
test edi, edi
je 0x40179a
push 0x33
pop esi
call fcn.004014d5
push eax
push edi
call dword [0x408010]
push edi
mov esi, eax
call dword [0x408008]
jmp 0x402564
push 0x22
pop esi
call fcn.004014d5
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x402554
mov ecx, dword [0x478664]
add ecx, 0x80000001
mov edx, dword [ebp - 0x14]
and edx, 2
push edx
push eax
push ecx
call fcn.00401510
mov esi, eax
test esi, esi
je case.0x40166f.67
jmp 0x40179a
test eax, eax
je 0x402579
mov edi, eax
jmp 0x402585
mov edi, dword [0x478664]
add edi, 0x80000001
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push 2
pop esi
mov dword [ebp - 0x3c], eax
call fcn.004014d5
push 0x11
pop esi
mov dword [ebp - 0x34], eax
call fcn.004014d5
xor ecx, ecx
push ecx
lea edx, [ebp + 8]
push edx
mov edx, dword [0x478690]
push ecx
or edx, 2
push edx
push ecx
push ecx
push ecx
push eax
push edi
mov dword [ebp - 4], 1
call dword [0x408014]
test eax, eax
jne case.0x40166f.67
mov edi, 0x4120b8
cmp ebx, 1
jne 0x4025e9
push 0x23
pop esi
call fcn.004014d5
push edi
call fcn.00405e0f
lea eax, [eax + eax + 2]
cmp ebx, 4
jne 0x4025fd
push 3
pop ecx
call fcn.004014bf
push ebx
mov dword [0x4120b8], eax
pop eax
cmp ebx, 3
jne 0x402612
push 0xc018
push edi
push 0
push dword [ebp - 0x18]
call fcn.00403131
push eax
push edi
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x34]
push dword [ebp + 8]
call dword [0x408018]
test eax, eax
jne 0x40262c
and dword [ebp - 4], eax
push dword [ebp + 8]
call dword [0x408008]
jmp case.0x40166f.67
push 0x20019
call fcn.004015c6
push 0x33
pop esi
mov ebx, eax
call fcn.004014d5
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x40179a
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 0xc], 0x4008
call dword [0x40801c]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x4026b3
cmp dword [ebp + 8], 4
je 0x40269e
cmp dword [ebp + 8], ecx
je 0x40268d
cmp dword [ebp + 8], 2
jne 0x4026b3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x4026bb
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x14], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405d40
jmp 0x4026bb
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push ebx
jmp 0x40262f
push 0x20019
call fcn.004015c6
push 3
pop ecx
mov esi, eax
call fcn.004014bf
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x40179a
mov ecx, 0x2003
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x14], edx
je 0x4026fd
push ecx
push edi
push eax
push esi
call dword [section..rdata]
jmp 0x402716
push edx
push edx
push edx
push edx
lea ecx, [ebp + 8]
push ecx
push edi
push eax
push esi
call dword [0x408020]
test eax, eax
jne 0x40179a
xor eax, eax
mov word [edi + 0x4006], ax
push esi
jmp 0x40262f
cmp word [edi], 0
je case.0x40166f.67
push edi
call fcn.00405d59
push eax
call dword [0x4080c0]
jmp case.0x40166f.67
push 0xffffffffffffffed
pop esi
call fcn.004014d5
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.00405c3f
cmp eax, 0xffffffff
jne 0x402cca
xor eax, eax
mov word [edi], ax
jmp 0x40179a
mov ebx, 0x2004
push ebx
push 0x40
call dword [0x408128]
cmp dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp + 8], esi
je 0x402790
xor ecx, ecx
inc ecx
call fcn.004014bf
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x4027b8
push 0x11
pop esi
call fcn.004014d5
xor eax, eax
push eax
push eax
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40e0b0
push eax
push eax
call dword [0x40814c]
push dword [ebp + 8]
call dword [0x408154]
cmp word [edi], 0
je 0x4027d9
push 0
lea ecx, [ebp - 0x3c]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405d59
push eax
call dword [0x408158]
test eax, eax
jne 0x4027e0
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x4021b2
push 2
pop ecx
xor esi, esi
call fcn.004014bf
cmp eax, 1
mov dword [ebp - 0xc], eax
jl case.0x40166f.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x40280a
mov dword [ebp - 0xc], ecx
cmp word [edi], si
je 0x4028c6
push edi
mov byte [ebp - 0x2d], 0
call fcn.00405d59
cmp dword [ebp - 0xc], esi
mov dword [ebp - 0x2c], eax
jle 0x4028c6
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x2c]
call dword [0x40815c]
test eax, eax
je 0x4028c6
cmp dword [ebp - 0x3c], 1
jne 0x4028c6
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x40288c
push 2
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push edi
push edi
call dword [0x408160]
mov al, byte [ebp - 0x2d]
cmp al, 0xd
je 0x40289c
cmp al, 0xa
je 0x40289c
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
mov al, byte [ebp + 0xb]
inc esi
mov byte [ebp - 0x2d], al
test al, al
je 0x4028c6
cmp esi, dword [ebp - 0xc]
jl 0x402829
jmp 0x4028c6
movzx eax, byte [ebp + 0xb]
push eax
push ebx
call fcn.00405d40
jmp 0x402cda
cmp al, byte [ebp + 0xb]
je 0x4028b8
cmp byte [ebp + 0xb], 0xd
je 0x4028ad
cmp byte [ebp + 0xb], 0xa
jne 0x4028b8
mov ax, word [ebp - 8]
mov word [ebx + esi*2], ax
inc esi
jmp 0x4028c6
push 1
push edi
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [0x408164]
xor eax, eax
mov word [ebx + esi*2], ax
test esi, esi
jmp 0x401794
cmp dword [ebp - 0x1c], 0
je 0x4028ec
xor ecx, ecx
inc ecx
call fcn.004014bf
mov word [0x40e0b0], ax
xor eax, eax
inc eax
jmp 0x4028fa
push 0x11
pop esi
call fcn.004014d5
push eax
call fcn.00405e0f
cmp word [edi], 0
je 0x40179a
push 0
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40e0b0
push edi
call fcn.00405d59
push eax
call dword [0x408158]
jmp 0x401792
push 2
pop ecx
xor esi, esi
call fcn.004014bf
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x40166f.67
mov ecx, 0x2003
cmp eax, ecx
jle 0x402946
mov dword [ebp - 8], ecx
cmp word [edi], si
je 0x4028c6
and dword [ebp + 8], esi
push edi
call fcn.00405d59
cmp dword [ebp - 8], esi
mov dword [ebp - 0x2c], eax
jle 0x4028c6
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x3c]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call dword [0x40815c]
test eax, eax
je 0x4028c6
cmp dword [ebp - 0x3c], 2
jne 0x4028c6
cmp dword [ebp - 0x18], 0
jne 0x4029bf
cmp di, 0xd
je 0x4029c8
cmp di, 0xa
je 0x4029c8
mov ax, word [ebp + 8]
mov word [ebx + esi*2], ax
inc esi
movzx edi, ax
test ax, ax
je 0x4028c6
cmp esi, dword [ebp - 8]
jl 0x402967
jmp 0x4028c6
movzx eax, word [ebp + 8]
jmp 0x402890
mov ax, word [ebp + 8]
cmp di, ax
je 0x4029e5
cmp ax, 0xd
je 0x4028b1
cmp ax, 0xa
je 0x4028b1
push 1
push 0
push 0xfffffffffffffffe
jmp 0x4028bd
cmp word [edi], 0
je case.0x40166f.67
push dword [ebp - 0x18]
push 0
push 2
pop ecx
call fcn.004014bf
push eax
push edi
call fcn.00405d59
push eax
call dword [0x408164]
cmp dword [ebp - 0x20], 0
jl case.0x40166f.67
push eax
push ebx
jmp 0x402ccc
cmp word [edi], 0
je case.0x40166f.67
push edi
call fcn.00405d59
push eax
call dword [0x408168]
jmp case.0x40166f.67
cmp word [ebx], 0
je 0x40192b
lea eax, [ebp - 0x2a4]
push eax
push ebx
call fcn.00405d59
push eax
call dword [0x40816c]
test eax, eax
je 0x40192b
jmp 0x402a96
push 2
pop esi
call fcn.004014d5
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call dword [0x408170]
cmp eax, 0xffffffff
jne 0x402a8f
xor eax, eax
mov word [ebx], ax
jmp 0x40275e
push eax
push ebx
call fcn.00405d40
lea eax, [ebp - 0x278]
push eax
push edi
call fcn.00405df9
jmp case.0x40166f.67
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.004014d5
mov edi, eax
push edi
mov dword [ebp - 0x34], edi
call fcn.00405b13
test eax, eax
jne 0x402acc
push 0xffffffffffffffed
pop esi
call fcn.004014d5
push edi
call fcn.00405c1f
push 2
push 0x40000000
push edi
call fcn.00405c3f
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402b88
mov eax, dword [0x47860c]
mov esi, dword [0x408128]
push eax
push 0x40
mov dword [ebp - 0x2c], eax
call esi
mov edi, eax
test edi, edi
je 0x402b7f
push 0
call fcn.00402f9c
push dword [ebp - 0x2c]
push edi
call fcn.00402f6a
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x402b56
push dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x20]
call fcn.00403131
jmp 0x402b48
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405bfb
add esi, ebx
cmp byte [esi], 0
jne 0x402b34
push dword [ebp - 0x3c]
call dword [0x408134]
xor esi, esi
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x2c]
push edi
push dword [ebp + 8]
call dword [0x408158]
push edi
call dword [0x408134]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403131
mov ebx, eax
push dword [ebp + 8]
call dword [0x4080c0]
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jge 0x402ba2
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x34]
call dword [0x408174]
mov dword [ebp - 4], 1
push esi
jmp 0x401825
xor ecx, ecx
call fcn.004014bf
mov edi, eax
cmp edi, dword [0x4785cc]
jae 0x40179a
mov eax, dword [ebp - 0x1c]
mov esi, edi
imul esi, esi, 0x4020
add esi, dword [0x4785c8]
test eax, eax
jl 0x402be7
mov ecx, dword [esi + eax*4]
jne 0x402be1
add esi, 0x18
push esi
push ebx
jmp 0x402a9e
push ecx
jmp 0x402a20
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x402bfe
xor ecx, ecx
inc ecx
call fcn.004014bf
mov dword [ebp - 0x20], eax
jmp 0x402c11
push dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.0040640b
or dword [esi + 8], 0x100
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + eax*4], ecx
cmp dword [ebp - 0x18], 0
je case.0x40166f.67
push edi
call fcn.00401186
jmp case.0x40166f.67
xor ecx, ecx
call fcn.004014bf
cmp eax, 0x20
jae 0x40179a
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x402c65
cmp dword [ebp - 0x1c], esi
je 0x402c5a
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x40166f.67
push esi
call fcn.004012f1
jmp 0x402a1f
cmp dword [ebp - 0x1c], esi
je 0x402c7c
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x4785bc]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x40166f.67
mov ecx, dword [0x4785bc]
push dword [ecx + eax*4 + 0x94]
push ebx
call fcn.0040640b
jmp case.0x40166f.67
mov ecx, dword [0x45e274]
push 0
and ecx, eax
push ecx
push 0xb
push dword [ebp - 8]
call dword [0x408284]
cmp dword [ebp - 0x24], 0
je case.0x40166f.67
push 0
push 0
push dword [ebp - 8]
call dword [0x408280]
jmp case.0x40166f.67
xor esi, esi
inc esi
call fcn.004014d5
push eax
call fcn.00405fb1
push eax
push edi
call fcn.00405d40
mov eax, dword [ebp - 4]
add dword [0x478668], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4