joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ebfe0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x493675
xor eax, eax
jmp 0x49373e
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0
jne 0x493685
xor eax, eax
jmp 0x49373e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004a8fd0
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4936b8
xor eax, eax
jmp 0x49373e
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
add ecx, 0x1e4
call fcn.00428240
push 1
push 0
push 0
push 0
push 0x4ceab4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.00423060
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov edx, dword [edx]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0041d1b0
movzx ecx, al
test ecx, ecx
je 0x49373c
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
call fcn.0043b710
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004a4ea6
mov esp, ebp
pop ebp
ret 0x10

Function at 0x494420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
call fcn.0043a0f0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x6d0], 0
je 0x4944c6
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6d0]
call fcn.00492e80
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x494497
push 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6d0]
call fcn.00426c90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4944c6
push 0x54
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6d0]
call fcn.00426c90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4944d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0043a7f0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x6d0], 0
je 0x494562
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x6d0]
call fcn.00492e80
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x494533
push 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6d0]
call fcn.00426c90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x494562
push 0x54
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6d0]
call fcn.00426c90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a4ea6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ebfe0]
jne 0x4a4eb0
repz ret
jmp fcn.004ac610
Function at 0x4bb11b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004ac788
and dword [ebp - 4], 0
cmp dword [0x4f0754], 0
mov ebx, eax
jne 0x4bb1cc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4bb27d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4bb27d
push eax
call fcn.004ac716
mov dword [esp], 0x4d99e8
push edi
mov dword [0x4f0754], eax
call esi
push eax
call fcn.004ac716
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4f0758], eax
call esi
push eax
call fcn.004ac716
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f075c], eax
call esi
push eax
call fcn.004ac716
pop ecx
mov dword [0x4f0764], eax
test eax, eax
je 0x4bb1cc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004ac716
pop ecx
mov dword [0x4f0760], eax
mov eax, dword [0x4f0760]
cmp eax, ebx
je 0x4bb224
cmp dword [0x4f0764], ebx
je 0x4bb224
push eax
call fcn.004ac791
push dword [0x4f0764]
mov esi, eax
call fcn.004ac791
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4bb224
test edi, edi
je 0x4bb224
call esi
test eax, eax
je 0x4bb21b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4bb21b
test byte [ebp - 0xc], 1
jne 0x4bb224
or dword [ebp + 0x10], 0x200000
jmp 0x4bb25d
mov eax, dword [0x4f0758]
cmp eax, ebx
je 0x4bb25d
push eax
call fcn.004ac791
pop ecx
test eax, eax
je 0x4bb25d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4bb25d
mov eax, dword [0x4f075c]
cmp eax, ebx
je 0x4bb25d
push eax
call fcn.004ac791
pop ecx
test eax, eax
je 0x4bb25d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f0754]
call fcn.004ac791
pop ecx
test eax, eax
je 0x4bb27d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4bb27f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46e750
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004730e8
call fcn.0046e900
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x46e788
jmp 0x46e824
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x46e787
cmp cl, 0x22
je 0x46e7e0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test edx, eax
je 0x46e800
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x46e800
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test edx, eax
jne 0x46e7c0
jmp 0x46e800
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test edx, eax
jne 0x46e7e0
cmp cl, 0x22
je 0x46e860
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x46e81e
inc ebx
movzx eax, byte [ebx]
cmp al, 0x20
sete dl
cmp al, 9
sete al
or eax, edx
test al, 1
jne 0x46e810
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x46e842
movzx edx, word [ebp - 0x28]
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046ea60
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x46e800
Function at 0x46ea60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
call sub.KERNEL32.dll_GetCommandLineW
lea ebx, [ebp - 0x10]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [method.QString.fromWCharArray_wchar_t_const__int_]
push edx
lea esi, [ebp - 0xc]
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [method.QString.toLocal8Bit___const]
push eax
mov eax, dword [ebp - 0x10]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x46eab0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [method.QString.free_QString::Data_]
mov dword [ebp - 0x14], 0
mov dword [esp + 4], 4
mov dword [esp], 0x30
call dword [method.QVectorData.allocate_int__int_]
mov ebx, eax
test eax, eax
je 0x46ebf8
mov dword [ebp - 0x18], ebx
mov dword [ebx], 1
mov dword [ebx + 8], 8
mov dword [ebx + 4], 8
mov al, byte [ebx + 0xc]
or eax, 1
and eax, 0xfffffffd
mov byte [ebx + 0xc], al
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
add ebx, 0x10
mov dword [esp], ebx
call dword [sym.imp.QtCore4.dll_qMemSet_void__int__unsigned_int_]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
dec edx
je 0x46ebe4
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [method.QByteArray.realloc_int_]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
lea ebx, [ebp - 0x18]
mov dword [esp + 0x14], ebx
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.QtCore4.dll_qWinMain_HINSTANCE____HINSTANCE____char__int__int__QVector_char__
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
dec edx
je 0x46eb80
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004977cc
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00446d50
mov ebx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x46eba8
lock dec dword [eax]
setne dl
test dl, dl
je 0x46ebcc
mov eax, dword [ebp - 0xc]
lock dec dword [eax]
setne dl
test dl, dl
jne 0x46ebc1
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.QtCore4.dll_qFree_void_]
mov eax, ebx
lea esp, [ebp - 8]
pop ebx
pop esi
leave
ret 0x10
mov dword [esp + 4], 4
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [method.QVectorData.free_QVectorData__int_]
jmp 0x46eba8
mov edx, dword [eax + 0xc]
lea ecx, [eax + 0x10]
cmp edx, ecx
jne 0x46eb21
jmp 0x46eb37
call dword [sym.imp.QtCore4.dll_qBadAlloc__]
jmp 0x46ead6
Function at 0x4226cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4226db
pop dword [ebp - 0x44]
mov eax, 0xff38cf7e
add eax, 0x109575d
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3d852
push 0
mov eax, 0xf15b8637
sub eax, 0xf119341f
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x46cd
mov esi, eax
mov edx, 0xe033b1a8
sub edx, 0xdff05da8
add edx, dword [ebp - 0x44]
mov ebx, 0x94db8aa0
add ebx, 0xa8540ca5
xor dword [ebp - 0xc], 0x76d38ecb
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
sub dword [ebp - 0x3c], edi
add esi, 0x433a0f41
add esi, 0xbcc5f0c3
add edx, 4
loop 0x422734
add eax, 0x10e07
xor ebx, ebx
add ebx, eax
add eax, 0x53253033
sub eax, 0x5325302e
mov ecx, 0xaa215154
sub ecx, 0xa9e15154
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x402f94
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x402fb9
lea ecx, [eax - 0x10]
call fcn.004010f6
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004010f6
xor eax, eax
jmp 0x403037
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], esi
je 0x402fa2
push ebx
push edi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x402fed
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, esi
je 0x40305c
cmp eax, 0x80004004
je 0x40303c
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x402fd2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010f6
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004010f6
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
ret 8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010f6
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004010f6
xor eax, eax
jmp 0x403035
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x40301d
xor esi, esi
inc esi
jmp 0x40301d
Function at 0x40346f
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x328
lea ebp, [esp - 4]
mov eax, dword [0x47b570]
xor eax, ebp
mov dword [ebp + 0x328], eax
push 0x40
mov eax, 0x45d1e0
call fcn.00443770
xor ebx, ebx
mov edi, ecx
cmp byte [0x47cbb8], bl
jne 0x403673
mov esi, 0x103
push esi
lea eax, [ebp + 0x121]
push ebx
push eax
mov byte [0x47cbb8], 1
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x120], bl
call fcn.00443310
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push str.SOFTWAREEnterSafeInterPass_DLBANK
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40350f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x120]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x120]
add edi, 0xd4
push eax
mov ecx, edi
call fcn.0040180f
push esi
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.00443310
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x403555
lea eax, [ebp + 0x1c]
push eax
mov ecx, edi
call fcn.0040180f
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov edx, 0x404
cmp eax, 0xc04
jne 0x40356c
mov eax, edx
mov ecx, 0x409
cmp eax, ecx
je 0x403582
cmp eax, 0x804
je 0x403582
cmp eax, edx
je 0x403582
mov eax, ecx
push eax
call fcn.00423375
lea ecx, [ebp - 0x30]
mov dword [esp], str.langescertd
call fcn.00403364
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.00423382
or dword [ebp - 4], 0xffffffff
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x30]
call fcn.004014f6
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp]
call fcn.00403364
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], ebx
je 0x4035db
lea eax, [ebp]
push eax
call fcn.00423364
pop ecx
jmp 0x403669
push esi
lea eax, [ebp + 0x225]
push ebx
push eax
mov byte [ebp + 0x224], bl
call fcn.00443310
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp + 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x224]
push eax
call fcn.00442f40
pop ecx
jmp 0x403620
cmp byte [ebp + eax + 0x224], 0x5c
je 0x403626
dec eax
cmp eax, ebx
jg 0x403615
jmp 0x40362d
mov byte [ebp + eax + 0x224], bl
push str.lang
lea eax, [ebp + 0x224]
push esi
push eax
call fcn.0044578b
add esp, 0xc
lea eax, [ebp + 0x224]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403364
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.00423364
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.004014f6
push ebx
push edi
lea ecx, [ebp]
call fcn.004014f6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x328]
xor ecx, ebp
call fcn.004432f5
add ebp, 0x32c
leave
ret
Function at 0x403696
Capabilities:
Read .ini file

Disassembly:
push 0x20c
mov eax, 0x45d210
call fcn.004437d9
mov ebx, ecx
xor edi, edi
push 0x207
lea eax, [ebp - 0x217]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebx + 0xd0], edi
mov byte [ebp - 0x218], 0
call fcn.00443310
mov esi, 0x208
push esi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00443310
add esp, 0x18
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, str.version
push eax
push eax
call edi
lea ecx, [ebx + 0xc8]
test eax, eax
jne 0x403727
push 0x462c08
call fcn.0040180f
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010f6
mov eax, esi
call fcn.0044385c
ret 4
lea eax, [ebp - 0x218]
push eax
call fcn.0040180f
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443310
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push eax
push 0
push str.Updatetime
push str.update
call edi
test eax, eax
jne 0x403770
and dword [ebx + 0xd0], eax
and dword [ebx + 0xcc], eax
jmp 0x40378d
lea eax, [ebp - 0x218]
push eax
mov dword [ebx + 0xd0], 1
call fcn.004457ff
pop ecx
mov dword [ebx + 0xcc], eax
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443310
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push eax
push 0
push str.Adr1
push str.update
call edi
lea ecx, [ebx + 0xbc]
test eax, eax
jne 0x4037c9
push 0x462c08
jmp 0x4037d0
lea eax, [ebp - 0x218]
push eax
call fcn.0040180f
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443310
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push eax
push 0
push str.Adr2
push str.update
call edi
lea ecx, [ebx + 0xc0]
test eax, eax
jne 0x403811
push 0x462c08
jmp 0x403818
lea eax, [ebp - 0x218]
push eax
call fcn.0040180f
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00443310
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push eax
push 0
push str.Adr3
push str.update
call edi
lea ecx, [ebx + 0xc4]
test eax, eax
jne 0x403859
push 0x462c08
jmp 0x403860
lea eax, [ebp - 0x218]
push eax
call fcn.0040180f
xor esi, esi
inc esi
jmp 0x403712
Function at 0x403945
Capabilities:
Check mutex on windows

Disassembly:
push 0x110
mov eax, 0x45d294
call fcn.004437d9
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.00401492
mov edi, str.92E24805_D254_4668_85D1_62E38F897AA8
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040332a
push str._certreg_single_instance_msgid
lea ecx, [ebp - 0x2c]
call fcn.00403347
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x403992
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [esi + 0xe0], eax
cmp eax, ebx
jne 0x4039b5
push ebx
push 0x10
push str.Can_not_initialize.
call fcn.0042edc1
jmp 0x403b01
lea ecx, [ebp - 0x118]
call fcn.004257aa
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.0042534a
test al, al
je 0x4039ec
push dword [esi + 0xe0]
mov ecx, esi
call fcn.00402a29
push 0x40c
mov ecx, esi
call fcn.00402a29
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040332a
push str._certreg_single_instance
lea ecx, [ebp - 0x2c]
call fcn.00403347
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x403a0e
lea eax, [ebp - 0x28]
push eax
push ebx
mov ecx, 0x47d97c
call fcn.004259c3
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 0xec], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403a66
cmp byte [esi + 0xe8], bl
jne 0x403a6e
mov eax, dword [esi + 0xec]
cmp eax, ebx
je 0x403a4d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 2
push dword [esi + 0xe0]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x403af3
cmp byte [esi + 0xe8], bl
je 0x403a73
push ebx
push 1
jmp 0x403a50
push ebx
call fcn.00431223
mov dword [esp], 0x7c4
call fcn.00425fa4
pop ecx
mov ecx, eax
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x403aa6
push ebx
push dword [esi + 0xe0]
call fcn.0040cb4c
mov edi, eax
jmp 0x403aa8
xor edi, edi
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x403af3
push ebx
mov dword [esi + 0x20], edi
mov eax, dword [edi]
push 0x66
mov ecx, edi
call dword [eax + 0x13c]
cmp eax, ebx
je 0x403af3
cmp byte [esi + 0xdc], bl
je 0x403ae0
push ebx
push 3
push dword [esi + 0xe0]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x20], ebx
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], bl
call fcn.00425368
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004014f6
xor eax, eax
call fcn.0044385c
ret
Function at 0x4047ef
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x47b570]
xor eax, ebp
mov dword [ebp + 0x394], eax
push esi
mov esi, ecx
call fcn.00401bbd
test eax, eax
je 0x4047ff
xor eax, eax
jmp 0x404871
push ebx
mov ecx, esi
call fcn.0040346f
xor ebx, ebx
push 0x40f
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.00443310
add esp, 0xc
push 0x410
lea eax, [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404851
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebx
jne 0x404855
xor eax, eax
jmp 0x404870
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x80], 1
mov ecx, esi
je 0x40486b
mov byte [esi + 0xe8], 1
call fcn.00403945
pop ebx
mov ecx, dword [ebp + 0x394]
xor ecx, ebp
pop esi
call fcn.004432f5
add ebp, 0x398
leave
ret