Function at 0x401596
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, 0x2a0
mov eax, dword [0x42a524]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 7
pop ecx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x20]
mov ecx, edx
shl ecx, 0xb
mov ebx, section..ndata
add ecx, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov dword [0x40a0a4], ecx
mov ecx, dword [ebp - 0x28]
mov edi, eax
shl edi, 0xb
add ecx, 0xfffffffe
add edi, ebx
cmp ecx, 0x44
ja case.0x4015ed.67
jmp dword [ecx*4 + 0x402c72]
push 0
push eax
call fcn.00404da2
mov eax, 0x7fffffff
jmp case.0x4015ed.2
inc dword [0x4294f4]
cmp dword [ebp - 0xc], 0
je 0x4015fc
push 0
call dword [0x40822c]
jmp 0x4015fc
push eax
call fcn.0040137c
dec eax
push 0
push eax
call fcn.00401398
jmp case.0x4015ed.2
push 0
push eax
call fcn.00404da2
jmp case.0x4015ed.67
xor ecx, ecx
call fcn.00401443
cmp eax, 1
jg 0x40164c
xor eax, eax
inc eax
push eax
call dword [0x40808c]
jmp case.0x4015ed.67
push dword [ebp - 0xc]
call dword [0x408230]
jmp case.0x4015ed.67
shl eax, 2
cmp dword [ebp - 0x1c], 0
jne 0x401692
mov ecx, dword [eax + 0x42a5e0]
mov dword [eax + 0x42a5a0], ecx
xor ecx, ecx
inc ecx
call fcn.00401443
mov ecx, dword [ebp - 0x24]
mov dword [ecx*4 + 0x42a5e0], eax
jmp case.0x4015ed.67
mov ecx, dword [eax + 0x42a5a0]
mov dword [eax + 0x42a5e0], ecx
jmp case.0x4015ed.67
mov edx, dword [ebp - 0x1c]
lea edx, [edx*4 + 0x42a5e0]
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.0x4015ed.2
push dword [edx*4 + 0x42a5e0]
jmp 0x402c58
mov ecx, dword [0x429500]
mov esi, dword [0x408234]
test ecx, ecx
je 0x4016e7
push edx
push ecx
call esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x4294ec]
test ecx, ecx
je case.0x4015ed.67
push eax
push ecx
call esi
jmp case.0x4015ed.67
push 0xfffffffffffffff0
pop esi
call fcn.00401459
push dword [ebp - 0x20]
push eax
call dword [0x408088]
test eax, eax
jne case.0x4015ed.67
mov dword [ebp - 4], 1
jmp case.0x4015ed.67
push 0xfffffffffffffff0
pop esi
call fcn.00401459
mov ebx, eax
push ebx
call fcn.00405b36
mov esi, eax
test esi, esi
je 0x40177d
push 0x5c
push esi
call fcn.00405ae2
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 0x401773
call dword [0x408080]
cmp eax, 0xb7
jne 0x401770
push ebx
call dword [0x40807c]
test al, 0x10
jne 0x401773
inc dword [ebp - 4]
mov word [esi], di
inc esi
inc esi
test di, di
jne 0x40173a
cmp dword [ebp - 0x20], 0
je 0x4017a1
push 0xffffffffffffffe6
call fcn.00401432
push ebx
push 0x436000
call fcn.00405de7
push ebx
call dword [0x408078]
jmp case.0x4015ed.67
push 0xfffffffffffffff5
call fcn.00401432
jmp case.0x4015ed.67
xor esi, esi
call fcn.00401459
push eax
call fcn.00405ec7
test eax, eax
je 0x401b82
mov eax, dword [ebp - 0x20]
jmp case.0x4015ed.2
push 0xffffffffffffffd0
pop esi
call fcn.00401459
push 0xffffffffffffffdf
pop esi
mov edi, eax
call fcn.00401459
push 0x13
pop esi
mov ebx, eax
call fcn.00401459
push ebx
push edi
call dword [0x408074]
test eax, eax
je 0x4017f6
push 0xffffffffffffffe3
jmp 0x4017a3
cmp dword [ebp - 0x1c], 0
je 0x401718
push edi
call fcn.00405ec7
test eax, eax
je 0x401718
push ebx
push edi
call fcn.00406852
push 0xffffffffffffffe4
jmp 0x4017a3
xor esi, esi
call fcn.00401459
mov edi, dword [ebp + 8]
mov esi, eax
lea eax, [ebp - 8]
push eax
push edi
mov ebx, 0x400
push ebx
push esi
call dword [0x408070]
test eax, eax
je 0x401860
mov eax, dword [ebp - 8]
cmp eax, esi
jbe 0x40186c
cmp word [eax], 0
je 0x40186c
push esi
call fcn.00405ec7
test eax, eax
je 0x401860
add eax, 0x2c
push eax
push dword [ebp - 8]
call fcn.00405de7
jmp 0x40186c
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
jne case.0x4015ed.67
push ebx
push edi
push edi
call dword [0x40806c]
jmp case.0x4015ed.67
or esi, 0xffffffff
call fcn.00401459
lea ecx, [ebp + 8]
push ecx
push edi
push 0x400
push 0
push eax
push 0
call dword [0x408068]
test eax, eax
jne case.0x4015ed.67
xor eax, eax
mov dword [ebp - 4], 1
mov word [edi], ax
jmp case.0x4015ed.67
push 0xffffffffffffffef
pop esi
call fcn.00401459
push eax
push edi
call fcn.00405c5c
jmp 0x401710
push 0x31
pop esi
call fcn.00401459
mov esi, eax
mov eax, dword [ebp - 0x24]
and eax, 7
push esi
mov dword [ebp - 8], esi
mov dword [ebp + 8], eax
call fcn.00405b01
push esi
mov esi, 0x40a0a8
test eax, eax
je 0x4018fc
push esi
call fcn.00405de7
jmp 0x401913
push 0x436000
push esi
call fcn.00405de7
push eax
call fcn.00406315
push eax
call fcn.00405e03
push esi
call fcn.00405e16
mov edi, 0x40b0a8
cmp dword [ebp + 8], 3
jl 0x401955
push esi
call fcn.00405ec7
xor ecx, ecx
test eax, eax
je 0x401940
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 0x401961
push esi
call fcn.00405c0d
xor eax, eax
cmp dword [ebp + 8], 1
setne al
inc eax
push eax
push 0x40000000
push esi
call fcn.00405c2d
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x4019ea
cmp dword [ebp + 8], 0
jne 0x4019cc
push ebx
push edi
call fcn.00405de7
push esi
push ebx
call fcn.00405de7
push dword [ebp - 0x10]
push 0x40a8a8
call fcn.004063f9
push edi
push ebx
call fcn.00405de7
mov eax, dword [ebp - 0x24]
sar eax, 3
push eax
push 0x40a8a8
call fcn.00405a7c
sub eax, 4
je 0x40191e
dec eax
je 0x4019df
push esi
push 0xfffffffffffffffa
jmp 0x4015f7
push dword [ebp - 8]
push 0xffffffffffffffe2
call fcn.00404da2
cmp dword [ebp + 8], 2
jmp 0x401712
inc dword [0x42a5e8]
jmp 0x402c67
push dword [ebp - 8]
push 0xffffffffffffffea
call fcn.00404da2
inc dword [0x42a614]
xor edi, edi
push edi
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
call fcn.0040328a
dec dword [0x42a614]
cmp dword [ebp - 0x18], 0xffffffff
mov ebx, eax
jne 0x401a1d
cmp dword [ebp - 0x14], 0xffffffff
je 0x401a2c
lea eax, [ebp - 0x18]
push eax
push edi
push eax
push dword [ebp - 0xc]
call dword [0x408060]
push dword [ebp - 0xc]
call dword [0x4080bc]
cmp ebx, edi
jge case.0x4015ed.67
cmp ebx, 0xfffffffe
jne 0x401a55
push 0xffffffffffffffe9
push esi
call fcn.004063f9
push dword [ebp - 8]
push esi
call fcn.00405e03
jmp 0x401a5d
push 0xffffffffffffffee
push esi
call fcn.004063f9
push 0x200010
push esi
call fcn.00405a7c
jmp 0x4015fc
xor esi, esi
call fcn.00401459
push dword [ebp - 0x20]
push eax
call fcn.00406885
jmp case.0x4015ed.67
push 0x31
pop esi
call fcn.00401459
push dword [ebp - 0x24]
push eax
call fcn.00405a7c
test eax, eax
je 0x401718
cmp eax, dword [ebp - 0x1c]
jne 0x401aa8
mov eax, dword [ebp - 0x18]
jmp case.0x4015ed.2
cmp eax, dword [ebp - 0x14]
jne case.0x4015ed.67
mov eax, dword [ebp - 0x10]
jmp case.0x4015ed.2
push 0xfffffffffffffff0
pop esi
jmp 0x401a6f
xor esi, esi
inc esi
call fcn.00401459
push eax
call fcn.00405dfd
jmp 0x402c57
push 2
pop ecx
call fcn.00401443
push 3
pop ecx
mov dword [ebp + 8], eax
call fcn.00401443
xor esi, esi
inc esi
mov ebx, eax
call fcn.00401459
mov esi, eax
xor eax, eax
mov word [edi], ax
cmp dword [ebp - 0x1c], eax
je 0x401b03
cmp dword [ebp + 8], eax
je case.0x4015ed.67
push esi
call fcn.00405dfd
test ebx, ebx
jge 0x401b15
add ebx, eax
js case.0x4015ed.67
cmp ebx, eax
jle 0x401b1b
mov ebx, eax
lea eax, [esi + ebx*2]
push eax
push edi
call fcn.00405de7
mov esi, dword [ebp + 8]
test esi, esi
je case.0x4015ed.67
jge 0x401b43
push edi
call fcn.00405dfd
add esi, eax
jns 0x401b43
and dword [ebp + 8], 0
mov esi, dword [ebp + 8]
cmp esi, 0x400
jge case.0x4015ed.67
xor eax, eax
mov word [edi + esi*2], ax
jmp case.0x4015ed.67
push 0x20
pop esi
call fcn.00401459
push 0x31
pop esi
mov edi, eax
call fcn.00401459
cmp dword [ebp - 0x14], 0
push eax
push edi
jne 0x401b8a
call dword [0x408114]
test eax, eax
jne 0x401aa0
mov eax, dword [ebp - 0x1c]
jmp case.0x4015ed.2
call dword [0x408118]
jmp 0x401b7a
xor esi, esi
inc esi
call fcn.00401459
push 0x400
mov ebx, eax
push edi
push ebx
call dword [0x40811c]
test eax, eax
je 0x401bbf
cmp dword [ebp - 0x1c], 0
je 0x401bc7
push edi
push ebx
call dword [0x408118]
test eax, eax
jne 0x401bc7
xor eax, eax
mov dword [ebp - 4], esi
mov word [edi], ax
xor eax, eax
mov word [edi + 0x7fe], ax
jmp case.0x4015ed.67
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
cmp dword [ebp - 0x10], 0
jne 0x401bfe
cmp esi, eax
jl 0x401aa0
jle 0x401b82
mov eax, dword [ebp - 0x14]
jmp case.0x4015ed.2
cmp esi, eax
jb 0x401aa0
jbe 0x401b82
jmp 0x401bf6
xor ebx, ebx
inc ebx
mov ecx, ebx
call fcn.00401443
push 2
pop ecx
mov esi, eax
call fcn.00401443
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xc
ja case.default.0x401c2c
jmp dword [eax*4 + 0x402d86]
add esi, ecx
jmp case.default.0x401c2c
sub esi, ecx
jmp case.default.0x401c2c
imul ecx, esi
mov esi, ecx
jmp case.default.0x401c2c
test ecx, ecx
je 0x401c4d
mov eax, esi
cdq
idiv ecx
jmp 0x401c67
xor esi, esi
mov dword [ebp - 4], ebx
jmp case.default.0x401c2c
or esi, ecx
jmp case.default.0x401c2c
and esi, ecx
jmp case.default.0x401c2c
xor esi, ecx
jmp case.default.0x401c2c
xor eax, eax
test esi, esi
sete al
mov esi, eax
jmp case.default.0x401c2c
test esi, esi
jne 0x401c73
test ecx, ecx
je 0x401c7b
mov esi, ebx
jmp case.default.0x401c2c
test esi, esi
jne 0x401c6f
xor esi, esi
jmp case.default.0x401c2c
test ecx, ecx
je 0x401c4d
mov eax, esi
cdq
idiv ecx
mov esi, edx
jmp case.default.0x401c2c
shl esi, cl
jmp case.default.0x401c2c
sar esi, cl
push esi
jmp 0x402c58
xor esi, esi
inc esi
call fcn.00401459
push 2
pop ecx
mov esi, eax
call fcn.00401443
push eax
push esi
push edi
call dword [0x408238]
add esp, 0xc
jmp case.0x4015ed.67
mov eax, dword [ebp - 0x1c]
mov esi, dword [0x40a0a0]
test eax, eax
je 0x401d18
dec eax
test esi, esi
je 0x401cd7
mov esi, dword [esi]
test eax, eax
jne 0x401cc8
test esi, esi
jne 0x401ceb
push 0x200010
push 0xffffffffffffffe8
push 0
call fcn.004063f9
push eax
jmp 0x401a63
lea edi, [esi + 4]
push edi
mov esi, 0x40a0a8
push esi
call fcn.00405de7
mov eax, dword [0x40a0a0]
add eax, 4
push eax
push edi
call fcn.00405de7
mov eax, dword [0x40a0a0]
push esi
add eax, 4
push eax
jmp 0x402a27
test edx, edx
je 0x401d3b
test esi, esi
je 0x401718
lea eax, [esi + 4]
push eax
push edi
call fcn.00405de7
mov eax, dword [esi]
mov dword [0x40a0a0], eax
push esi
jmp 0x40212d
push 0x804
push 0x40
call dword [0x408120]
push dword [ebp - 0x24]
mov esi, eax
lea eax, [esi + 4]
push eax
call fcn.004063f9
mov eax, dword [0x40a0a0]
mov dword [esi], eax
mov dword [0x40a0a0], esi
jmp case.0x4015ed.67
push 3
pop ecx
call fcn.00401443
push 4
pop ecx
mov dword [ebp - 0xc], eax
call fcn.00401443
test byte [ebp - 0x10], 1
mov dword [ebp + 8], eax
je 0x401d8f
push 0x33
pop esi
call fcn.00401459
mov dword [ebp - 0xc], eax
test byte [ebp - 0x10], 2
je 0x401da0
push 0x44
pop esi
call fcn.00401459
mov dword [ebp + 8], eax
cmp dword [ebp - 0x28], 0x21
jne 0x401df1
xor ecx, ecx
inc ecx
call fcn.00401443
push 2
pop ecx
mov esi, eax
call fcn.00401443
mov ecx, dword [ebp - 0x10]
sar ecx, 2
test ecx, ecx
je 0x401de1
lea edx, [ebp - 8]
push edx
push ecx
push 0
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [0x40823c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x401e26
push dword [ebp + 8]
push dword [ebp - 0xc]
push eax
push esi
call dword [0x408278]
jmp 0x401e23
xor esi, esi
inc esi
call fcn.00401459
push 0x12
pop esi
mov ebx, eax
call fcn.00401459
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 - 0xc]
call dword [0x40825c]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x24], 0
jl case.0x4015ed.67
push dword [ebp - 8]
jmp 0x402c58
xor ecx, ecx
call fcn.00401443
push eax
call dword [0x408294]
jmp 0x4017ba
push 2
pop ecx
call fcn.00401443
xor ecx, ecx
push eax
inc ecx
call fcn.00401443
push eax
call dword [0x408260]
jmp 0x402c57
mov eax, dword [0x42a568]
add eax, edx
push eax
push 0xffffffffffffffeb
xor ecx, ecx
call fcn.00401443
push eax
call dword [0x408264]
jmp case.0x4015ed.67
push edx
push dword [ebp - 0xc]
call dword [0x408260]
mov edi, eax
lea eax, [ebp - 0x44]
push eax
push edi
call dword [0x408284]
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x1c]
push 0x10
push eax
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
xor esi, esi
call fcn.00401459
push eax
push ebx
call dword [0x408268]
push eax
push ebx
push 0x172
push edi
call dword [0x408278]
cmp eax, ebx
je case.0x4015ed.67
push eax
call dword [0x408044]
jmp case.0x4015ed.67
push 0x48
push 0x5a
push dword [ebp - 0xc]
call dword [0x40826c]
push eax
call dword [0x408040]
push eax
push 2
pop ecx
call fcn.00401443
push eax
call dword [0x408148]
push 3
neg eax
pop ecx
mov dword [0x40c8a8], eax
call fcn.00401443
push dword [ebp - 0x20]
mov dword [0x40c8b8], eax
mov al, byte [ebp - 0x14]
mov cl, al
and cl, 1
mov byte [0x40c8bc], cl
mov cl, al
and cl, 2
and al, 4
push 0x40c8c4
mov byte [0x40c8bd], cl
mov byte [0x40c8be], al
mov byte [0x40c8bf], 1
call fcn.004063f9
push 0x40c8a8
call dword [0x40804c]
jmp 0x402c57
xor ecx, ecx
call fcn.00401443
xor ecx, ecx
inc ecx
mov esi, eax
call fcn.00401443
cmp dword [ebp - 0x18], 0
push eax
push esi
jne 0x401f82
call dword [0x408234]
jmp case.0x4015ed.67
call dword [0x408270]
jmp case.0x4015ed.67
xor esi, esi
call fcn.00401459
push 0x31
pop esi
mov edi, eax
call fcn.00401459
push 0x22
pop esi
mov dword [ebp + 8], eax
call fcn.00401459
push 0x15
pop esi
mov ebx, eax
call fcn.00401459
push 0xffffffffffffffec
call fcn.00401432
movzx eax, word [ebx]
push dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, ebx
push 0x436000
push eax
movzx eax, word [edi]
push dword [ebp + 8]
neg eax
sbb eax, eax
and eax, edi
push eax
push dword [ebp - 0xc]
call dword [0x408184]
cmp eax, 0x21
jge case.0x4015ed.67
jmp 0x401718
xor esi, esi
call fcn.00401459
mov esi, eax
push esi
push 0xffffffffffffffeb
call fcn.00404da2
push esi
call fcn.00405a1b
mov ebx, eax
test ebx, ebx
je 0x401718
cmp dword [ebp - 0x1c], 0
je 0x402064
mov esi, dword [0x408124]
push 0x64
push ebx
call esi
mov edi, 0x102
jmp 0x402035
push 0xf
call fcn.00405f25
push 0x64
push ebx
call esi
cmp eax, edi
je 0x402029
lea eax, [ebp - 8]
push eax
push ebx
call dword [0x408128]
cmp dword [ebp - 0x20], 0
jl 0x402057
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00405d2e
jmp 0x402064
cmp dword [ebp - 8], 0
je 0x402064
mov dword [ebp - 4], 1
push ebx
jmp 0x4026b0
push 2
pop esi
call fcn.00401459
push eax
call fcn.00405ec7
mov esi, eax
test esi, esi
je 0x402091
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00405d2e
push dword [esi + 0x18]
jmp 0x402c58
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
jmp 0x401718
push 0xffffffffffffffee
pop esi
call fcn.00401459
mov ebx, eax
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.00407730
mov ecx, dword [ebp + 8]
mov esi, eax
xor eax, eax
mov word [edi], ax
mov word [ecx], ax
mov dword [ebp - 4], 1
test esi, esi
je case.0x4015ed.67
push esi
push 0x40
call dword [0x408120]
mov dword [ebp - 0xc], eax
test eax, eax
je case.0x4015ed.67
push eax
push esi
push 0
push ebx
call fcn.0040772a
test eax, eax
je 0x40212a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
push 0x4082c8
push dword [ebp - 0xc]
call fcn.00407724
test eax, eax
je 0x40212a
mov eax, dword [ebp - 8]
push dword [eax + 8]
push edi
call fcn.00405d2e
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.00405d2e
and dword [ebp - 4], 0
push dword [ebp - 0xc]
call dword [0x40812c]
jmp case.0x4015ed.67
cmp dword [0x42a618], 0
mov dword [ebp - 4], 1
jl 0x402204
push 0xfffffffffffffff0
pop esi
call fcn.00401459
xor esi, esi
inc esi
mov edi, eax
call fcn.00401459
cmp dword [ebp - 0x14], 0
mov dword [ebp + 8], eax
je 0x402174
push edi
call dword [0x408130]
mov esi, eax
test esi, esi
jne 0x402185
push 8
push 0
push edi
call dword [0x408134]
mov esi, eax
test esi, esi
je 0x4021fd
push dword [ebp + 8]
push esi
call fcn.00405f58
mov edi, eax
test edi, edi
je 0x4021cf
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x4021b5
push dword [ebp - 0x1c]
call fcn.00401432
call edi
test eax, eax
je 0x4021d9
mov dword [ebp - 4], 1
jmp 0x4021d9
push section..data
push 0x40a0a0
push ebx
push 0x400
push dword [ebp - 0xc]
call edi
add esp, 0x14
jmp 0x4021d9
push dword [ebp + 8]
push 0xfffffffffffffff7
call fcn.00404da2
cmp dword [ebp - 0x18], 0
jne case.0x4015ed.67
push esi
call fcn.00403b75
test eax, eax
je case.0x4015ed.67
push esi
call dword [0x408138]
jmp case.0x4015ed.67
push 0xfffffffffffffff6
jmp 0x4017a3
push 0xffffffffffffffe7
jmp 0x4017a3
push 0xfffffffffffffff0
pop esi
call fcn.00401459
push 0xffffffffffffffdf
pop esi
mov dword [ebp - 0x38], eax
call fcn.00401459
push 2
pop esi
mov ebx, eax
call fcn.00401459
push 0xffffffffffffffcd
pop esi
mov dword [ebp - 0xc], eax
call fcn.00401459
push 0x45
pop esi
mov dword [ebp - 0x2c], eax
call fcn.00401459
push ebx
mov dword [ebp - 0x30], eax
call fcn.00405b01
test eax, eax
jne 0x402253
push 0x21
pop esi
call fcn.00401459
lea eax, [ebp + 8]
push eax
push 0x408a08
push 1
push 0
push 0x408a28
call dword [0x4082b8]
test eax, eax
jl 0x40232e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x408a18
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x402321
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 0x436000
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, ecx
sar eax, 8
mov esi, 0xff
and eax, esi
je 0x4022c6
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 0x4022ec
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 - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 8]
push dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test edi, edi
jl 0x402318
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x38]
push eax
call dword [ecx + 0x18]
mov edi, eax
mov eax, dword [ebp - 8]
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 0x40233c
mov dword [ebp - 4], 1
push 0xfffffffffffffff0
jmp 0x4017a3
push 0xfffffffffffffff4
jmp 0x4017a3
xor esi, esi
call fcn.00401459
push 0x11
pop esi
mov edi, eax
call fcn.00401459
push 0x23
pop esi
mov ebx, eax
call fcn.00401459
push edi
mov esi, eax
call fcn.00405ec7
test eax, eax
jne 0x402378
push 0
push 0xfffffffffffffff9
call fcn.00404da2
jmp 0x401718
mov eax, dword [ebp - 0xc]
push edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 2
call fcn.00405dfd
xor ecx, ecx
push ebx
mov word [edi + eax*2 + 2], cx
call fcn.00405dfd
xor ecx, ecx
mov word [ebx + eax*2 + 2], cx
mov ax, word [ebp - 0x1c]
push esi
push ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x36], esi
mov word [ebp - 0x40], ax
call fcn.00404da2
lea eax, [ebp - 0x50]
push eax
call dword [0x408188]
test eax, eax
je case.0x4015ed.67
jmp 0x40236a
cmp eax, 0xbadf00d
jne 0x401cd7
inc dword [0x42a5f4]
jmp case.0x4015ed.67
xor ebx, ebx
xor edi, edi
mov dword [ebp + 8], ebx
cmp eax, ebx
je 0x4023f8
xor esi, esi
call fcn.00401459
mov edx, dword [ebp - 0x20]
mov edi, eax
test edx, edx
je 0x402407
push 0x11
pop esi
call fcn.00401459
mov dword [ebp + 8], eax
cmp dword [ebp - 0x14], ebx
je 0x402416
push 0x22
pop esi
call fcn.00401459
mov ebx, eax
push 0xffffffffffffffcd
pop esi
call fcn.00401459
push eax
push ebx
push dword [ebp + 8]
push edi
call dword [0x40813c]
jmp 0x401710
mov eax, dword [0x4082c0]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x4082c4]
xor esi, esi
inc esi
mov dword [ebp - 0x38], eax
call fcn.00401459
push 0x12
pop esi
mov ebx, eax
call fcn.00401459
push 0xffffffffffffffdd
pop esi
mov dword [ebp + 8], eax
call fcn.00401459
push eax
push 0x3ff
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
push ebx
call dword [0x408140]
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [0x408118]
jmp 0x4018a1
cmp dword [ebp - 0x14], 0
jne 0x4024b3
push 2
call fcn.00401547
mov edi, eax
test edi, edi
je 0x401718
push 0x33
pop esi
call fcn.00401459
push eax
push edi
call dword [0x408010]
push edi
mov esi, eax
call dword [0x408008]
jmp 0x4024de
push 0x22
pop esi
call fcn.00401459
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x4024ce
mov ecx, dword [0x42a5e4]
add ecx, 0x80000001
mov edx, dword [ebp - 0x14]
and edx, 2
push edx
push eax
push ecx
call fcn.00401491
mov esi, eax
test esi, esi
je case.0x4015ed.67
jmp 0x401718
test eax, eax
je 0x4024f3
mov edi, eax
jmp 0x4024ff
mov edi, dword [0x42a5e4]
add edi, 0x80000001
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push 2
pop esi
mov dword [ebp - 0x38], eax
call fcn.00401459
push 0x11
pop esi
mov dword [ebp - 0x30], eax
call fcn.00401459
xor ecx, ecx
push ecx
lea edx, [ebp + 8]
push edx
mov edx, dword [0x42a610]
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.0x4015ed.67
mov edi, 0x40b0a8
cmp ebx, 1
jne 0x402563
push 0x23
pop esi
call fcn.00401459
push edi
call fcn.00405dfd
lea eax, [eax + eax + 2]
cmp ebx, 4
jne 0x402577
push 3
pop ecx
call fcn.00401443
push ebx
mov dword [0x40b0a8], eax
pop eax
cmp ebx, 3
jne 0x40258c
push 0x1800
push edi
push 0
push dword [ebp - 0x18]
call fcn.0040328a
push eax
push edi
push dword [ebp - 0x38]
push 0
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [0x408018]
test eax, eax
jne 0x4025a6
and dword [ebp - 4], eax
push dword [ebp + 8]
call dword [0x408008]
jmp case.0x4015ed.67
push 0x20019
call fcn.00401547
push 0x33
pop esi
mov ebx, eax
call fcn.00401459
xor ecx, ecx
mov word [edi], cx
test ebx, ebx
je 0x401718
lea ecx, [ebp - 8]
push ecx
push edi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
mov dword [ebp - 8], 0x800
call dword [0x40801c]
xor ecx, ecx
inc ecx
test eax, eax
jne 0x40262d
cmp dword [ebp + 8], 4
je 0x402618
cmp dword [ebp + 8], ecx
je 0x402607
cmp dword [ebp + 8], 2
jne 0x40262d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
mov word [edi + ecx*2], ax
jmp 0x402635
push dword [edi]
xor eax, eax
cmp dword [ebp - 0x14], eax
push edi
sete al
mov dword [ebp - 4], eax
call fcn.00405d2e
jmp 0x402635
xor eax, eax
mov word [edi], ax
mov dword [ebp - 4], ecx
push ebx
jmp 0x4025a9
push 0x20019
call fcn.00401547
push 3
pop ecx
mov esi, eax
call fcn.00401443
xor ecx, ecx
xor edx, edx
mov word [edi], cx
cmp esi, edx
je 0x401718
mov ecx, 0x3ff
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x14], edx
je 0x402677
push ecx
push edi
push eax
push esi
call dword [section..rdata]
jmp 0x402690
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 0x401718
xor eax, eax
mov word [edi + 0x7fe], ax
push esi
jmp 0x4025a9
cmp word [edi], 0
je case.0x4015ed.67
push edi
call fcn.00405d47
push eax
call dword [0x4080bc]
jmp case.0x4015ed.67
push 0xffffffffffffffed
pop esi
call fcn.00401459
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call fcn.00405c2d
cmp eax, 0xffffffff
jne 0x402c57
xor eax, eax
mov word [edi], ax
jmp 0x401718
mov ebx, 0x400
push ebx
push 0x40
call dword [0x408120]
cmp dword [ebp - 0x1c], 0
mov esi, eax
mov dword [ebp + 8], esi
je 0x40270a
xor ecx, ecx
inc ecx
call fcn.00401443
mov byte [esi], al
xor eax, eax
inc eax
jmp 0x402732
push 0x11
pop esi
call fcn.00401459
xor eax, eax
push eax
push eax
push ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push 0x40a8a8
push eax
push eax
call dword [0x408144]
push dword [ebp + 8]
call dword [0x40814c]
cmp word [edi], 0
je 0x402753
push 0
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp + 8]
push edi
call fcn.00405d47
push eax
call dword [0x408150]
test eax, eax
jne 0x40275a
mov dword [ebp - 4], 1
push dword [ebp + 8]
jmp 0x40212d
push 2
pop ecx
xor esi, esi
call fcn.00401443
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x4015ed.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x402784
mov dword [ebp - 8], ecx
cmp word [edi], si
je 0x402841
push edi
xor bl, bl
call fcn.00405d47
cmp dword [ebp - 8], esi
mov dword [ebp - 0x2c], eax
jle 0x402841
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push dword [ebp - 0x2c]
call dword [0x408154]
test eax, eax
je 0x402844
cmp dword [ebp - 0x38], 1
jne 0x402844
cmp dword [ebp - 0x18], 0
jne 0x402804
push 2
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp + 0xb]
push eax
push 0
push 0
call dword [0x408158]
cmp bl, 0xd
je 0x402814
cmp bl, 0xa
je 0x402814
mov ax, word [ebp - 0xc]
mov bl, byte [ebp + 0xb]
mov word [edi + esi*2], ax
inc esi
test bl, bl
je 0x402844
cmp esi, dword [ebp - 8]
jl 0x4027a4
jmp 0x402844
movzx eax, byte [ebp + 0xb]
push eax
push edi
call fcn.00405d2e
jmp 0x402c67
cmp bl, byte [ebp + 0xb]
je 0x402830
cmp byte [ebp + 0xb], 0xd
je 0x402825
cmp byte [ebp + 0xb], 0xa
jne 0x402830
mov ax, word [ebp - 0xc]
mov word [edi + esi*2], ax
inc esi
jmp 0x402844
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [0x40815c]
jmp 0x402844
mov edi, dword [ebp + 8]
xor eax, eax
mov word [edi + esi*2], ax
test esi, esi
jmp 0x401712
cmp dword [ebp - 0x1c], 0
je 0x40286a
xor ecx, ecx
inc ecx
call fcn.00401443
mov word [0x40a8a8], ax
xor eax, eax
inc eax
jmp 0x402878
push 0x11
pop esi
call fcn.00401459
push eax
call fcn.00405dfd
cmp word [edi], 0
je 0x401718
push 0
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push 0x40a8a8
push edi
call fcn.00405d47
push eax
call dword [0x408150]
jmp 0x401710
push 2
pop ecx
xor esi, esi
call fcn.00401443
cmp eax, 1
mov dword [ebp - 8], eax
jl case.0x4015ed.67
mov ecx, 0x3ff
cmp eax, ecx
jle 0x4028c4
mov dword [ebp - 8], ecx
cmp word [edi], si
je 0x402841
push edi
xor ebx, ebx
call fcn.00405d47
cmp dword [ebp - 8], ebx
mov dword [ebp - 0x2c], eax
jle 0x402841
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0x38]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c]
call dword [0x408154]
test eax, eax
je 0x402844
cmp dword [ebp - 0x38], 2
jne 0x402844
cmp dword [ebp - 0x18], 0
jne 0x40293c
cmp bx, 0xd
je 0x402945
cmp bx, 0xa
je 0x402945
mov ax, word [ebp + 8]
mov word [edi + esi*2], ax
inc esi
movzx ebx, ax
test ax, ax
je 0x402844
cmp esi, dword [ebp - 8]
jl 0x4028e4
jmp 0x402844
movzx eax, word [ebp + 8]
jmp 0x402808
mov ax, word [ebp + 8]
cmp bx, ax
je 0x402962
cmp ax, 0xd
je 0x402829
cmp ax, 0xa
je 0x402829
push 1
push 0
push 0xfffffffffffffffe
jmp 0x402836
cmp word [edi], 0
je case.0x4015ed.67
push dword [ebp - 0x18]
push 0
push 2
pop ecx
call fcn.00401443
push eax
push edi
call fcn.00405d47
push eax
call dword [0x40815c]
cmp dword [ebp - 0x20], 0
jl case.0x4015ed.67
push eax
push dword [ebp + 8]
jmp 0x402c59
cmp word [edi], 0
je case.0x4015ed.67
push edi
call fcn.00405d47
push eax
call dword [0x408160]
jmp case.0x4015ed.67
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x4018a9
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp + 8]
call fcn.00405d47
push eax
call dword [0x408164]
test eax, eax
je 0x4018a9
jmp 0x402a1f
push 2
pop esi
call fcn.00401459
lea ecx, [ebp - 0x2a0]
push ecx
push eax
call dword [0x408168]
cmp eax, 0xffffffff
jne 0x402a16
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
jmp 0x4026d8
push eax
push dword [ebp + 8]
call fcn.00405d2e
lea eax, [ebp - 0x274]
push eax
push edi
call fcn.00405de7
jmp case.0x4015ed.67
push 0xfffffffffffffff0
pop esi
mov ebx, 0xfffffd66
call fcn.00401459
mov edi, eax
push edi
mov dword [ebp - 0x30], edi
call fcn.00405b01
test eax, eax
jne 0x402a55
push 0xffffffffffffffed
pop esi
call fcn.00401459
push edi
call fcn.00405c0d
push 2
push 0x40000000
push edi
call fcn.00405c2d
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x402b11
mov eax, dword [0x42a58c]
mov esi, dword [0x408120]
push eax
push 0x40
mov dword [ebp - 0x2c], eax
call esi
mov edi, eax
test edi, edi
je 0x402b08
push 0
call fcn.004030f5
push dword [ebp - 0x2c]
push edi
call fcn.004030c3
push dword [ebp - 0x1c]
push 0x40
call esi
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x402adf
push dword [ebp - 0x1c]
push esi
push 0
push dword [ebp - 0x20]
call fcn.0040328a
jmp 0x402ad1
mov ebx, dword [esi]
mov eax, dword [esi + 4]
push ebx
add esi, 8
push esi
add eax, edi
push eax
call fcn.00405be9
add esi, ebx
cmp byte [esi], 0
jne 0x402abd
push dword [ebp - 0x38]
call dword [0x40812c]
xor esi, esi
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x2c]
push edi
push dword [ebp + 8]
call dword [0x408150]
push edi
call dword [0x40812c]
push esi
push esi
push dword [ebp + 8]
push 0xffffffffffffffff
call fcn.0040328a
mov ebx, eax
push dword [ebp + 8]
call dword [0x4080bc]
push 0xfffffffffffffff3
pop esi
test ebx, ebx
jge 0x402b2b
push 0xffffffffffffffef
pop esi
push dword [ebp - 0x30]
call dword [0x40816c]
mov dword [ebp - 4], 1
push esi
jmp 0x4017a3
xor ecx, ecx
call fcn.00401443
mov edi, eax
cmp edi, dword [0x42a54c]
jae 0x401718
mov eax, dword [ebp - 0x1c]
mov esi, edi
imul esi, esi, 0x818
add esi, dword [0x42a548]
test eax, eax
jl 0x402b72
mov ecx, dword [esi + eax*4]
jne 0x402b6c
add esi, 0x18
push esi
push dword [ebp + 8]
jmp 0x402a27
push ecx
jmp 0x40299d
or ecx, 0xffffffff
sub ecx, eax
mov dword [ebp - 0x1c], ecx
je 0x402b89
xor ecx, ecx
inc ecx
call fcn.00401443
mov dword [ebp - 0x20], eax
jmp 0x402b9c
push dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.004063f9
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.0x4015ed.67
push edi
call fcn.00401186
jmp case.0x4015ed.67
xor ecx, ecx
call fcn.00401443
cmp eax, 0x20
jae 0x401718
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x402bf0
cmp dword [ebp - 0x1c], esi
je 0x402be5
push eax
call fcn.004012a6
push esi
push esi
call fcn.004011f8
jmp case.0x4015ed.67
push esi
call fcn.004012f1
jmp 0x40299c
cmp dword [ebp - 0x1c], esi
je 0x402c07
mov ecx, dword [ebp - 0x20]
mov edx, dword [0x42a52c]
mov dword [edx + eax*4 + 0x94], ecx
jmp case.0x4015ed.67
mov ecx, dword [0x42a52c]
push dword [ecx + eax*4 + 0x94]
push dword [ebp + 8]
call fcn.004063f9
jmp case.0x4015ed.67
mov ecx, dword [0x425204]
push 0
and ecx, eax
push ecx
push 0xb
push dword [ebp - 0xc]
call dword [0x408278]
cmp dword [ebp - 0x24], 0
je case.0x4015ed.67
push 0
push 0
push dword [ebp - 0xc]
call dword [0x408274]
jmp case.0x4015ed.67
xor esi, esi
inc esi
call fcn.00401459
push eax
call fcn.00405f9f
push eax
push edi
call fcn.00405d2e
mov eax, dword [ebp - 4]
add dword [0x42a5e8], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4