Function at 0x4069f0
Capabilities:
Create thread
Delete file
Get file size
Terminate thread
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x48a5a4
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
push ebx
push esi
push edi
mov eax, dword [0x4bb27c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
test byte [0x4c19f8], 1
jne 0x406a53
or dword [0x4c19f8], 1
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00401000
push 0x48bcd0
call fcn.00466230
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x406a55
xor edi, edi
mov eax, dword [0x4be0cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4be0cc
mov byte [ebp + 0x67], 0
call edx
add eax, 0x10
mov dword [ebp + 0x34], eax
mov dword [ebp - 4], 1
mov eax, dword [0x4be0cc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4be0cc
call edx
add eax, 0x10
mov dword [ebp + 4], eax
lea eax, [ebp + 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.00423db0
add esp, 4
push eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 3
call fcn.00403000
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x34]
push ecx
lea edx, [ebp + 0x5c]
push edx
call fcn.00421f10
add esp, 8
push eax
lea ecx, [ebp + 4]
mov byte [ebp - 4], 4
call fcn.00403000
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x497734
lea ecx, [ebp - 0x2c]
call fcn.004031f0
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 5
call fcn.00429fa0
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp + 0x24]
push eax
mov byte [ebp - 4], 6
call fcn.00422a80
add esp, 0x10
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406b7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp + 0x60], esp
push 0x497728
call fcn.004031f0
lea ecx, [ebp + 0x24]
push ecx
call fcn.004226b0
lea edx, [ebp + 0x24]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004281e0
add esp, 0x10
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x24]
cmp dword [eax - 0xc], edi
je 0x406bdc
mov ecx, dword [ebp + 0x34]
cmp dword [ecx - 0xc], edi
jl 0x406bdf
push eax
push ecx
call fcn.004663f8
add esp, 8
cmp eax, edi
je 0x406bdc
mov ecx, dword [ebp + 0x34]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x406bdf
mov byte [ebp + 0x67], 1
jmp 0x406bdf
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], edi
je 0x406c0a
cmp dword [ecx - 0xc], edi
jl 0x406c0a
push eax
push ecx
call fcn.004663f8
add esp, 8
cmp eax, edi
je 0x406c0a
sub eax, dword [ebp + 0x34]
sar eax, 1
cmp eax, 0xffffffff
je 0x406c0a
mov byte [ebp + 0x67], 1
jmp 0x406c14
cmp byte [ebp + 0x67], 0
je 0x407381
lea ecx, [ebp - 0x34]
push ecx
push edi
push edi
push 0x4062e0
push edi
push edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x4be0cc]
mov dword [ebp + 0x60], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x3c], eax
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00424140
mov esi, eax
lea edx, [ebp - 0x38]
push edx
mov byte [ebp - 4], 0xc
call fcn.00429fa0
push esi
push eax
lea eax, [ebp + 0x4c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00422a80
add esp, 0x14
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406cb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 4], 1
jle 0x406ccf
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.00402b20
mov eax, dword [ebp + 0x4c]
push edi
push 0x80
push 3
push edi
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406d05
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp + 0x50]
push eax
push 0x497884
push 1
push edi
push 0x497874
mov dword [ebp + 0x50], edi
call esi
cmp eax, edi
jl 0x407284
mov eax, dword [ebp + 0x50]
cmp eax, edi
je 0x407284
lea edx, [ebp + 0x2c]
push edx
mov dword [ebp + 0x2c], edi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp + 0x2c]
cmp eax, edi
jbe 0x407276
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push 0x4bdce0
neg ecx
or ecx, eax
push ecx
call fcn.00466456
mov ecx, eax
add esp, 8
cmp ecx, edi
mov dword [ebp + 0x44], ecx
je 0x407276
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
lea ebx, [ebp + 0x2c]
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, edi
jl 0x407246
xor ebx, ebx
cmp dword [ebp + 0x2c], edi
mov dword [ebp + 0x5c], ebx
jbe 0x407246
lea ecx, [ebp + 0x18]
push ecx
push 0x4978a4
push 1
push edi
push 0x497894
mov dword [ebp + 0x18], edi
call esi
cmp eax, edi
jl 0x407234
cmp dword [ebp + 0x18], edi
je 0x407234
lea edx, [ebp + 0x40]
push edx
push 0x497844
push 1
push edi
push 0x497834
mov dword [ebp + 0x40], edi
call esi
test eax, eax
jl 0x406e43
mov eax, dword [ebp + 0x40]
cmp eax, edi
je 0x406e46
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push 0x49772c
push 0x48db58
push eax
call edx
cmp eax, edi
jl 0x406e43
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 1
push 0x48db6c
push eax
call edx
cmp eax, edi
jl 0x406e43
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push 0x48db80
push eax
call edx
cmp eax, edi
jl 0x406e43
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 1
push 0x48db94
push eax
call edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + ebx*4]
push eax
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x54]
mov dword [ebp + 0x54], edi
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x10]
push edx
push edi
push str.DEVICE
mov dword [ebp + 0x10], edi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
push edx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp + 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
push 2
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, edi
jl 0x407234
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x18]
push edi
push edx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
push 0x18c
lea ecx, [ebp - 0x454]
push edi
push ecx
mov dword [ebp - 0x458], edi
call fcn.00467730
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
add esp, 0xc
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x458]
push ecx
push 0x64
push eax
call edx
cmp eax, edi
jl 0x407234
mov eax, dword [ebp + 0x54]
lea edx, [ebp + 0x30]
mov dword [ebp + 0x30], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, edi
jl 0x407234
lea ecx, [ebp + 0x1c]
push ecx
push 0x497864
push 1
push edi
push 0x497854
mov dword [ebp + 0x1c], edi
call esi
cmp eax, edi
mov eax, dword [ebp + 0x1c]
jge 0x406f39
cmp eax, edi
je 0x407234
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 0x14], edi
mov dword [ebp + 0x28], edi
mov dword [ebp + 0xc], 0x100000
jbe 0x40700d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x406f63
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
push 0x48db44
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
lea edx, [ebp + 0x40]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + esi*4 - 0x458]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x60]
push edx
push 0x48db44
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [ebp - 0x58]
push 0x4976a0
push ecx
call edi
test eax, eax
jne 0x406fe1
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
lea ecx, [ebp - 0x44]
push ecx
push eax
call edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
lea edx, [ebp + 0x28]
push edx
lea edx, [ebp + 0xc]
push edx
mov edx, dword [ebp + esi*4 - 0x458]
push 0
push 0x48db1c
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
jmp 0x406ff7
mov ecx, dword [ebp - 0x58]
push str.Nokia_Ovi_Suite_install_files
push ecx
call edi
test eax, eax
jne 0x406ff7
mov ebx, dword [ebp + esi*4 - 0x458]
cmp dword [ebp + 0x28], 0
je 0x407001
test ebx, ebx
jne 0x40700d
add esi, 1
cmp esi, dword [ebp + 0x14]
jb 0x406f60
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp dword [ebp + 0x28], 0
mov edi, eax
je 0x407228
test ebx, ebx
je 0x407228
push 0x4976a0
lea ecx, [ebp - 0x20]
call fcn.004031f0
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x11
call fcn.00429fa0
lea ecx, [ebp - 0x20]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0x12
call fcn.00422a80
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.004032a0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x15
call fcn.004032a0
mov eax, dword [ebp - 0x30]
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea edx, [ebp - 0x28]
push edx
mov edx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
push edx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [ebp - 0x28]
push 0
lea ecx, [ebp - 0x28]
push ecx
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x30]
mov dword [ebp + 0x28], 0
mov byte [ebp - 4], 0x10
call fcn.004032a0
push str.Nokia_Ovi_Suite_install_files
lea ecx, [ebp - 0x1c]
call fcn.004031f0
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0x16
call fcn.00429fa0
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea edx, [ebp - 0x50]
push edx
mov byte [ebp - 4], 0x17
call fcn.00422a80
add esp, 0x10
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x18
call fcn.00403000
lea ecx, [ebp - 0x50]
call fcn.004032a0
lea ecx, [ebp - 0x40]
call fcn.004032a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.004032a0
push ecx
mov ecx, esp
mov dword [ebp], esp
push 0x497728
call fcn.004031f0
lea eax, [ebp + 0x3c]
push eax
call fcn.004226b0
add esp, 8
push str.NokiaInstaller.exe
lea ecx, [ebp - 0x24]
call fcn.004031f0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp + 0x3c]
push edx
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0x19
call fcn.00422a80
add esp, 0xc
push eax
lea ecx, [ebp + 0x3c]
mov byte [ebp - 4], 0x1a
call fcn.00403000
lea ecx, [ebp + 0x20]
call fcn.004032a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.004032a0
push str.Nokia_Ovi_Suite_install_files
lea ecx, [ebp + 0x38]
call fcn.004031f0
lea ecx, [ebp + 0x58]
push ecx
mov byte [ebp - 4], 0x1b
call fcn.00429fa0
lea edx, [ebp + 0x38]
push edx
push eax
lea eax, [ebp + 0x48]
push eax
mov byte [ebp - 4], 0x1c
call fcn.00422a80
add esp, 0x10
lea ecx, [ebp + 0x58]
call fcn.004032a0
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x1f
call fcn.004032a0
push ecx
mov ecx, esp
mov dword [ebp], esp
push 0x497728
call fcn.004031f0
lea ecx, [ebp + 0x48]
push ecx
call fcn.004226b0
lea edx, [ebp + 0x48]
push edx
call fcn.0042a4a0
add esp, 8
lea eax, [ebp + 0x48]
mov ecx, esp
mov dword [ebp], esp
push eax
call fcn.004031d0
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x54]
push ecx
push edx
push ebx
call fcn.004063e0
add esp, 0x10
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 0x10
call fcn.004032a0
jmp 0x40722c
mov byte [ebp + 0x67], 0
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
xor edi, edi
mov ebx, dword [ebp + 0x5c]
add ebx, 1
cmp ebx, dword [ebp + 0x2c]
mov dword [ebp + 0x5c], ebx
jb 0x406da8
xor esi, esi
cmp dword [ebp + 0x2c], edi
jbe 0x40726a
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [ebp + 0x44]
mov dword [edx + esi*4], edi
add esi, 1
cmp esi, dword [ebp + 0x2c]
jb 0x407253
mov eax, dword [ebp + 0x44]
push eax
call fcn.00465fdd
add esp, 4
mov eax, dword [ebp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 0x50], edi
mov eax, dword [ebp + 0x60]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp + 0x3c]
cmp dword [ecx - 0xc], edi
je 0x40732f
lea ecx, [ebp - 0x64]
call fcn.00430ec0
push 0x4977b6
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x20
call fcn.00407c40
lea edx, [ebp + 0x3c]
push edx
lea eax, [ebp + 0x60]
mov bl, 0x21
push eax
mov byte [ebp - 4], bl
call fcn.004222e0
add esp, 8
push eax
lea ecx, [ebp + 0x5c]
push ecx
lea edx, [ebp + 0x3c]
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00431d80
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407300
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x20
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x10
call fcn.004319f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407352
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407375
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp + 0x67], 0
jne 0x407835
xor edi, edi
push edi
push str.NSIL_InstallerShim
mov byte [ebp - 4], 0x25
call fcn.004326c0
add esp, 8
lea ecx, [ebp]
push ecx
push edi
push str.NSIL_InstallerShim
mov ecx, 0x4c11f0
call fcn.00432700
test al, al
jne 0x4073c7
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x407852
push edi
push ecx
mov eax, esp
mov dword [ebp + 0x60], esp
push edi
push edi
push str.NSIL_InstallerShim
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [ebp + 0x60], esp
push edi
push str.NSIL_InstallerShim
mov ecx, 0x4c1200
mov dword [eax], edi
call fcn.00407cd0
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x54], eax
mov byte [ebp - 4], 0x26
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x50], eax
mov byte [ebp - 4], 0x27
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x48], eax
mov byte [ebp - 4], 0x28
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x4c], eax
mov byte [ebp - 4], 0x29
mov ecx, dword [ebp + 0x78]
push ecx
lea ecx, [ebp + 0x78]
call fcn.004031f0
lea edx, [ebp + 0x4c]
push edx
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x50]
push ecx
lea edx, [ebp + 0x54]
push edx
lea eax, [ebp + 0x78]
push eax
mov byte [ebp - 4], 0x2a
call fcn.00409060
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x54]
cmp dword [ecx - 0xc], edi
jne 0x407627
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x30], eax
mov byte [ebp - 4], 0x2b
mov edx, dword [0x4be0cc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4be0cc
call eax
add eax, 0x10
mov dword [ebp + 0x78], eax
lea ecx, [ebp + 0x78]
push ecx
lea edx, [ebp + 0x30]
push edx
mov byte [ebp - 4], 0x2c
call fcn.00407e90
mov eax, dword [ebp + 0x4c]
add esp, 8
cmp dword [eax - 0xc], edi
je 0x407523
mov ecx, dword [ebp + 0x78]
cmp dword [ecx - 0xc], edi
je 0x407516
push 0x4977e0
lea ecx, [ebp + 0x78]
call fcn.00401b60
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp + 0x78]
call fcn.00402030
mov edx, dword [0x4c1200]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40754a
mov eax, dword [0x4c1200]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x40754a
mov dword [0x4c1200], edi
lea ecx, [ebp + 0x20]
push ecx
call fcn.00424140
add esp, 4
mov esi, eax
lea edx, [ebp + 0x58]
push edx
mov byte [ebp - 4], 0x2d
call fcn.00423db0
add esp, 4
push esi
push eax
lea eax, [ebp + 0x60]
mov bl, 0x2e
push eax
mov byte [ebp - 4], bl
call fcn.004269d0
add esp, 0xc
lea ecx, [ebp + 0x30]
push ecx
lea ecx, [ebp + 0x78]
mov edx, eax
mov byte [ebp - 4], 0x2f
call fcn.00409800
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x60]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4075b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40761b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0x30]
jmp 0x407786
lea ecx, [ebp + 0x44]
push ecx
call fcn.004244d0
add esp, 4
lea edx, [ebp + 0x54]
push edx
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp + 0x78]
push ecx
mov byte [ebp - 4], 0x30
call fcn.004269d0
add esp, 0xc
push eax
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x31
call fcn.00403000
mov byte [ebp - 4], 0x30
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40767b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x50]
push ecx
lea edx, [ebp + 0x44]
push edx
lea eax, [ebp + 0x78]
push eax
call fcn.004269d0
add esp, 0xc
push eax
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x32
call fcn.00403000
mov byte [ebp - 4], 0x30
mov eax, dword [ebp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x108]
push ecx
mov byte [ebp + 0x7b], 0
call fcn.00407d30
lea edx, [ebp + 0x7b]
push edx
lea eax, [ebp + 0x50]
push eax
lea ecx, [ebp + 0x4c]
push ecx
lea edx, [ebp + 0x54]
mov bl, 0x33
push edx
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], bl
call fcn.0040a980
lea eax, [ebp - 0x108]
push eax
call fcn.0040c9d0
test al, al
je 0x407753
mov ecx, dword [ebp + 0x48]
cmp dword [ecx - 0xc], edi
je 0x407753
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp + 0x60]
call fcn.0040ca10
mov esi, eax
push 0x4976b8
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp - 0x60]
push ecx
mov byte [ebp - 4], 0x34
call fcn.00434220
add esp, 0xc
push esi
lea edx, [ebp + 0x44]
push edx
push eax
mov byte [ebp - 4], 0x35
call fcn.004011b0
lea ecx, [ebp - 0x60]
call fcn.00401c50
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.004032a0
cmp byte [ebp + 0x7b], 0
jne 0x407766
lea ecx, [ebp - 0x108]
call fcn.0040bec0
jmp 0x407770
push 2
call fcn.00434710
add esp, 4
lea esi, [ebp - 0x108]
mov byte [ebp - 4], 0x30
call fcn.00407e20
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x28
mov eax, dword [ebp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x27
mov eax, dword [ebp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x26
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40780b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x25
mov eax, dword [ebp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40782e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40785e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x68
mov esp, ebp
pop ebp
ret 0x10