Function at 0x40ee60
Capabilities:
Accept command line arguments
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da896
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x754], esi
mov dword [ebp - 0x75c], ebx
mov dword [ebp - 0x504], 7
mov dword [ebp - 0x508], ebx
mov word [ebp - 0x518], ax
cmp word [esi], ax
jne 0x40eec1
xor ecx, ecx
jmp 0x40eed5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40eec6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x518]
call fcn.00405a70
lea edx, [ebp - 0x518]
lea ecx, [ebp - 0x4d8]
call fcn.0044b6a0
mov eax, dword [ebp - 0x504]
cmp eax, 8
jb 0x40ef11
inc eax
lea ecx, [ebp - 0x518]
push eax
push dword [ebp - 0x518]
call fcn.00406d90
push 1
push 0
lea eax, [ebp - 0x74c]
mov byte [ebp - 0x74c], 0x20
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00411e80
cmp dword [ebp - 0x4c8], ebx
je 0x40efac
push 1
push 0
lea eax, [ebp - 0x74c]
mov byte [ebp - 0x74c], 0x20
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00411e80
cmp eax, 0xffffffff
jne 0x40efac
cmp dword [ebp - 0x4c4], 0x10
lea eax, [ebp - 0x4d8]
cmovae eax, dword [ebp - 0x4d8]
cmp byte [eax], 0x2d
je 0x40efac
lea edx, [ebp - 0x4d8]
lea ecx, [ebp - 0x448]
call fcn.0044b780
push eax
lea ecx, [ebp - 0x4d8]
call fcn.00411390
mov eax, dword [ebp - 0x434]
cmp eax, 0x10
jb 0x40efac
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.004064e0
lea edx, [ebp - 0x4d8]
lea ecx, [ebp - 0x448]
call fcn.0044b700
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x40efc7
mov ecx, dword [ecx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x40efc7
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x40eff6
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.00406d90
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea ecx, [ebp - 0x7a8]
call fcn.004232d0
mov edi, dword [0xa3c1b4]
test edi, edi
jne 0x40f083
push 0x20
call fcn.004c21d4
mov ecx, eax
call fcn.0041be70
mov dword [0xa3c1b4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x620]
call fcn.004050d0
lea eax, [ebp - 0x620]
push eax
call fcn.0041c7b0
mov eax, dword [ebp - 0x60c]
cmp eax, 8
jb 0x40f064
inc eax
lea ecx, [ebp - 0x620]
push eax
push dword [ebp - 0x620]
call fcn.00406d90
mov edi, dword [0xa3c1b4]
xor eax, eax
mov dword [ebp - 0x60c], 7
mov dword [ebp - 0x610], ebx
mov word [ebp - 0x620], ax
lea ecx, [ebp - 0x4c0]
call fcn.004533f0
cmp dword [ebp - 0x4b0], ebx
je 0x40f0cf
mov ebx, 1
lea ecx, [ebp - 0x448]
push ebx
mov edx, 0x6174c8
mov dword [ebp - 0x75c], ebx
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f0bd
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
mov byte [ebp - 0x74c], bl
test al, al
je 0x40f0d6
mov byte [ebp - 0x74c], 0
test bl, 1
je 0x40f102
mov eax, dword [ebp - 0x434]
and ebx, 0xfffffffe
mov dword [ebp - 0x75c], ebx
cmp eax, 0x10
jb 0x40f102
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.004064e0
cmp byte [ebp - 0x74c], 0
je 0x40f21f
push 1
mov edx, 0x6174c8
lea ecx, [ebp - 0x448]
call fcn.00403e00
mov edx, eax
add esp, 4
cmp dword [edx + 0x14], 0x10
jb 0x40f12e
mov edx, dword [edx]
mov dword [ebp - 0x47c], 0xf
mov dword [ebp - 0x480], 0
mov byte [ebp - 0x490], 0
cmp byte [edx], 0
jne 0x40f152
xor ecx, ecx
jmp 0x40f160
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f157
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x490]
call fcn.00405e90
lea edx, [ebp - 0x4c0]
lea ecx, [ebp - 0x478]
call fcn.0044b700
push eax
lea eax, [ebp - 0x490]
mov ecx, edi
push eax
call fcn.0041c5a0
mov eax, dword [ebp - 0x464]
cmp eax, 8
jb 0x40f1ab
inc eax
lea ecx, [ebp - 0x478]
push eax
push dword [ebp - 0x478]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x464], 7
mov word [ebp - 0x478], ax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x468], 0
cmp eax, 0x10
jb 0x40f1e6
inc eax
lea ecx, [ebp - 0x490]
push eax
push dword [ebp - 0x490]
call fcn.004064e0
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x47c], 0xf
mov dword [ebp - 0x480], 0
mov byte [ebp - 0x490], 0
cmp eax, 0x10
jb 0x40f21f
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.004064e0
xor eax, eax
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
lea eax, [ebp - 0x430]
push eax
push 6
mov dword [ebp - 0x420], 0
call fcn.00424790
add esp, 8
mov dword [ebp - 0x774], 0
lea eax, [ebp - 0x774]
mov dword [ebp - 0x770], 0
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x76c], 0
push eax
call fcn.00419b10
mov ecx, dword [ebp - 0x770]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x774]
sub ecx, esi
imul ecx
xor ecx, ecx
mov dword [ebp - 0x494], 7
sar edx, 2
mov eax, edx
mov word [ebp - 0x4a8], cx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x498], 0
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0x4a8]
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
push eax
call fcn.00405b70
call fcn.00451570
mov dword [ebp - 0x764], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x40f2e8
mov edx, dword [ecx]
push 1
call dword [edx]
push 8
call fcn.004c21d4
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [eax], 0x6237fc
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x764]
mov dword [eax], 0x6237ec
mov dword [ecx], eax
call fcn.00456070
push ecx
call fcn.004554e0
test al, al
jne 0x40f499
mov eax, dword [ebp - 0x494]
cmp eax, 8
jb 0x40f34b
inc eax
lea ecx, [ebp - 0x4a8]
push eax
push dword [ebp - 0x4a8]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x494], 7
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
test esi, esi
je 0x40f3a3
push dword [ebp - 0x754]
mov edx, dword [ebp - 0x770]
push ecx
mov ecx, esi
call fcn.0040ab20
mov ecx, dword [ebp - 0x76c]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a780
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x40f3c1
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x420], 0
cmp eax, 0x10
jb 0x40f3fc
inc eax
lea ecx, [ebp - 0x4c0]
push eax
push dword [ebp - 0x4c0]
call fcn.004064e0
cmp dword [0xa3c1dc], 0
mov dword [ebp - 0x4ac], 0xf
mov dword [ebp - 0x4b0], 0
mov byte [ebp - 0x4c0], 0
jne 0x40f432
test bl, 0x20
je 0x40f442
lea ecx, [ebp - 0x858]
call fcn.0041f860
jmp 0x40f442
call fcn.00423440
mov eax, dword [ebp - 0x77c]
mov dword [0xa3c1dc], eax
lea ecx, [ebp - 0x790]
call fcn.00423550
push dword [ebp - 0x790]
call fcn.004c2207
add esp, 4
mov dword [ebp - 0x790], 0
lea eax, [ebp - 0x7a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [ebp - 0x4c4]
cmp eax, 0x10
jb 0x410cc0
inc eax
lea ecx, [ebp - 0x4d8]
push eax
push dword [ebp - 0x4d8]
call fcn.004064e0
jmp 0x410cc0
call fcn.00456070
push ecx
call fcn.004555b0
test al, al
jne 0x40f58c
mov eax, dword [ebp - 0x494]
cmp eax, 8
jb 0x40f4ca
inc eax
lea ecx, [ebp - 0x4a8]
push eax
push dword [ebp - 0x4a8]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x494], 7
lea ecx, [ebp - 0x774]
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x40f510
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
mov word [ebp - 0x430], ax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x420], 0
cmp eax, 0x10
jb 0x40f54b
inc eax
lea ecx, [ebp - 0x4c0]
push eax
push dword [ebp - 0x4c0]
call fcn.004064e0
cmp dword [0xa3c1dc], 0
mov dword [ebp - 0x4ac], 0xf
mov dword [ebp - 0x4b0], 0
mov byte [ebp - 0x4c0], 0
jne 0x40f432
test bl, 0x40
je 0x40f442
lea ecx, [ebp - 0x858]
call fcn.0041f860
jmp 0x40f442
sub esp, 8
call fcn.00451dd0
add esp, 4
mov ecx, eax
call fcn.004519d0
push 0x61f384
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x51c], 0xf
mov dword [ebp - 0x520], 0
mov byte [ebp - 0x530], 0
call fcn.004050d0
lea eax, [ebp - 0x530]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0044e700
mov ecx, eax
call fcn.0044e470
mov eax, dword [ebp - 0x464]
cmp eax, 8
jb 0x40f601
inc eax
lea ecx, [ebp - 0x478]
push eax
push dword [ebp - 0x478]
call fcn.00406d90
push 0x61f3a0
lea ecx, [ebp - 0x478]
call fcn.00405250
mov edx, dword [0xa3bae8]
test edx, edx
je 0x40f64c
cmp dword [ebp - 0x51c], 0x10
lea ecx, [ebp - 0x530]
lea eax, [ebp - 0x478]
cmovae ecx, dword [ebp - 0x530]
cmp dword [ebp - 0x464], 0x10
push ecx
cmovae eax, dword [ebp - 0x478]
push eax
call edx
add esp, 8
jmp 0x40f667
test bl, bl
jns 0x40f667
and ebx, 0xffffff7f
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x75c], ebx
call fcn.0041f860
mov eax, dword [ebp - 0x464]
cmp eax, 0x10
jb 0x40f685
inc eax
lea ecx, [ebp - 0x478]
push eax
push dword [ebp - 0x478]
call fcn.004064e0
sub esp, 0x18
lea edx, [ebp - 0x4a8]
mov ecx, esp
push 0
call fcn.00419570
add esp, 4
call fcn.0040e1a0
add esp, 0x18
call fcn.0044b530
mov byte [0xa3adcc], al
test al, al
jne 0x40f927
push 4
mov edx, 0x6174b8
lea ecx, [ebp - 0x4f0]
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f6d1
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405250
call fcn.00449590
add esp, 0x18
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea ecx, [ebp - 0x500]
call fcn.00423290
mov eax, ecx
mov byte [ebp - 0x500], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x450]
call fcn.00421c70
add esp, 4
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40f720
cmp ecx, 0xffffffff
jne 0x40f729
cmp byte [eax], 0
jne 0x40f729
xor bl, bl
jmp 0x40f72b
mov bl, 1
lea ecx, [ebp - 0x44c]
call fcn.00418fb0
push 1
mov edx, 0x6174c0
lea ecx, [ebp - 0x4f0]
call fcn.00403e00
add esp, 4
test bl, bl
je 0x40f839
cmp dword [eax + 0x14], 0x10
jb 0x40f75b
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
lea ecx, [ebp - 0x4f0]
mov bl, al
call fcn.004051e0
lea ecx, [ebp - 0x4f0]
mov edx, 0x617490
push 6
test bl, bl
jne 0x40f786
mov edx, 0x617498
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f796
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405250
call fcn.00449590
add esp, 0x18
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x40f7f3
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.004051e0
lea ecx, [ebp - 0x7a8]
call fcn.00423350
lea ecx, [ebp - 0x4d8]
call fcn.004051e0
or eax, 0xffffffff
jmp 0x410cc2
cmp dword [eax + 0x14], 0x10
jb 0x40f841
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
test al, al
lea ecx, [ebp - 0x4f0]
sete bl
call fcn.004051e0
test bl, bl
je 0x40f921
push 0x11
mov edx, 0x6174a0
lea ecx, [ebp - 0x4f0]
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40f87e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405250
call fcn.00449590
add esp, 0x18
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x40f8db
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.004051e0
lea ecx, [ebp - 0x7a8]
call fcn.00423350
lea ecx, [ebp - 0x4d8]
call fcn.004051e0
or eax, 0xffffffff
jmp 0x410cc2
mov ebx, dword [ebp - 0x75c]
lea ecx, [ebp - 0x458]
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 1
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0x61f3a4
call fcn.0041f660
xor eax, eax
mov byte [0xa3c1bc], 0
push 0x100
push eax
mov word [ebp - 0x777], ax
lea eax, [ebp - 0x318]
push eax
mov byte [0xa3c1c4], 0
mov byte [0xa271b0], 1
mov byte [0xa3c1bd], 0
mov byte [ebp - 0x778], 0
call fcn.0050b8e0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x100
push 0
push eax
call fcn.0050b8e0
add esp, 0xc
lea eax, [ebp - 0x418]
push 0x100
push 0
push eax
call fcn.0050b8e0
add esp, 0xc
lea edx, [ebp - 0x4a8]
lea ecx, [ebp - 0x478]
push 0
call fcn.00419570
add esp, 4
lea ecx, [ebp - 0x418]
cmp dword [ebp - 0x464], 0x10
lea eax, [ebp - 0x478]
cmovae eax, dword [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x318]
push ecx
lea ecx, [ebp - 0x778]
push ecx
push eax
call fcn.005128e0
mov eax, dword [ebp - 0x464]
add esp, 0x14
cmp eax, 0x10
jb 0x40fa34
inc eax
lea ecx, [ebp - 0x478]
push eax
push dword [ebp - 0x478]
call fcn.004064e0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x548]
call fcn.00405250
push 1
push 0
lea eax, [ebp - 0x74c]
mov byte [ebp - 0x74c], 0x40
push eax
lea ecx, [ebp - 0x548]
call fcn.00411e80
mov ecx, dword [ebp - 0x538]
mov edx, eax
dec ecx
cmp edx, ecx
ja 0x40fbb2
mov esi, dword [ebp - 0x534]
lea ecx, [ebp - 0x548]
cmp esi, 0x10
cmovae ecx, dword [ebp - 0x548]
cmp byte [edx + ecx + 1], 0x41
jne 0x40fbb2
cmp esi, 0x10
lea eax, [ebp - 0x548]
lea ecx, [ebp - 0x478]
cmovae eax, dword [ebp - 0x548]
add eax, 2
add eax, edx
push eax
call fcn.00405250
mov eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x44c]
cmp eax, 4
mov dword [ebp - 0x44c], eax
lea edx, [ebp - 0x764]
mov dword [ebp - 0x764], 4
cmovle edx, ecx
cmp dword [ebp - 0x464], 0x10
lea ecx, [ebp - 0x478]
cmovae ecx, dword [ebp - 0x478]
mov eax, dword [edx]
mov dword [ebp - 0x764], 0
mov byte [ecx + eax], 0
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x450]
call fcn.00404f90
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x764]
mov edx, dword [ebp - 0x44c]
push eax
lea edx, [edx + ecx]
call fcn.00420840
add esp, 4
cmp dword [ebp - 0x764], 0
jle 0x40fba7
call fcn.0044b820
mov esi, eax
mov eax, 0x66666667
imul dword [ebp - 0x764]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jg 0x40fba7
push 0x61f3b8
lea ecx, [ebp - 0x448]
call fcn.00405250
test ebx, 0x100
je 0x40fb8a
and ebx, 0xfffffeff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x75c], ebx
call fcn.0041f860
mov ecx, dword [0xa3c1b4]
lea eax, [ebp - 0x448]
push eax
call fcn.0041c560
lea ecx, [ebp - 0x448]
call fcn.004051e0
lea ecx, [ebp - 0x478]
call fcn.004051e0
push 1
mov edx, 0x6174b4
mov dword [ebp - 0x54c], 0xf
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x550], 0
mov byte [ebp - 0x560], 0
call fcn.00403e00
mov ecx, eax
add esp, 4
cmp dword [ecx + 0x14], 0x10
jb 0x40fbec
mov ecx, dword [ecx]
mov dword [ebp - 0x450], ecx
test ecx, ecx
jne 0x40fbfe
mov dword [ebp - 0x44c], ecx
jmp 0x40fc21
cmp byte [ecx], 0
jne 0x40fc0f
mov dword [ebp - 0x44c], 0
jmp 0x40fc21
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40fc12
sub ecx, edx
mov dword [ebp - 0x44c], ecx
lea eax, [ebp - 0x450]
mov ecx, edi
push eax
lea eax, [ebp - 0x5a8]
push eax
call fcn.0041c3e0
mov eax, dword [ebp - 0x434]
cmp eax, 0x10
jb 0x40fc54
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.004064e0
mov ebx, dword [ebp - 0x598]
test ebx, ebx
je 0x40ff96
cmp dword [ebp - 0x594], 0x10
lea esi, [ebp - 0x5a8]
push str._param
cmovae esi, dword [ebp - 0x5a8]
lea ecx, [ebp - 0x758]
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
call fcn.00411200
push dword [ebp - 0x754]
lea eax, [ebp - 0x454]
push dword [ebp - 0x758]
push ebx
push esi
push eax
call fcn.00422c40
mov esi, dword [ebp - 0x454]
add esp, 0x14
cmp dword [esi + 0x14], 0x10
jb 0x40fcd1
mov eax, dword [esi]
jmp 0x40fcd3
mov eax, esi
mov dword [ebp - 0x758], eax
lea edx, [ebp - 0x758]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x578]
push 0
mov dword [ebp - 0x754], eax
call fcn.00419490
mov ecx, dword [ebp - 0x450]
xor eax, eax
mov word [ebp - 0x668], ax
sub ecx, esi
mov eax, 0x2aaaaaab
mov dword [ebp - 0x654], 7
imul ecx
add esp, 4
mov dword [ebp - 0x658], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x40fd75
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x758]
call fcn.00404f90
push 0
lea edx, [ebp - 0x758]
lea ecx, [ebp - 0x448]
call fcn.00419490
add esp, 4
lea eax, [ebp - 0x448]
lea ecx, [ebp - 0x668]
push eax
call fcn.00405080
lea ecx, [ebp - 0x448]
call fcn.00405040
sub esp, 8
lea eax, [ebp - 0x578]
cmp dword [ebp - 0x564], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x578]
mov dword [ecx], eax
mov eax, dword [ebp - 0x568]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x448]
call fcn.00419a20
cmp dword [eax + 0x14], 8
jb 0x40fdac
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x434]
sete bl
cmp eax, 8
jb 0x40fdd7
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.00406d90
test bl, bl
je 0x40fe09
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x578]
push eax
call fcn.004c7e5a
add esp, 8
lea eax, [ebp - 0x430]
lea ecx, [ebp - 0x578]
push 0xffffffffffffffff
push 0
push eax
call fcn.00405b70
jmp 0x40fe55
sub esp, 8
lea eax, [ebp - 0x578]
mov ecx, esp
push eax
call fcn.00404f20
lea ecx, [ebp - 0x448]
call fcn.00419a20
push 0xffffffffffffffff
lea edx, [ebp - 0x560]
mov ecx, eax
call fcn.00416590
mov eax, dword [ebp - 0x434]
add esp, 4
cmp eax, 8
jb 0x40fe55
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.00406d90
cmp dword [ebp - 0x550], 0x1000
jae 0x40ff2c
lea ecx, [ebp - 0x668]
call fcn.00405040
lea ecx, [ebp - 0x578]
call fcn.00405040
lea ecx, [ebp - 0x454]
call fcn.00410f00
lea ecx, [ebp - 0x5a8]
call fcn.004051e0
lea ecx, [ebp - 0x560]
call fcn.004051e0
lea ecx, [ebp - 0x548]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x40fee6
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.004051e0
lea ecx, [ebp - 0x7a8]
call fcn.00423350
lea ecx, [ebp - 0x4d8]
call fcn.004051e0
or eax, 0xffffffff
jmp 0x410cc2
call fcn.00453250
lea ecx, [ebp - 0x748]
call fcn.00410d90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x578]
push eax
lea ecx, [ebp - 0x740]
call fcn.00405b70
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x728]
call fcn.00405f90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x6f8]
call fcn.00405b70
lea ecx, [ebp - 0x748]
call fcn.00452ec0
call fcn.004532e0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x61f3c4
mov ecx, edi
call fcn.0041c330
test al, al
jne 0x4101dd
push 1
mov edx, 0x6174cc
lea ecx, [ebp - 0x4f0]
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40ffc7
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
lea ecx, [ebp - 0x4f0]
mov bl, al
call fcn.004051e0
test bl, bl
je 0x4101f4
sub esp, 0x18
mov ecx, esp
push str.run_first
call fcn.00405250
call fcn.00449590
add esp, 0x18
lea ecx, [ebp - 0x448]
push 0x61f3c4
call fcn.00405250
mov esi, dword [ebp - 0x75c]
test esi, 0x200
je 0x410030
and esi, 0xfffffdff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x75c], esi
call fcn.0041f860
mov ecx, dword [0xa3c1b4]
lea eax, [ebp - 0x448]
push eax
call fcn.0041c560
lea ecx, [ebp - 0x448]
call fcn.004051e0
lea eax, [ebp - 0x4f0]
mov ecx, edi
push eax
call fcn.0040b200
cmp dword [eax + 0x14], 8
jb 0x410063
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x478]
call fcn.004050d0
lea ecx, [ebp - 0x4f0]
call fcn.00405040
xor eax, eax
mov dword [ebp - 0x47c], 7
push 0x61f3d4
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], ax
call fcn.004050d0
lea edx, [ebp - 0x490]
lea ecx, [ebp - 0x448]
call fcn.00418930
lea ecx, [ebp - 0x448]
call fcn.00405040
sub esp, 8
mov ecx, esp
push str.setuphelp.dll
call fcn.00404f50
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x490]
call fcn.0041a1d0
lea ecx, [ebp - 0x490]
cmp ecx, eax
je 0x4100f8
push 0xffffffffffffffff
push 0
push eax
call fcn.00405b70
mov eax, dword [ebp - 0x434]
cmp eax, 8
jb 0x410116
inc eax
lea ecx, [ebp - 0x448]
push eax
push dword [ebp - 0x448]
call fcn.00406d90
cmp dword [ebp - 0x464], 8
lea edx, [ebp - 0x478]
lea ecx, [ebp - 0x490]
cmovae edx, dword [ebp - 0x478]
cmp dword [ebp - 0x47c], 8
cmovae ecx, dword [ebp - 0x490]
push ecx
call fcn.004bb490
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x410154
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0050b8e0
add esp, 0xc
lea eax, [ebp - 0x118]
push ebx
push str.switch_false__errcode_08x
push eax
call fcn.00401a50
sub esp, 0xc
lea eax, [ebp - 0x118]
mov ecx, esp
push eax
call fcn.00405250
call fcn.00449590
mov eax, dword [ebp - 0x47c]
add esp, 0x18
cmp eax, 8
jb 0x4101b3
inc eax
lea ecx, [ebp - 0x490]
push eax
push dword [ebp - 0x490]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x47c], 7
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x480], 0
mov word [ebp - 0x490], ax
call fcn.00405040
jmp 0x4101fa
sub esp, 0x18
mov ecx, esp
push str.run_first
call fcn.00405250
call fcn.00449590
add esp, 0x18
mov esi, dword [ebp - 0x75c]
push 1
mov edx, 0x6174c4
mov dword [ebp - 0x5f4], 0xf
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x5f8], 0
mov byte [ebp - 0x608], 0
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x410232
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
lea ecx, [ebp - 0x4f0]
mov bl, al
call fcn.004051e0
test bl, bl
je 0x41062b
sub esp, 0x18
mov ecx, esp
push str.mprocess_s
call fcn.00405250
call fcn.00449590
lea eax, [ebp - 0x5f0]
mov dword [ebp - 0x47c], 0xf
push eax
lea edx, [ebp - 0x478]
mov dword [ebp - 0x480], 0
lea ecx, [ebp - 0x490]
mov byte [ebp - 0x490], 0
mov dword [ebp - 0x464], 0xf
mov dword [ebp - 0x468], 0
mov byte [ebp - 0x478], 0
mov dword [ebp - 0x5dc], 0xf
mov dword [ebp - 0x5e0], 0
mov byte [ebp - 0x5f0], 0
call fcn.00453e40
add esp, 0x1c
test al, al
je 0x41060a
lea eax, [ebp - 0x490]
mov dword [ebp - 0x504], 0xf
push eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x508], 0
mov byte [ebp - 0x518], 0
call fcn.00404f90
push 0
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x448]
call fcn.00419490
add esp, 4
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.004c7e5a
add esp, 8
lea ecx, [ebp - 0x448]
mov bl, al
call fcn.00405040
test bl, bl
je 0x4105ff
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x450]
call fcn.00404f90
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x448]
call fcn.004215d0
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x450]
call fcn.00404f90
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x768]
call fcn.00404f90
push dword [ebp - 0x44c]
push dword [ebp - 0x450]
push dword [ebp - 0x764]
push dword [ebp - 0x768]
call fcn.0041e910
add esp, 0x10
test eax, eax
jne 0x4105f4
lea edx, [ebp - 0x460]
mov dword [ebp - 0x44c], 0xf
lea ecx, [ebp - 0x518]
mov dword [ebp - 0x450], eax
mov byte [ebp - 0x460], al
call fcn.00468db4
test al, al
je 0x4105e9
lea edx, [ebp - 0x5f0]
lea ecx, [ebp - 0x4f0]
call fcn.0044b700
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x4103fe
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x754]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x410404
lea ecx, [ebp - 0x4f0]
call fcn.00405040
call fcn.0041c040
call fcn.0041bfd0
test esi, 0x400
je 0x410449
and esi, 0xfffffbff
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x75c], esi
call fcn.0041f860
mov edi, dword [0xa3c1b4]
lea ecx, [ebp - 0x490]
push 0xffffffffffffffff
push 0x61f424
call fcn.004112a0
push 0xffffffffffffffff
mov esi, 3
lea ecx, [ebp - 0x490]
push 0x61f420
sub esi, eax
call fcn.004112a0
add esi, eax
lea ecx, [ebp - 0x490]
push esi
push 0xffffffffffffffff
push 0x61f424
call fcn.004112a0
inc eax
lea ecx, [ebp - 0x490]
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.00411260
push eax
lea ecx, [ebp - 0x608]
call fcn.00411390
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea eax, [ebp - 0x460]
push eax
push ecx
call fcn.00451570
add esp, 4
mov ecx, eax
call fcn.00451350
call fcn.00451dd0
mov ecx, eax
call fcn.00451d40
call fcn.00456070
push ecx
call fcn.004554e0
test al, al
jne 0x4105bf
lea ecx, [ebp - 0x460]
call fcn.004051e0
lea ecx, [ebp - 0x448]
call fcn.004051e0
lea ecx, [ebp - 0x518]
call fcn.004051e0
lea ecx, [ebp - 0x5f0]
call fcn.004051e0
lea ecx, [ebp - 0x478]
call fcn.004051e0
lea ecx, [ebp - 0x490]
call fcn.004051e0
lea ecx, [ebp - 0x608]
call fcn.004051e0
lea ecx, [ebp - 0x5a8]
call fcn.004051e0
lea ecx, [ebp - 0x560]
call fcn.004051e0
lea ecx, [ebp - 0x548]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x41059d
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
jmp 0x410c9f
call fcn.00456070
push ecx
call fcn.004555b0
test al, al
je 0x4104f0
sub esp, 0x18
mov ecx, esp
push 0x61f428
call fcn.00405250
call fcn.00449590
add esp, 0x18
lea ecx, [ebp - 0x460]
call fcn.004051e0
lea ecx, [ebp - 0x448]
call fcn.004051e0
lea ecx, [ebp - 0x518]
call fcn.004051e0
lea ecx, [ebp - 0x5f0]
call fcn.004051e0
lea ecx, [ebp - 0x478]
call fcn.004051e0
lea ecx, [ebp - 0x490]
call fcn.004051e0
push 1
mov edx, 0x6174c8
lea ecx, [ebp - 0x650]
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x410648
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x758]
call fcn.00411200
mov ebx, dword [ebp - 0x75c]
test ebx, 0x800
je 0x410673
lea ecx, [ebp - 0xc8]
and ebx, 0xfffff7ff
call fcn.0041f860
mov ecx, dword [0xa3c1b4]
lea eax, [ebp - 0x758]
push eax
lea eax, [ebp - 0x4f0]
push eax
call fcn.0041c3e0
push eax
lea ecx, [ebp - 0x4c0]
call fcn.00411390
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea ecx, [ebp - 0x650]
call fcn.004051e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c0]
mov ecx, 0xa3bcc0
push eax
call fcn.00405f90
xor eax, eax
mov dword [ebp - 0x5c4], 7
push str.REG_UNINSTALL_PATH
lea ecx, [ebp - 0x5c0]
mov dword [ebp - 0x5c8], 0
mov word [ebp - 0x5d8], ax
call fcn.004050d0
call fcn.0044e700
lea ecx, [ebp - 0x5d8]
push ecx
lea ecx, [ebp - 0x5c0]
push ecx
mov ecx, eax
call fcn.0044e130
lea ecx, [ebp - 0x5c0]
call fcn.00405040
push 1
mov edx, 0x6174c0
lea ecx, [ebp - 0x638]
or ebx, 2
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x410735
mov eax, dword [eax]
push eax
mov ecx, edi
call fcn.0041c330
test al, al
jne 0x410766
cmp dword [ebp - 0x5c4], 8
lea eax, [ebp - 0x5d8]
cmovae eax, dword [ebp - 0x5d8]
push eax
call fcn.00410ce0
mov byte [ebp - 0x74c], 1
test al, al
jne 0x41076d
mov byte [ebp - 0x74c], 0
lea ecx, [ebp - 0x638]
and ebx, 0xfffffffd
call fcn.004051e0
cmp byte [ebp - 0x74c], 0
je 0x4107d1
push 1
mov edx, 0x6174c0
lea ecx, [ebp - 0x4f0]
call fcn.00403e00
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4107a1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00405250
lea eax, [ebp - 0x5c0]
mov ecx, edi
push eax
call fcn.0041c560
lea ecx, [ebp - 0x5c0]
call fcn.004051e0
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
push str.CurDate
lea ecx, [ebp - 0x5c0]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, 0x452220
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x5c0]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x5c0]
call fcn.00405040
push str.CurDateShort
lea ecx, [ebp - 0x6e0]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, 0x4522d0
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x6e0]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x6e0]
call fcn.00405040
push str.FirstInstallTime
lea ecx, [ebp - 0x680]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, 0x4523a0
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x680]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x680]
call fcn.00405040
push str.UninstFirstInstallTime
lea ecx, [ebp - 0x698]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, 0x452480
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x698]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x698]
call fcn.00405040
push str.UpdateTime
lea ecx, [ebp - 0x6b0]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, fcn.00452560
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x6b0]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x6b0]
call fcn.00405040
push str.InstallCount
lea ecx, [ebp - 0x6c8]
call fcn.004050d0
call fcn.0044e700
mov esi, eax
sub esp, 8
mov edx, 0x452760
mov ecx, esp
call fcn.00413460
lea eax, [ebp - 0x6c8]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x6c8]
call fcn.00405040
push 0x61f304
lea ecx, [ebp - 0x638]
call fcn.004050d0
call fcn.0044e700
sub esp, 8
mov edx, 0x452990
mov ecx, esp
mov esi, eax
call fcn.00413460
lea eax, [ebp - 0x638]
mov ecx, esi
push eax
call fcn.0044e660
lea ecx, [ebp - 0x638]
call fcn.00405040
push 0x61e428
lea ecx, [ebp - 0x650]
call fcn.004050d0
push str.IS_INSTALL_SUCCESS
lea ecx, [ebp - 0x638]
call fcn.004050d0
lea eax, [ebp - 0x650]
push eax
lea eax, [ebp - 0x638]
push eax
call fcn.0044e700
mov ecx, eax
call fcn.0044e580
lea ecx, [ebp - 0x638]
call fcn.00405040
lea ecx, [ebp - 0x650]
call fcn.00405040
xor eax, eax
mov dword [ebp - 0x57c], 7
push str.APPNAME
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x580], 0
mov word [ebp - 0x590], ax
call fcn.004050d0
call fcn.0044e700
lea ecx, [ebp - 0x590]
push ecx
lea ecx, [ebp - 0x4f0]
push ecx
mov ecx, eax
call fcn.0044e130
lea ecx, [ebp - 0x4f0]
call fcn.00405040
push 0x61f4ec
lea ecx, [ebp - 0x590]
call fcn.00404ff0
cmp dword [ebp - 0x57c], 8
lea eax, [ebp - 0x590]
cmovae eax, dword [ebp - 0x590]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x410b4c
test bl, 4
je 0x410a7e
lea ecx, [ebp - 0xc8]
call fcn.0041f860
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x590]
call fcn.00405040
lea ecx, [ebp - 0x5d8]
call fcn.00405040
lea ecx, [ebp - 0x608]
call fcn.004051e0
lea ecx, [ebp - 0x5a8]
call fcn.004051e0
lea ecx, [ebp - 0x560]
call fcn.004051e0
lea ecx, [ebp - 0x548]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x410b06
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x41c], 7
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.004051e0
lea ecx, [ebp - 0x7a8]
call fcn.00423350
lea ecx, [ebp - 0x4d8]
call fcn.004051e0
or eax, 0xffffffff
jmp 0x410cc2
call fcn.0040e990
sub esp, 0x18
lea eax, [ebp - 0x530]
mov ecx, esp
push eax
call fcn.00405300
sub esp, 0x18
lea ecx, [ebp - 0x4a8]
mov eax, esp
push ecx
push eax
call fcn.00419470
add esp, 8
call fcn.0040e730
add esp, 0x30
test al, al
je 0x410bb5
push 3
mov edx, 0x61748c
lea ecx, [ebp - 0x4f0]
or ebx, 8
call fcn.00403e00
add esp, 4
mov ecx, eax
call fcn.00405190
push eax
mov ecx, edi
call fcn.0041c330
mov byte [ebp - 0x74c], 1
test al, al
je 0x410bbc
mov byte [ebp - 0x74c], 0
test bl, 8
je 0x410bcc
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
cmp byte [ebp - 0x74c], 0
je 0x410c21
push 3
mov edx, 0x61748c
lea ecx, [ebp - 0x650]
call fcn.00403e00
add esp, 4
mov ecx, eax
call fcn.00405190
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00405250
lea eax, [ebp - 0x4f0]
mov ecx, edi
push eax
call fcn.0041c560
lea ecx, [ebp - 0x4f0]
call fcn.004051e0
lea ecx, [ebp - 0x650]
call fcn.004051e0
call fcn.0040ec30
call fcn.0040ce70
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x590]
call fcn.00405040
lea ecx, [ebp - 0x5d8]
call fcn.00405040
lea ecx, [ebp - 0x608]
call fcn.004051e0
lea ecx, [ebp - 0x5a8]
call fcn.004051e0
lea ecx, [ebp - 0x560]
call fcn.004051e0
lea ecx, [ebp - 0x548]
call fcn.004051e0
lea ecx, [ebp - 0x530]
call fcn.004051e0
lea ecx, [ebp - 0x4a8]
call fcn.00405040
lea ecx, [ebp - 0x774]
call fcn.0040a6c0
lea ecx, [ebp - 0x430]
call fcn.00405040
lea ecx, [ebp - 0x4c0]
call fcn.004051e0
lea ecx, [ebp - 0x7a8]
call fcn.00423350
lea ecx, [ebp - 0x4d8]
call fcn.004051e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret 0x10