joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4033a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408510
cmp edx, dword [eax]
je 0x4033c7
add eax, 8
inc ecx
cmp eax, 0x4085a0
jl 0x4033b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408510]
jne 0x4034f5
mov eax, dword [0x40a968]
cmp eax, 1
je 0x4034cf
test eax, eax
jne 0x4033f8
cmp dword [0x4082f4], 1
je 0x4034cf
cmp edx, 0xfc
je 0x4034f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40342f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00405080
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x403472
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407464
push edi
call fcn.00405920
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00405080
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405090
lea eax, [ebp - 0xa0]
push 0x407444
push eax
call fcn.00405090
push dword [esi + 0x408514]
lea eax, [ebp - 0xa0]
push eax
call fcn.00405090
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040588f
add esp, 0x2c
pop edi
jmp 0x4034f5
lea eax, [ebp + 8]
lea esi, [esi + 0x408514]
push 0
push eax
push dword [esi]
call fcn.00404a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4070f0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x444958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0x4b226983
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov esi, eax
mov eax, 0x4c8d67b3
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0xd429
sub esi, eax
add esi, edx
mov eax, 0x2760f26d
imul ecx
mov ecx, dword [0x456838]
sar edx, 0xd
imul ecx, ecx, 0x38bb
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x56cb8c]
sub esi, eax
add esi, ecx
mov ecx, 0x56cb8c
mov dword [str._r_____r____], esi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0x2760f26d
imul esi, esi, 0xd008
imul ecx
mov ecx, dword [0x456818]
sar edx, 0xd
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x456820]
mov eax, 0xc0e2caa9
imul ecx
add edx, ecx
mov ecx, dword [0x456834]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
sub esi, eax
sub esi, ecx
lea ecx, [esp + 0x20]
push ecx
sub esi, 0xb323
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [0x456820], esi
call fcn.00406e60
mov ecx, dword [0x456820]
mov eax, 0x2760f26d
imul ecx
mov esi, ecx
imul esi, esi, 0xd606
sar edx, 0xd
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
mov eax, dword [0x45682c]
mov ecx, dword [0x45681c]
imul eax, eax, 0xb323
add edi, eax
mov eax, 0x6aa0ab9b
imul ecx
mov esi, dword [esp + 8]
sar edx, 0xf
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x801a
sub edi, ecx
add edi, edx
push esi
mov dword [0x45682c], edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x40728b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d980
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0x4b226983
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
mov esi, eax
mov eax, 0x4c8d67b3
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0xd429
sub esi, eax
add esi, edx
mov eax, 0x2760f26d
imul ecx
mov ecx, dword [0x456838]
sar edx, 0xd
imul ecx, ecx, 0x38bb
mov eax, edx
shr eax, 0x1f
mov edi, dword [esp + 0x1c]
add eax, edx
lea edx, [esp + 0x10]
sub esi, eax
push edx
add esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
mov dword [str._r_____r____], esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x40dbc6
mov ecx, dword [0x456838]
mov eax, 0x4b226983
imul ecx
imul ecx, ecx, 0x38bb
mov eax, dword [0x456830]
imul eax, eax, 0xd429
sar edx, 0xe
push ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
add ebx, eax
mov eax, 0x4da3463f
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [str._r_____r____]
add eax, ebx
sub eax, ecx
sub eax, edx
add eax, 0xa9e2
push esi
mov dword [0x45681c], eax
call fcn.0043bd42
add esp, 4
mov ebx, eax
push ebx
push esi
xor esi, esi
push esi
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40dbbc
mov edi, dword [str._r_____r____]
mov ecx, dword [0x456818]
imul edi, edi, 0xda10
imul ecx, ecx, 0xd429
add edi, ecx
mov ecx, dword [0x45682c]
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xe
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
sub edi, eax
add edi, edx
lea edx, [ecx + edi - 0xb323]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4471f4
push ebx
mov dword [0x456824], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40db60
mov ecx, dword [0x456828]
mov eax, 0x4b226983
imul ecx
mov esi, ecx
sar edx, 0xe
imul esi, esi, 0xda10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x4c8d67b3
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0xd308
sub esi, ecx
mov ecx, dword [0x456834]
add esi, edx
mov eax, 0x2760f26d
imul ecx
mov ecx, dword [esp + 0x10]
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov dword [0x456834], esi
mov bp, word [ecx + 0x14]
mov ecx, dword [0x456820]
mov esi, ecx
mov eax, 0x2760f26d
imul esi, esi, 0xd606
imul ecx
mov ecx, dword [0x45681c]
sar edx, 0xd
add esi, edx
mov edi, edx
mov edx, dword [0x45682c]
imul edx, edx, 0xb323
shr edi, 0x1f
add edi, esi
add edi, edx
mov eax, 0x6aa0ab9b
imul ecx
mov ecx, dword [0x456830]
sar edx, 0xf
imul ecx, ecx, 0x801a
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov dword [0x45682c], edi
push ebx
call fcn.0043bd47
add esp, 4
pop ebx
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0xc
ret
Function at 0x40f4e0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, 0x4b226983
imul dword [0x456824]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x4c8d67b3
imul dword [0x45681c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
push ebx
mov ebx, dword [0x456830]
mov eax, 0x2760f26d
imul dword [0x456824]
push ebp
mov ebp, dword [0x456838]
push esi
push edi
mov edi, ebp
imul edi, edi, 0x38bb
sar edx, 0xd
mov esi, ebx
imul esi, esi, 0xd429
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [section.micr_oso]
add ecx, edi
add ecx, esi
test eax, eax
mov dword [str._r_____r____], ecx
jne 0x40f5cb
mov eax, dword [0x56a330]
test eax, eax
jne 0x40f5cb
mov ecx, dword [0x456834]
imul ebx, ebx, 0xd606
mov eax, 0x955f5465
imul ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x2dbafdc3
imul ecx
mov ecx, dword [0x456818]
imul ecx, ecx, 0xb323
sar edx, 0xd
sub esi, ebx
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
add edi, ecx
mov ecx, dword [0x456820]
mov eax, 0x7fe60547
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
pop edi
pop esi
pop ebp
mov dword [0x456818], eax
mov eax, 1
pop ebx
ret
mov eax, 0x4b226983
imul ebp
sar edx, 0xe
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x4da3463f
imul dword [0x45681c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, edi
sub eax, ecx
imul ecx, ecx, 0xd008
lea edx, [eax + esi + 0xa9e2]
mov dword [0x45681c], edx
mov edx, dword [0x45682c]
mov esi, dword [0x456820]
mov eax, 0x2760f26d
imul edx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x13350
sub ecx, eax
mov edi, dword [0x456834]
add ecx, edx
mov eax, 0xc0e2caa9
imul esi
add edx, esi
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, edi
sub ecx, 0xb323
mov dword [0x456820], ecx
mov ecx, dword [section.micr_oso]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x40f6d3
mov ebx, dword [str._r_____r____]
mov edx, dword [0x456818]
imul ebx, ebx, 0xda10
mov ecx, dword [0x45682c]
imul edx, edx, 0xd429
add ebx, edx
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xe
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, dword [0x456830]
lea edx, [ecx + ebx - 0xb323]
mov dword [0x456824], edx
mov dword [section.micr_oso], edi
mov dword [0x56a330], edi
mov ecx, dword [0x456838]
mov eax, 0x4b226983
imul dword [0x456824]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, 0x658cf6d9
imul ecx
sub edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45681c]
imul edx, edx, 0xd308
mov ebx, eax
sub ebx, edi
add ebx, edx
mov eax, 0x2419bc59
imul ecx
imul ecx, ecx, 0xb323
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
sub eax, ecx
pop edi
mov dword [0x456828], eax
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x417420
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x458190]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x417542
lea ecx, [esp + 8]
call fcn.00417300
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x417546
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x4174f0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00417420
mov edi, eax
test edi, edi
jne 0x41756a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4174b2
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x417509
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x417528
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042a0b1
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x417551
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042a0b1
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x417579
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.0042a0b1
add esp, 0x118
ret 4
Function at 0x41b450
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [0x456824]
mov eax, 0x4b226983
imul ebp
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov ebx, dword [0x456838]
mov eax, 0x4c8d67b3
imul ebx, ebx, 0x38bb
imul dword [0x45681c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x2760f26d
imul ebp
push esi
mov esi, dword [0x456830]
push edi
sar edx, 0xd
mov edi, esi
imul edi, edi, 0xd429
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, dword [esp + 0x14]
add ecx, ebx
add ecx, edi
cmp eax, 0x132b600
mov dword [str._r_____r____], ecx
je 0x41b4e2
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x41b4d1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebp, dword [0x456834]
imul esi, esi, 0xd606
mov eax, 0x955f5465
imul ebp
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
mov esi, eax
mov eax, 0x2dbafdc3
imul ebp
mov ebp, dword [0x456820]
sar edx, 0xd
add esi, edx
mov eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0xb323
shr eax, 0x1f
add eax, esi
add eax, edx
mov dword [esp + 0x14], eax
mov eax, 0x7fe60547
imul ebp
mov eax, dword [esp + 0x14]
sar edx, 0xe
add eax, edx
mov esi, edx
shr esi, 0x1f
add esi, eax
mov eax, dword [0x56a64c]
mov edx, eax
inc eax
test edx, edx
mov dword [0x456818], esi
mov dword [0x56a64c], eax
jle 0x41b5a3
mov eax, 0x4b226983
imul dword [0x456838]
sar edx, 0xe
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x4da3463f
imul dword [0x45681c]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ebx
sub eax, ecx
lea ecx, [eax + edi + 0xa9e2]
pop edi
pop esi
pop ebp
mov dword [0x45681c], ecx
mov eax, 1
pop ebx
ret
mov edx, dword [0x45682c]
imul ecx, ecx, 0xd008
imul esi, esi, 0x13350
mov eax, 0x2760f26d
imul edx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0xc0e2caa9
imul ebp
add edx, ebp
sar edx, 0xf
add ecx, esi
mov esi, dword [0x456834]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, esi
sub ecx, 0xb323
mov dword [0x456820], ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x41af40
push 0
push 0
mov dword [0x56a36c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [str._r_____r____]
mov edx, dword [0x456818]
imul esi, esi, 0xda10
mov ecx, dword [0x45682c]
imul edx, edx, 0xd429
add esi, edx
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xe
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x456830]
pop edi
lea edx, [ecx + esi - 0xb323]
pop esi
pop ebp
mov dword [0x456824], edx
mov eax, 1
pop ebx
ret
Function at 0x41fde0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [0x45681c]
push ebp
mov ebp, dword [0x456824]
mov eax, 0x4b226983
imul ebp
sar edx, 0xe
push esi
mov esi, dword [0x456838]
push edi
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x9a730927
imul esi
add edx, esi
sar edx, 0xf
mov ecx, ebx
imul ecx, ecx, 0xd308
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x2419bc59
imul esi
mov eax, ecx
sar edx, 0xb
add eax, edx
mov ecx, edx
mov edx, esi
imul edx, edx, 0xb323
shr ecx, 0x1f
add ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, edx
sub ecx, edi
cmp eax, 0x132b600
mov dword [0x456828], ecx
je 0x41feb6
mov ecx, dword [0x456830]
imul esi, esi, 0x38bb
mov eax, 0x4c8d67b3
imul ecx, ecx, 0xd429
imul ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x2760f26d
imul ebp
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
add ecx, edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esi, ecx
mov dword [str._r_____r____], esi
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x41fea4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [0x456820]
mov esi, edx
mov eax, 0x2760f26d
imul esi, esi, 0xd606
imul edx
sar edx, 0xd
add esi, edx
mov edi, edx
mov edx, dword [0x45682c]
imul edx, edx, 0xb323
shr edi, 0x1f
add edi, esi
add edi, edx
mov eax, 0x6aa0ab9b
imul ebx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x801a
sub edi, eax
mov eax, dword [0x56a360]
add edi, edx
test eax, eax
mov dword [0x45682c], edi
jne 0x41ffed
mov eax, 0x4b226983
imul ecx
mov esi, ecx
sar edx, 0xe
imul esi, esi, 0xda10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x4c8d67b3
imul ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456818]
imul edx, edx, 0xd308
sub esi, ecx
mov ecx, dword [0x456834]
add esi, edx
mov eax, 0x2760f26d
imul ecx
lea ecx, [esp + 0x18]
push ecx
push 0
sar edx, 0xd
push 0
mov eax, edx
shr eax, 0x1f
push 0x41e8d0
add eax, edx
push 0
sub esi, eax
push 0
mov dword [0x456834], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [str._r_____r____]
mov edx, dword [0x456818]
imul esi, esi, 0xda10
mov ecx, dword [0x45682c]
imul edx, edx, 0xd429
mov dword [0x56a350], eax
add esi, edx
mov eax, 0x4da3463f
imul ecx
mov ecx, dword [0x456828]
sar edx, 0xe
imul ecx, ecx, 0x13350
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, dword [0x456830]
lea edx, [ecx + esi - 0xb323]
mov dword [0x56a360], 1
mov dword [0x456824], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x42128e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4212e1
call fcn.00441e15
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x4212e1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4212d7
xor eax, eax
jmp 0x4213fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x421311
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x421311
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4213f7
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x42133e
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00420503
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x4213f7
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x421387
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x421387
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x421381
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00420503
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4213e7
and dword [ebp + 0xc], 0
jmp 0x4213e7
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4213e7
push 0xc
call fcn.0043bd17
mov esi, eax
test esi, esi
pop ecx
je 0x4213c9
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4213cb
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4213e2
push dword [ebp - 8]
call fcn.0043776a
jmp 0x4213e7
call fcn.00437741
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x42134c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42a61d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42a63d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0042c88c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42a660
test byte [esp + 8], 2
je 0x42a660
call fcn.0042c87a
mov dword [eax], 0xd
call fcn.0042c883
mov dword [eax], 5
jmp 0x42a639
xor eax, eax
ret
Function at 0x42a727
Capabilities:
Terminate process

Disassembly:
push 8
push 0x44a5d0
call fcn.0042c6f8
push 8
call fcn.0042e931
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x56c67c], esi
jne 0x42a75b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x56c678], esi
mov al, byte [ebp + 0x10]
mov byte [0x56c674], al
cmp dword [ebp + 0xc], edi
jne 0x42a7a5
cmp dword [0x56df6c], edi
je 0x42a795
mov eax, dword [0x56df68]
sub eax, 4
mov dword [0x56df68], eax
cmp eax, dword [0x56df6c]
jb 0x42a795
mov eax, dword [eax]
cmp eax, edi
je 0x42a776
call eax
jmp 0x42a776
push 0x4530cc
mov eax, 0x4530c4
call fcn.0042a6a5
pop ecx
push 0x4530d8
mov eax, 0x4530d0
call fcn.0042a6a5
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x42a7d6
cmp dword [ebp + 0x10], edi
jne 0x42a7e4
mov dword [0x56c67c], esi
push dword [ebp + 8]
call fcn.0042a663
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x42a7e3
push 8
call fcn.0042e87c
pop ecx
ret
call fcn.0042c733
ret

Function at 0x42aa57
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0042a8f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42aaf2
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x56c63c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x42aaf2
cmp eax, 1
je 0x42ab13
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42aaf2
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x42aabf
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x42aaee
xor eax, eax
inc eax
jmp 0x42ab32
cmp edi, eax
jae 0x42aaf6
xor eax, eax
jmp 0x42ab32
cmp eax, esi
jae 0x42aafd
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x56c63c]
jmp 0x42ab16
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret