joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401750
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42b97e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x439c20]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea edi, [ebx + 0x24c]
call fcn.00411fed
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4017a1
push 0x80004005
call fcn.00401ac0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
cmp ebp, esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov dword [ebx + 0x244], ecx
mov dword [ebx + 0x240], 0x8002
mov dword [ebx + 0x248], esi
je 0x401874
push esi
push 0x4317f4
mov ecx, edi
call fcn.00401d90
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4017e7
sub eax, edx
sar eax, 1
push eax
push ebp
mov ecx, edi
call fcn.00401cc0
xor ebp, ebp
mov edi, ebx
push esi
push esi
push esi
push esi
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi], eax
je 0x401835
mov edx, dword [edi + 4]
push edx
push eax
mov ecx, ebp
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.00401930
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
xor esi, esi
add ebp, 1
add edi, 0x10
cmp ebp, 0x22
jl 0x401803
push esi
push esi
push esi
push esi
mov dword [ebx + 0x224], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebx + 0x220], eax
je 0x401874
lea eax, [esp + 0x3c]
push eax
push esi
push ebx
push 0x401a20
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x248], eax
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x4021e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x431680
mov edi, eax
push 0x9d
xor esi, esi
push edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x402289
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x402289
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x402289
mov ebx, dword [esp + 0x14]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x402289
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4022ec
push ebx
push edi
push eax
call fcn.0041c650
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0
push esi
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x402289
mov ecx, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
push ecx
push ebx
call fcn.00402db0
test eax, eax
jge 0x4022be
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4022a1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x4022b3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00401610
test eax, eax
je 0x4022d7
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00402d70
add esp, 4
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4022ef
mov ebx, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call fcn.00402340
call fcn.00401610
test eax, eax
je 0x402323
push 7
mov esi, ebx
call fcn.00402410
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x402323
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + 0x30], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403979
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4039b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4039b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4039b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4039a0
cmp esi, eax
jb 0x4039ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407190
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x439c20]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040f1c8
mov eax, dword [edi + 0xbc]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push ecx
call esi
mov edx, dword [edi + 0xbc]
mov eax, dword [edi + 0x20]
push edx
xor ebx, ebx
push ebx
push 0x80
push eax
call esi
mov edx, dword [0x431e40]
mov eax, dword [0x431e44]
mov ecx, dword [0x431e3c]
mov dword [esp + 0x24], edx
push ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x431e48]
push edx
push eax
mov dword [esp + 0x20], 0x20
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], bx
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov dword [edi + 0xc0], eax
call fcn.00407100
test eax, eax
jne 0x40724e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00417880
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x90]
mov dword [edi + 0x1d4c], eax
lea ebx, [edi + 0x98]
lea eax, [edi + 0xc8]
lea esi, [edi + 0x1cb8]
mov dword [0x43e17c], ebx
mov dword [0x43e180], edi
mov dword [edi + 0x1d48], ebx
mov dword [edi + 0x1d50], eax
mov dword [edi + 0x1d44], edi
call fcn.00408f00
mov eax, esi
call fcn.00409210
mov ecx, dword [edi + 0x90]
shr ecx, 7
and ecx, 1
push ecx
call fcn.00409140
mov edx, dword [edi + 0x1ec4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0x1331
push edx
call esi
fld qword [0x43b2e0]
fmul qword [0x432cb0]
call fcn.0041af20
fld qword [0x43b2e8]
fmul qword [0x432ca8]
mov dword [esp + 0xc], eax
call fcn.0041af20
movzx ecx, word [esp + 0xc]
mov edx, dword [edi + 0x1ec4]
movzx eax, ax
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x132b
push edx
call esi
call fcn.00407580
mov word [ebx + 0x20], 0x409
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
test cx, cx
je 0x407326
call fcn.004033e0
mov word [ebx + 0x20], ax
movzx eax, word [ebx + 0x20]
mov word [ebx + 8], ax
mov dword [ebx + 4], 1
mov ax, word [edi + 0xa0]
mov esi, edi
call fcn.00407380
cmp dword [edi + 0x8c], 0
je 0x407364
mov ecx, dword [edi + 0x1f14]
mov edx, dword [edi + 0x20]
push 0
push ecx
push 0x5dc
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00417880
mov esp, ebp
pop ebp
ret
Function at 0x407e10
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x407e38
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
cmp esi, edi
je 0x407e61
push 1
push edi
push esi
call ebx
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, edi
je 0x407e72
push 0
push edi
push esi
call ebx
push 1
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4082a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x439c20]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x11c
lea eax, [esp + 8]
push 0
push eax
call fcn.004185a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call esi
test eax, eax
je 0x408313
cmp dword [esp + 0x14], 2
jne 0x40832c
cmp dword [esp + 8], 5
jb 0x40832c
push 0x11c
lea edx, [esp + 8]
push 0
push edx
call fcn.004185a0
add esp, 0xc
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x11c
call esi
cmp dword [esp + 0x14], 2
jne 0x40832c
cmp dword [esp + 8], 5
jne 0x40832c
mov eax, 1
cmp dword [esp + 0xc], eax
je 0x40832e
xor eax, eax
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.00417880
add esp, 0x120
ret

Function at 0x40d0f6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40d12f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040d08f
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040bf72
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x40ed1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40ed60
call fcn.0041029a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ed60
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ed7b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040e8d7
test ebx, ebx
mov esi, eax
je 0x40ed79
test edi, edi
je 0x40ed79
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40f4fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x42afbe
call fcn.00418a2a
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041029a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40f547
call fcn.0041029a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40f558
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40f565
or eax, 0xffffffff
jmp 0x40f6c1
mov ecx, esi
call fcn.0040f04e
mov dword [ebp - 0x14], eax
call fcn.0040c121
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40f5e3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40f5e3
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40f5e3
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004015a0
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40f5e3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40f5e3
mov ecx, ebx
call fcn.00410beb
test eax, eax
je 0x40f5e3
push 0
mov ecx, ebx
call fcn.00410c06
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040db00
push dword [ebp - 0x14]
call fcn.0040c079
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f304
xor edi, edi
cmp eax, edi
je 0x40f640
test byte [esi + 0x3c], 0x10
je 0x40f62a
push 4
pop edi
mov ecx, esi
call fcn.00410ac3
test ax, 0x100
je 0x40f620
push 5
pop edi
push edi
mov ecx, esi
call fcn.0040bbea
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40f640
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00410c6d
or dword [ebp - 4], 0xffffffff
jmp 0x40f66b
cmp dword [ebp - 0x28], edi
je 0x40f679
push 1
mov ecx, ebx
call fcn.00410c06
cmp dword [ebp - 0x2c], edi
je 0x40f689
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40f6a2
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40f6a2
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040f088
cmp dword [esi + 0x58], edi
je 0x40f6be
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00418a96
ret
Function at 0x40f72b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x40f74b
cmp dword [edi + 0x54], 0
jne 0x40f74b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041029a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040f6f2
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x412ec3
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x439c20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x412f00
push 0x42f5d8
push 4
push eax
call fcn.00418527
push eax
call fcn.00402840
add esp, 0x10
jmp 0x412f12
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x412f7d
push edi
call fcn.00418da8
mov edi, dword [eax]
call fcn.00418da8
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00418d4e
add esp, 0x18
mov ebx, eax
call fcn.00418da8
cmp dword [eax], 0
je 0x412f5d
call fcn.00418da8
push dword [eax]
call fcn.00409986
pop ecx
jmp 0x412f64
call fcn.00418da8
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x412f7d
cmp ebx, esi
jae 0x412f7d
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x412f7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00417880
leave
ret
Function at 0x4145ac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4145da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4145f8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00414516
jmp 0x4145f8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4145f8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00414516
test edi, edi
mov eax, edi
jne 0x4145e2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43d248]
test ecx, ecx
je 0x4146bb
jmp 0x4145ab
ret 8

Function at 0x41b262
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x439dc0]
je 0x41b27d
inc edi
cmp edi, 0x17
jb 0x41b26e
cmp edi, 0x17
jae 0x41b3fd
push ebp
push 3
call fcn.004233e0
cmp eax, 1
pop ecx
je 0x41b3c9
push 3
call fcn.004233e0
test eax, eax
pop ecx
jne 0x41b2b1
cmp dword [0x439c00], 1
je 0x41b3c9
cmp ebx, 0xfc
je 0x41b3fc
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43d558
push ebp
call fcn.0042337b
add esp, 0xc
test eax, eax
je 0x41b2e7
push esi
push esi
push esi
push esi
push esi
call fcn.0041c9bf
add esp, 0x14
push 0x104
mov esi, 0x43d571
push esi
push 0
mov byte [0x43d675], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b32b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042337b
add esp, 0xc
test eax, eax
je 0x41b32b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041c9bf
add esp, 0x14
push esi
call fcn.004232f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41b370
push esi
call fcn.004232f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43d86c
push 0x4300bc
sub ecx, eax
push ecx
push eax
call fcn.00423230
add esp, 0x14
test eax, eax
je 0x41b370
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041c9bf
add esp, 0x14
jmp 0x41b372
xor esi, esi
push 0x4300b8
push ebx
push ebp
call fcn.004231bf
add esp, 0xc
test eax, eax
je 0x41b392
push esi
push esi
push esi
push esi
push esi
call fcn.0041c9bf
add esp, 0x14
push dword [edi*8 + 0x439dc4]
push ebx
push ebp
call fcn.004231bf
add esp, 0xc
test eax, eax
je 0x41b3b4
push esi
push esi
push esi
push esi
push esi
call fcn.0041c9bf
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00423002
add esp, 0xc
jmp 0x41b3fc
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41b3fc
cmp ebp, 0xffffffff
je 0x41b3fc
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x439dc4]
push dword [esi]
call fcn.004232f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x423002
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041be12
xor ebx, ebx
cmp dword [0x43e058], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4230d8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4231b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4231b8
push eax
call fcn.0041bda4
mov dword [esp], 0x4303b8
push edi
mov dword [0x43e058], eax
call esi
push eax
call fcn.0041bda4
mov dword [esp], 0x4303a4
push edi
mov dword [0x43e05c], eax
call esi
push eax
call fcn.0041bda4
mov dword [0x43e060], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041a872
test eax, eax
pop ecx
pop ecx
je 0x4230a6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9bf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4230d8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041bda4
cmp eax, ebx
pop ecx
mov dword [0x43e068], eax
je 0x4230d8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041bda4
pop ecx
mov dword [0x43e064], eax
mov eax, dword [0x43e064]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42315d
cmp dword [0x43e068], ecx
je 0x42315d
push eax
call fcn.0041be1b
push dword [0x43e068]
mov esi, eax
call fcn.0041be1b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42315d
cmp edi, ebx
je 0x42315d
call esi
cmp eax, ebx
je 0x42312a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42312a
test byte [ebp - 0x18], 1
jne 0x42315d
lea eax, [ebp - 0x10]
push eax
call fcn.0041a8a9
test eax, eax
pop ecx
je 0x423145
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c9bf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x423154
or dword [ebp + 0x10], 0x200000
jmp 0x423198
or dword [ebp + 0x10], 0x40000
jmp 0x423198
mov eax, dword [0x43e05c]
cmp eax, dword [ebp - 8]
je 0x423198
push eax
call fcn.0041be1b
cmp eax, ebx
pop ecx
je 0x423198
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x423198
mov eax, dword [0x43e060]
cmp eax, dword [ebp - 8]
je 0x423198
push eax
call fcn.0041be1b
cmp eax, ebx
pop ecx
je 0x423198
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e058]
call fcn.0041be1b
cmp eax, ebx
pop ecx
je 0x4231b8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4231ba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42a90e
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x439c20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042a8a3
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004185a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42a95d
cmp dword [ebp - 0x1c], 5
jb 0x42a975
jmp 0x42a971
cmp dword [ebp - 0x10], 1
jne 0x42a975
cmp dword [ebp - 0x1c], 4
ja 0x42a971
jne 0x42a975
cmp dword [ebp - 0x18], 0
jbe 0x42a975
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4315f4
call fcn.0042a777
test eax, eax
jge 0x42a996
mov byte [0x43e258], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00417880
add ebp, 0x78
leave
ret

Function at 0xf01c2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf01c36
pushal
call 0xf01c3c
pop ebp
sub ebp, 0x10
sub ebp, 0xb01c2c
jmp 0xf01c52
mov eax, 0xb01c2c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f1
mov edx, 0x60691da
xor byte [eax], dl
inc eax
dec ecx
jne 0xf01c69
jmp 0xf01c7c
push ecx
pop ss
push ecx
push ebx
out 0xda, al
fcmovu st(0), st(2)
pop ebx
sbb esp, dword [edx]
fcmovu st(0), st(2)
fcmovu st(0), st(1)
pop ss
invalid
Function at 0x79f370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x79f38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x7c8074
push ecx
mov edi, eax
call fcn.007b3198
mov esi, eax
add esp, 8
test esi, esi
jne 0x79f3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007b302e
push esi
call fcn.007b2fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret