joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40faf0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x44a8b0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov eax, dword [eax]
push 0x44e890
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
mov byte [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40fb6b
call fcn.004020e0
jmp 0x40fb73
mov ebx, eax
mov dword [esp + 0x14], ebx
xor eax, eax
push eax
call fcn.00422a20
add esp, 4
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40fb9a
call fcn.004020e0
cmp eax, edi
jl 0x40fb9c
xor eax, eax
push eax
call fcn.00422a20
add esp, 4
push 4
push 2
push edi
push edi
push edi
push ebx
lea ecx, [esp + 0x38]
call fcn.004080f0
push eax
call fcn.00422a20
mov eax, dword [esi]
mov ecx, dword [eax]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push edi
push ecx
call ebp
mov edi, dword [esp + 0x20]
push edi
mov ecx, esi
call fcn.0040e730
push edi
mov ecx, esi
call fcn.0040c3c0
push edi
mov ecx, esi
call fcn.0040ef70
push edi
mov ecx, esi
call fcn.0040eab0
push edi
mov ecx, esi
call fcn.0040b6f0
push edi
mov ecx, esi
call fcn.0040e460
push edi
mov ecx, esi
call fcn.0040f640
push edi
mov ecx, esi
call fcn.0040b970
push edi
mov ecx, esi
call fcn.0040a3c0
push edi
mov ecx, esi
call fcn.0040f2b0
mov edx, dword [esi]
mov eax, dword [edx]
push 5
push eax
call ebp
xor esi, esi
test edi, edi
je 0x40fc42
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x40fc42
call fcn.004020e0
mov esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40fc60
push eax
call edi
test eax, eax
jne 0x40fc60
test esi, esi
jl 0x40fc60
call fcn.004020e0
test ebx, ebx
je 0x40fc67
push ebx
call edi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4
Function at 0x40ff00
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
call fcn.00406360
push 0
push 0
push 0
push 0
push str.HttpPoster
mov dword [esi], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, vtable._internal::CInetHandle.0
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x3c], eax
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
add eax, 0x10
mov dword [esi + 0x40], eax
mov eax, esi
pop esi
ret

Function at 0x410230
Capabilities:
Connect to http server

Disassembly:
push ecx
push esi
mov esi, ecx
mov al, byte [esi + 0x44]
test al, al
jne 0x410337
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x2c]
push ebx
push edi
mov edi, dword [esi + 8]
push esi
push 0
push 3
push eax
push ecx
movzx ecx, word [esi + 0x30]
push ecx
push edx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call ebx
xor edx, edx
test edi, edi
setne dl
push eax
push str.InternetConnect_failed._Error:__d.
push edx
call fcn.00422cd0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp edi, eax
je 0x41029d
test eax, eax
je 0x41029a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x10], 0
mov dword [esi + 0x10], edi
xor eax, eax
cmp dword [esi + 0x28], 4
lea ecx, [esi + 0x40]
setne al
push ecx
lea edx, [esi + 0x34]
push edx
sub eax, 1
and eax, 0x800000
mov edi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00405510
mov eax, dword [eax]
mov ecx, dword [esi + 0x10]
add esp, 0xc
push esi
push edi
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410301
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call ebx
xor ecx, ecx
test edi, edi
setne cl
push eax
push str.HttpOpenRequest_failed._Error:__d.
push ecx
call fcn.00422cd0
mov eax, dword [esi + 0x18]
add esp, 0xc
cmp edi, eax
je 0x410335
test eax, eax
je 0x410332
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esi + 0x18], 0
mov dword [esi + 0x18], edi
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x410db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push esi
mov dword [esp + 4], ecx
movzx ecx, word [esp + 0xc]
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x410dd4
pop esi
pop ecx
ret 8
push ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x410df3
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
xor eax, eax
pop esi
pop ecx
ret 8
push ebx
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov ebx, eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call fcn.00430510
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x1c]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x410e7c
mov ebx, dword [esp + 0x1c]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x410e73
lea eax, [edi + 4]
push eax
push ebx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [edi + 8], eax
jmp 0x410e75
xor edi, edi
mov eax, dword [esp + 0x10]
mov dword [eax + 4], edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop ebp
mov eax, 1
pop esi
pop ecx
ret 8
Function at 0x413a40
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x23c
mov eax, dword [0x463fcc]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push esi
push edi
mov dword [esp + 0x10], ecx
call fcn.00411180
cmp dword [eax + 0x10], 2
jne 0x413af5
push 0x4525b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413bc5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcessModules
push ebx
call edi
push 0x452588
push ebx
mov esi, eax
call edi
test esi, esi
mov edi, eax
je 0x413aef
test edi, edi
je 0x413aef
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov dword [esp + 0x24], 0
call esi
mov esi, dword [esp + 0x10]
push 0x104
add esi, 0xc
push 0x104
mov ecx, esi
call fcn.00401440
mov edx, dword [esp + 0x18]
push eax
push edx
push ebp
call edi
push 0xffffffffffffffff
mov ecx, esi
call fcn.00405150
jmp 0x413bc5
push ebx
jmp 0x413bbf
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x413bc5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push esi
call ebx
push str.Process32FirstW
push esi
mov edi, eax
call ebx
push str.Process32NextW
push esi
mov ebp, eax
call ebx
test edi, edi
mov ebx, eax
je 0x413bbe
test ebp, ebp
je 0x413bbe
test ebx, ebx
je 0x413bbe
push 0
push 2
call edi
cmp eax, 0xffffffff
je 0x413bbe
push 0
push 2
call edi
push 0x228
mov esi, eax
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x28], 0x22c
call fcn.0042f5a0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebp
cmp eax, 1
jne 0x413bb5
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [edx + 8]
je 0x413ba8
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
cmp eax, 1
je 0x413b82
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413bc5
lea ecx, [esp + 0x40]
push ecx
lea ecx, [eax + 0xc]
call fcn.004015a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413bc5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x248]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042ed09
add esp, 0x23c
ret 4
Function at 0x413f30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44aff6
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
call dword [0x463fa8]
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0040fe30
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + 0xbc]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0xa4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push ebx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push eax
call fcn.00422cd0
mov eax, dword [esp + 0x24]
or edi, 0xffffffff
lea edx, [esp + 0x28]
add esp, 0xc
cmp eax, edx
mov dword [esp + 0xa4], edi
je 0x413fc8
push eax
call fcn.0042efe6
add esp, 4
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x14]
call fcn.00404ce0
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xb0]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 1
call fcn.004120e0
mov ecx, dword [esp + 0x10]
xor esi, esi
push esi
push 0x80
push 2
push esi
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
jne 0x41401a
call fcn.004020e0
jmp 0x41401c
mov esi, eax
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x18]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x414043
call fcn.004020e0
test esi, esi
je 0x41404e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0xa4], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x414072
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x98
ret 4
Function at 0x414bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x44e890
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
call fcn.00404ce0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 4], edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414c35
push 0x45e248
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.0042e585
push str.nettest
lea ecx, [ebp - 0x28]
call fcn.00404ce0
mov dword [ebp + 0xc], edi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [ebp + 0xc]
call fcn.00411750
push str.VersionString
lea ecx, [ebp - 0x20]
call fcn.00404ce0
push 0x4525f8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00404ce0
mov bl, 4
push str.item
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00404ce0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.00413050
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414cdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401ef0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
add esp, 4
cmp eax, edi
mov byte [ebp - 4], 1
je 0x414d4f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414d75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4169e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44b4f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
xor edi, edi
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov word [esi + 4], di
call fcn.00409350
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi]
lea edx, [edi + 8]
mov dword [esi + 0x20], ecx
push edx
lea ecx, [esi + 0x28]
call fcn.00416230
mov al, byte [edi + 0x30]
mov byte [esi + 0x50], al
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x418820
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418896
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x418865
cmp eax, 2
jne 0x418881
test esi, esi
mov eax, dword [esp + 0x14]
je 0x418890
test eax, eax
je 0x41888b
test al, 1
jne 0x418881
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x418890
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x419eb0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
push edi
mov bl, 1
jne 0x419f0d
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [esp + 0x10], eax
call edi
mov edx, dword [esi + 4]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xfffffffe
call edi
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0xc]
push ecx
push edi
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
shr eax, 2
test al, 1
je 0x419f47
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, dword [esi + 4]
push ecx
movzx edx, di
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x28]
push 1
push 0
push 0
push eax
push 0x452ab0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x419f7a
mov ecx, dword [esi + 4]
or byte [esi + 0x58], 2
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0xc
ret
Function at 0x41d470
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44bd69
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x1c], ebp
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [0x465aac]
mov edx, dword [eax + 0xc]
mov ecx, 0x465aac
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x38]
test esi, esi
mov dword [esp + 0x2c], ebx
je 0x41d4f5
push esi
lea ecx, [esp + 0x1c]
call fcn.00404ce0
mov ecx, dword [ebp + 0x124]
lea eax, [esp + 0x18]
mov ebx, 1
push eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x24], ebx
call fcn.0041c180
test al, al
mov byte [esp + 0x38], bl
jne 0x41d4fa
mov byte [esp + 0x38], 0
test bl, 1
mov dword [esp + 0x2c], 0
je 0x41d527
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d527
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x38], 0
je 0x41d5e9
push esi
lea ecx, [esp + 0x40]
call fcn.00404ce0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x124]
mov byte [esp + 0x30], 2
call fcn.0041c240
push eax
lea ecx, [esp + 0x18]
call fcn.004055e0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jne 0x41d59c
mov edx, dword [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call fcn.004055e0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebp
call fcn.0041bcd0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d5d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0x14
cmp dword [esp + 0x3c], 0
je 0x41d584
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x41d584
mov esi, 0x100
jmp 0x41d604
mov ebp, dword [esp + 0x1c]
mov eax, dword [edi - 8]
mov ebp, dword [ebp + 0x128]
add esi, esi
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x41d62b
push esi
lea ecx, [esp + 0x18]
call fcn.00401370
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
push ebp
push esi
push edi
push 0x44e890
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add eax, 1
cmp eax, esi
jae 0x41d600
test edi, edi
jne 0x41d64e
xor eax, eax
jmp 0x41d664
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d653
sub eax, edx
sar eax, 1
js 0x41d67b
cmp eax, dword [edi - 8]
jg 0x41d67b
mov ebp, dword [esp + 0x1c]
mov dword [edi - 0xc], eax
mov word [edi + eax*2], 0
jmp 0x41d584
push 0x80070057
call fcn.004011d0
int3
Function at 0x41d690
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44bda0
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x28]
call fcn.00404ce0
mov ecx, dword [esi + 0x124]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x20], 0
call fcn.0041c180
mov bl, al
mov eax, dword [esp + 0x24]
or ebp, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebp
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d704
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d774
push edi
lea ecx, [esp + 0x34]
call fcn.00404ce0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 0x124]
mov dword [esp + 0x20], 1
call fcn.0041c240
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.00430ed4
mov esi, eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x1c], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x41d75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41d79a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41d79a
mov esi, dword [esi + 0x128]
mov edx, dword [esp + 0x30]
push esi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x41d75e
mov eax, dword [esp + 0x30]
jmp 0x41d75e
Function at 0x420ba0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x44c3a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x463fcc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0041baf0
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.0041e480
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret