joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp + 0x390], eax
mov eax, dword [ebp + 0x39c]
push ebx
mov ebx, dword [ebp + 0x3a0]
push esi
push edi
xor esi, esi
push 2
push esi
push eax
mov edi, edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x78], eax
cmp eax, esi
jne 0x40cca4
call fcn.0040b8a5
mov esi, eax
jmp 0x40cd62
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x40ccbd
call fcn.0040b8a5
jmp 0x40cd57
push edi
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, esi
je 0x40ccb3
push edi
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x40ccf7
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x74], eax
je 0x40ccf0
lea eax, [ebp - 0x74]
call fcn.0040b89c
mov eax, 0x8007000e
jmp 0x40cd74
push 2
push eax
call fcn.00401ce2
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x40cd14
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040bd76
jmp 0x40cd1a
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], esi
jne 0x40cd26
mov esi, 0x8007000e
jmp 0x40cd59
push edi
push dword [ebp - 0x74]
push edi
push ebx
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x40ccb3
mov edx, dword [ebp - 0x74]
push dword [ebp + 0x3a4]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x80]
call fcn.0040cb08
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x74], eax
je 0x40cd72
lea eax, [ebp - 0x74]
call fcn.0040b89c
mov eax, esi
mov ecx, dword [ebp + 0x390]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
add ebp, 0x394
leave
ret 0xc

Function at 0x40f5df
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x443854], 0
push esi
jne 0x40f552
call fcn.0040f478
test eax, eax
je 0x40f595
mov eax, dword [0x443854]
cmp eax, 1
jne 0x40f573
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40f595
pop esi
ret
push eax
call dword [0x44385c]
test eax, eax
jne 0x40f5dd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40f599
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x443854]
call dword [0x44385c]
mov edi, eax
test edi, edi
je 0x40f5be
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40f5da
mov edi, esi
add esi, 0xff0
push edi
push dword [0x443854]
call dword [0x443858]
add edi, 0x10
cmp edi, esi
jb 0x40f5c6
mov eax, edi
pop edi
pop esi
ret
jmp 0x40f53f

Function at 0x40f7ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441044]
jne 0x40f7d4
repz ret
jmp fcn.0041106c
Function at 0x4117bd
Capabilities:
Enumerate pe sections

Disassembly:
dec esp
and al, 8
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4117f7
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4117de
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4117ef
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4117f9
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4117d4
xor eax, eax
pop edi
pop esi
ret
Function at 0x412b09
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.00411741
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x41390f
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004116ed
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x412b89
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x412bd2
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x412b7c
call fcn.0041177c
xor al, 0x37
lahf
xchg ecx, eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0041177c
add bh, byte [edi]
jno 0x412c09
invalid
lea eax, [ebp - 0x72c]
push eax
call fcn.0041178c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00411741
add esp, 0xc
mov dword [ebp - 0x6e4], eax
call fcn.0041177c
jmp 0x412cd9
sbb al, 0xf9
invalid
Function at 0x41917a
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.0041335d
and dword [ebp - 4], 0
cmp dword [0x444344], 0
mov ebx, eax
jne 0x41922b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4192dc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4192dc
push eax
call fcn.004132eb
mov dword [esp], 0x43b82c
push edi
mov dword [0x444344], eax
call esi
push eax
call fcn.004132eb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x444348], eax
call esi
push eax
call fcn.004132eb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44434c], eax
call esi
push eax
call fcn.004132eb
pop ecx
mov dword [0x444354], eax
test eax, eax
je 0x41922b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004132eb
pop ecx
mov dword [0x444350], eax
mov eax, dword [0x444350]
cmp eax, ebx
je 0x419283
cmp dword [0x444354], ebx
je 0x419283
push eax
call fcn.00413366
push dword [0x444354]
mov esi, eax
call fcn.00413366
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x419283
test edi, edi
je 0x419283
call esi
test eax, eax
je 0x41927a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41927a
test byte [ebp - 0xc], 1
jne 0x419283
or dword [ebp + 0x10], 0x200000
jmp 0x4192bc
mov eax, dword [0x444348]
cmp eax, ebx
je 0x4192bc
push eax
call fcn.00413366
pop ecx
test eax, eax
je 0x4192bc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4192bc
mov eax, dword [0x44434c]
cmp eax, ebx
je 0x4192bc
push eax
call fcn.00413366
pop ecx
test eax, eax
je 0x4192bc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x444344]
call fcn.00413366
pop ecx
test eax, eax
je 0x4192dc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4192de
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b96b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
lea eax, [ebp + 0x10]
push eax
push 0
push esi
push 0x41b8fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
test eax, eax
jne 0x41b9a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b9c5
cmp byte [ebp + 0xc], 0
je 0x41b9c3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
jmp 0x41b9c5
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x41cfd8
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esi + 0x474], 0
jne 0x41d001
cmp dword [esp + 4], 0xf020
jne 0x41d001
mov edx, esi
call fcn.0040d07d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x41d008
mov edx, esi
call fcn.0040d07d
ret 0xc
Function at 0x41d03c
Capabilities:
Hide graphical window

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x41d06f
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 2
push dword [esi + 4]
lea edi, [esi + 0x474]
mov byte [edi], 1
call ebx
push 1
push dword [esi + 4]
call ebx
mov byte [edi], 0
pop edi
pop ebx
jmp 0x41d078
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
ret
Function at 0x41dcc7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x443838]
push esi
mov esi, 0x443838
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [0x443838]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.0041da34
add esp, 0xc
test al, al
jne 0x41dd2b
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040169e
xor al, al
jmp 0x41dd61
push ebx
push edi
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41dd64
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [edi - 0x10]
call fcn.0040169e
xor al, al
pop edi
pop ebx
pop esi
leave
ret
mov eax, 0x104
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.0040f865
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x41dda1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x41ddfd
push dword [ebp - 0xc]
call fcn.0040f85a
push dword [ebp - 8]
call fcn.0040f865
pop ecx
pop ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x41dd83
cmp dword [ebp - 0x18], 1
je 0x41de56
cmp dword [ebp - 0x18], 2
je 0x41de56
cmp dword [ebp - 0x18], 7
jne 0x41de2c
mov eax, dword [ebp - 8]
lea edx, [eax - 1]
xor ecx, ecx
test edx, edx
jbe 0x41ddf8
mov edx, dword [ebp - 0xc]
add edx, ecx
cmp byte [edx], bl
jne 0x41ddf0
mov byte [edx], 0xa
mov eax, dword [ebp - 8]
inc ecx
lea edx, [eax - 1]
cmp ecx, edx
jb 0x41dde1
lea edi, [eax - 1]
jmp 0x41de5a
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call fcn.0040f85a
pop ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040169e
mov al, bl
jmp 0x41dd5f
xor edi, edi
cmp dword [ebp - 8], ebx
jbe 0x41de49
mov eax, dword [ebp - 0xc]
lea ebx, [edi + eax]
lea esi, [ebp - 0x2c]
call fcn.00404aa8
inc edi
cmp edi, dword [ebp - 8]
jb 0x41de33
xor ebx, ebx
lea edi, [ebp - 0x2c]
lea eax, [ebp - 0x20]
call fcn.0042946e
jmp 0x41de69
mov edi, dword [ebp - 8]
dec edi
push dword [ebp - 0xc]
mov ecx, esi
lea esi, [ebp - 0x20]
call fcn.004011de
mov eax, esi
mov edi, dword [ebp + 0xc]
call fcn.004018c0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040169e
push dword [ebp - 0xc]
call fcn.0040f85a
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2c], ebx
je 0x41de9c
push dword [ebp - 0x2c]
call fcn.0040f8eb
pop ecx
mov bl, 1
jmp 0x41de0f
Function at 0x41e2d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x422c
call fcn.0041b020
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x224], edi
mov esi, edx
call fcn.0041d928
test al, al
jne 0x41e30b
push esi
mov eax, edi
call fcn.0041dbc6
pop ecx
jmp 0x41e3ea
lea eax, [ebp - 0x220]
push eax
push 0x4000
lea eax, [ebp - 0x4228]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41e32e
xor al, al
jmp 0x41e3ea
mov eax, dword [ebp - 0x220]
shr eax, 2
test eax, eax
jbe 0x41e3e2
lea ebx, [ebp - 0x4228]
mov dword [ebp - 0x214], eax
push dword [ebx]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41e3d3
lea eax, [ebp - 0x228]
push eax
push 4
lea eax, [ebp - 0x21c]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41e3cc
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x21c]
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
call fcn.00401895
push dword [ebp - 0x218]
push dword [ebp - 0x224]
call fcn.00404a60
test eax, eax
jne 0x41e3be
call fcn.0040203c
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
call fcn.0040169e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 4
dec dword [ebp - 0x214]
jne 0x41e34b
xor eax, eax
cmp dword [esi + 4], eax
setg al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret
Function at 0x41e5a5
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x234]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x41e5e3
xor al, al
jmp 0x41e6dd
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2a8]
call fcn.00401895
lea ecx, [ebp - 0x2a8]
call fcn.0043395c
mov bl, al
mov eax, dword [ebp - 0x2a8]
neg bl
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040169e
test bl, bl
je 0x41e629
push 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x2a8]
push eax
mov ebx, esi
call fcn.0042fe4b
mov esi, eax
mov eax, dword [esi]
sub eax, 0x10
cmp dword [eax + 0xc], 1
pop ecx
jle 0x41e64e
push dword [eax + 4]
push esi
call fcn.004013e0
mov edx, dword [esi]
lea eax, [ebp - 0x2a4]
call fcn.00424dcf
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
call fcn.0040169e
lea esi, [ebp - 0x2a4]
call fcn.00424d4d
lea edi, [ebp - 0x2c]
mov eax, esi
call fcn.00424593
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2a8]
call fcn.00401895
mov edi, dword [ebp - 0x2ac]
call fcn.004018c0
mov eax, dword [ebp - 0x2a8]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 1]
mov eax, edi
call fcn.00401d87
cmp ax, 0x5c
je 0x41e6c7
push 0x5c
mov eax, edi
call fcn.00401d26
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00401f8d
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret

Function at 0x41e6ec
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov ecx, 0x443838
lea esi, [ebp - 4]
mov edi, eax
call fcn.00401471
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x41e71a
push eax
call fcn.0040f8eb
pop ecx
mov dword [edi], esi
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [ebp - 8], edi
lea edi, [ebp - 4]
call fcn.004018c0
lea eax, [ebp - 0xc]
push eax
push 0x41e163
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
pop edi
pop esi
leave
ret
Function at 0x41e7e2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x23c], eax
mov eax, dword [ecx]
xor ebx, ebx
push esi
push edi
cmp dword [eax - 0xc], ebx
jne 0x41e811
xor al, al
jmp 0x41e97a
lea edx, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.0041e3f9
xor edi, edi
cmp dword [ebp - 0x22c], ebx
mov byte [ebp - 0x215], bl
jle 0x41e960
cmp edi, ebx
jl 0x41e989
cmp edi, dword [ebp - 0x22c]
jge 0x41e989
mov eax, dword [ebp - 0x230]
lea esi, [eax + edi*4]
push dword [esi]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x23c]
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
push dword [esi]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x224]
call fcn.0041e6ec
pop ecx
xor esi, esi
cmp dword [ebp - 0x220], ebx
pop ecx
jle 0x41e919
mov eax, esi
lea ecx, [ebp - 0x224]
call fcn.004020a7
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x41e910
cmp dword [ebp - 0x238], ebx
je 0x41e910
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x240], 0x103
jne 0x41e910
mov eax, esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 0x215], 1
call fcn.004020a7
push ebx
push ebx
push 0x10
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
inc esi
cmp esi, dword [ebp - 0x220]
jl 0x41e8a4
cmp dword [ebp - 0x224], ebx
je 0x41e933
push dword [ebp - 0x224]
call fcn.0040f8eb
pop ecx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
cmp dword [ebp - 0x238], ebx
je 0x41e953
push dword [ebp - 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x22c]
jl 0x41e842
cmp dword [ebp - 0x230], ebx
je 0x41e974
push dword [ebp - 0x230]
call fcn.0040f8eb
pop ecx
mov al, byte [ebp - 0x215]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x41ec63
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x40
mov ebx, eax
xor esi, esi
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0040f7e0
mov dword [ebp - 0x18], esi
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x64], 0x44
stosd dword es:[edi], eax
call fcn.0041d944
test al, al
jne 0x41eca3
mov eax, 0xe000001e
jmp 0x41ed15
mov eax, dword [0x443838]
mov ecx, 0x443838
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebx]
push str.__s___s
call fcn.004022b1
mov ebx, dword [ebx]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov esi, dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41ed03
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esi - 0x10]
call fcn.0040169e
xor eax, eax
jmp 0x41ed15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.0040169e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41eda5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x443838]
mov esi, 0x443838
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
mov eax, dword [ebp + 8]
push str.msiexec.exe
push dword [eax]
lea eax, [ebp - 4]
call fcn.004022b1
mov eax, dword [edi]
xor ebx, ebx
add esp, 0xc
cmp dword [eax - 0xc], ebx
je 0x41ee00
push 0x20
lea eax, [ebp - 4]
call fcn.00401d26
mov edi, dword [edi]
push dword [edi - 0xc]
lea eax, [ebp - 4]
push edi
call fcn.004019ec
push 0x40
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0040f7e0
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x443838]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x60], 0x44
call dword [eax + 0xc]
add eax, 0x10
lea esi, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0041ed1c
test al, al
jne 0x41ee5c
mov esi, 0xe000001f
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, esi
jmp 0x41eec8
mov ecx, dword [ebp + 0xc]
call fcn.0041d944
test al, al
jne 0x41ee6f
mov esi, 0xe000001e
jmp 0x41ee42
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41eeae
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [edi - 0x10]
call fcn.0040169e
lea eax, [esi - 0x10]
call fcn.0040169e
xor eax, eax
jmp 0x41eec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [edi - 0x10]
call fcn.0040169e
lea eax, [esi - 0x10]
call fcn.0040169e
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41f131
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0040f7e0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x41f16b
or eax, 0xffffffff
jmp 0x41f16e
mov eax, dword [ebp - 0x30]
leave
ret 4