joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46eb80
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46ebca
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x46ebf9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x46ec3b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4731d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x498649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00475cc0
lea edi, [esi + 0x108]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0xc]
mov dword [edi], 0x4bc440
call fcn.00488543
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 1
call fcn.00488543
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 2
call fcn.00475880
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 3
call fcn.00475880
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 4
call fcn.00488543
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 5
call fcn.00488543
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 6
call fcn.00475880
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 7
call fcn.00475880
mov dword [edi], 0x4bc438
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 8
call fcn.00475cc0
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 9
call fcn.00475cc0
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 0xa
call fcn.00475cc0
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 0xb
call fcn.00475cc0
lea ecx, [esi + 0x654]
mov byte [esp + 0x18], 0xc
call fcn.00475cc0
mov ecx, esi
mov byte [esp + 0x18], 0xd
mov dword [esi], method.CWnd.virtual_0
call fcn.00473500
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4733c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49875b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x654]
mov dword [esp + 0x18], 5
call fcn.00475e90
lea ecx, [esi + 0x558]
mov byte [esp + 0x18], 4
call fcn.00475e90
lea ecx, [esi + 0x45c]
mov byte [esp + 0x18], 3
call fcn.00475e90
lea ecx, [esi + 0x360]
mov byte [esp + 0x18], 2
call fcn.00475e90
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 1
call fcn.00475e90
lea edi, [esi + 0x108]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x74]
mov byte [esp + 0x18], 0xc
mov dword [ecx], 0x4bc448
call fcn.00475a80
lea ecx, [edi + 0x60]
mov byte [esp + 0x18], 0xb
mov dword [ecx], 0x4bc448
call fcn.00475a80
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 0xa
call fcn.0048856c
lea ecx, [edi + 0x50]
mov byte [esp + 0x18], 9
call fcn.0048856c
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x4bc448
call fcn.00475a80
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x4bc448
call fcn.00475a80
lea ecx, [edi + 0x14]
mov byte [esp + 0x18], 6
call fcn.0048856c
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0
call fcn.0048856c
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00475e90
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x48beac
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48bee4
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00489f4e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489f26
jmp 0x48bef0
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48d59a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48d5dc
call fcn.004930ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48d5dc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48d5d3
xor eax, eax
jmp 0x48d5e4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048d5ea
pop edi
pop esi
pop ebx
ret 4

Function at 0x49361d
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 0x49364b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x493669
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493583
jmp 0x493669
mov eax, dword [esi + 0x14]
test eax, eax
je 0x493669
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493583
test edi, edi
mov eax, edi
jne 0x493653
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x43b64e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43b3c1
mov ebx, ecx
sub esp, 4
mov dword [esp], 0x45d4d3f1
mov ebx, dword [esp]
add esp, 4
call fcn.0043b6a3
push 0xb2b32937
pop ecx
or ebx, ebx
or ebx, ebx
xor dword [edi], esi
or ebx, ebx
inc edi
add ebx, 0xd2dd35ec
cmp edi, edx
jne fcn.0043b64e
mov ebx, 0xcb630fcb
sub esp, 4
mov dword [esp], ecx
pop ecx
ret
Function at 0x32029548
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x32029557
pop dword [ebp - 0x48]
mov eax, 0xcaca49f4
sub eax, 0x98c7b49d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x1e562825
sub dword [ebp - 0x58], 0xd003e2da
mov dword [ebp - 0x54], 0x700f436d
sub dword [ebp - 0x54], 0x3ddbf728
mov dword [ebp - 0x50], 0x530973b1
add dword [ebp - 0x50], 0xf942d07d
mov dword [ebp - 0x4c], 0x323bd87c
sub dword [ebp - 0x4c], 0x323bd87c
lea eax, [ebp - 0x58]
push eax
mov eax, 0x6a6104a9
sub eax, 0x385bd425
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x926c7659
sub dword [ebp - 0x58], 0x1dfa0d03
mov dword [ebp - 0x54], 0x4b440afa
sub dword [ebp - 0x54], 0x9d7a985
mov dword [ebp - 0x50], 0x18e9bac5
sub dword [ebp - 0x50], 0xb57a4e59
mov dword [ebp - 0x4c], 0xf2a4c315
add dword [ebp - 0x4c], 0xd5b3ceb
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4824a
push 0
call eax
mov ecx, 0x4b0d
xor edi, edi
add edi, eax
mov ebx, 0x85b7363d
add ebx, 0xac506bc3
add ebx, dword [ebp - 0x48]
mov esi, 0x91cdcc5d
xor dword [ebp - 0x2c], eax
mov edx, dword [ebx]
xor dword [ebp - 0x20], esi
add edx, esi
add dword [ebp - 0x18], 0x9a21dbe6
mov dword [edi], edx
xor dword [ebp - 0x14], 0x936f7524
add edi, 0x21851b4a
add edi, 0xde7ae4ba
add ebx, 0xb94efcff
add ebx, 0x46b10305
loop 0x3202966a
add eax, 0x11f07
mov ebx, eax
add eax, 0xa4201353
add eax, 0x5bdfecb2
mov ecx, 0xb22f5c7d
add ecx, 0x7fd0a383
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x46b02aca
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x266132ab
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x512be0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.VMP1
lea edi, [esi - 0x10d000]
push edi
jmp 0x512bfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x512c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512bf0
mov eax, 1
add ebx, ebx
jne 0x512c13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x512c24
jne 0x512c43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512c43
dec eax
add ebx, ebx
jne 0x512c30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x512c08
add ebx, ebx
jne 0x512c3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x512c95
xor ecx, ecx
sub eax, 3
jb 0x512c5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x512cca
sar eax, 1
mov ebp, eax
jmp 0x512c66
add ebx, ebx
jne 0x512c66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512c34
inc ecx
add ebx, ebx
jne 0x512c74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x512c34
add ebx, ebx
jne 0x512c81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x512c76
jne 0x512c92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x512c76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x512cb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x512ca6
jmp 0x512bf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x512cb4
add edi, ecx
jmp 0x512bf6
pop esi
mov edi, esi
mov ecx, 0x295
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x512cd2
cmp byte [edi], 1
jne 0x512cd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x512cd7
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x512d4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x114e34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x114ee8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x512d04
mov ecx, edi
jns 0x512d33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x114eec]
or eax, eax
je 0x512d49
mov dword [ebx], eax
add ebx, 4
jmp 0x512d21
call dword [esi + 0x114efc]
mov ebp, dword [esi + 0x114ef0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x512d83
sub esp, 0xffffff80
jmp 0x403783
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x34a0d56
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6ecb7ef6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403ba0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x401158]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
push edi
mov esi, ecx
xor edi, edi
xor eax, eax
cmp esi, edi
je 0x403c56
push 0x206
lea ecx, [esp + 0x62]
push edi
push ecx
mov word [esp + 0x68], ax
call fcn.00405380
push esi
lea edx, [esp + 0x6c]
push 0x104
push edx
call fcn.00404dd6
add esp, 0x18
xor eax, eax
lea edx, [esp + 8]
push edx
mov word [esp + 0x4e], ax
lea eax, [esp + 0x1c]
push eax
push edi
push edi
push 0x8000000
push edi
xor ecx, ecx
push edi
mov word [esp + 0x64], cx
push edi
lea ecx, [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, edi
je 0x403c54
mov edx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0x264]
pop edi
pop esi
xor ecx, esp
call fcn.00404ad9
add esp, 0x260
ret

Function at 0x404ad9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x401158]
jne 0x404ae3
repz ret
jmp fcn.00404fca
Function at 0x408c7c
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.00406d94
and dword [ebp - 4], 0
cmp dword [0x40d624], 0
mov ebx, eax
jne 0x408d2d
push 0x402d3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408dde
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402d30
push edi
call esi
test eax, eax
je 0x408dde
push eax
call fcn.00406d22
mov dword [esp], 0x402d20
push edi
mov dword [0x40d624], eax
call esi
push eax
call fcn.00406d22
mov dword [esp], 0x402d0c
push edi
mov dword [0x40d628], eax
call esi
push eax
call fcn.00406d22
mov dword [esp], 0x402cf0
push edi
mov dword [0x40d62c], eax
call esi
push eax
call fcn.00406d22
pop ecx
mov dword [0x40d634], eax
test eax, eax
je 0x408d2d
push 0x402cd8
push edi
call esi
push eax
call fcn.00406d22
pop ecx
mov dword [0x40d630], eax
mov eax, dword [0x40d630]
cmp eax, ebx
je 0x408d85
cmp dword [0x40d634], ebx
je 0x408d85
push eax
call fcn.00406d9d
push dword [0x40d634]
mov esi, eax
call fcn.00406d9d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408d85
test edi, edi
je 0x408d85
call esi
test eax, eax
je 0x408d7c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408d7c
test byte [ebp - 0xc], 1
jne 0x408d85
or dword [ebp + 0x10], 0x200000
jmp 0x408dbe
mov eax, dword [0x40d628]
cmp eax, ebx
je 0x408dbe
push eax
call fcn.00406d9d
pop ecx
test eax, eax
je 0x408dbe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408dbe
mov eax, dword [0x40d62c]
cmp eax, ebx
je 0x408dbe
push eax
call fcn.00406d9d
pop ecx
test eax, eax
je 0x408dbe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40d624]
call fcn.00406d9d
pop ecx
test eax, eax
je 0x408dde
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408de0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4099ec
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409abf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409ad8
push ebx
push 0x409ae4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a6c
mov al, 0x6a
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.004099c0
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a75
call fcn.004099c0
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ac6
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b78
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
jmp 0x409c21
cmp dword [esi + 0x10], 0x1000
jne 0x409c0d
test byte [esi + 0x15], 1
jne 0x409c0d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409bcc
cmp eax, 2
je 0x409bcc
cmp eax, 0x10
je 0x409bcc
cmp eax, 0x20
jne 0x409be1
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409be1
mov bl, 1
xor ebp, ebp
jmp 0x409bf2
mov eax, dword [esi]
add eax, ebp
call fcn.00409b70
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409be5
test bl, bl
je 0x409c0d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409c2c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409ba4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x438c8d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
sub ecx, eax
sub eax, 0x1f6c7c52
sub eax, ecx
call fcn.00438cc0
sub eax, ecx
inc eax
xor dword [ebx], edi
dec eax
dec eax
inc ebx
and ecx, ecx
cmp ebx, esi
jne fcn.00438c8d
add ecx, 0x19bab43d
add ecx, eax
ret
Function at 0x6d00396e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d0070c0]
jne 0x6d003978
repz ret
jmp fcn.6d003f95

Function at 0x6d003c50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x6d003c5f
pop dword [ebp - 0x14]
mov eax, 0x571a9868
sub eax, 0xea1a5c09
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x9fe622fe
add dword [ebp - 0x24], 0xae6c224d
mov dword [ebp - 0x20], 0x2607b1b
add dword [ebp - 0x20], 0x2fd2d12a
mov dword [ebp - 0x1c], 0xd8586fb
add dword [ebp - 0x1c], 0x3ec6bd33
mov dword [ebp - 0x18], 0x9f594091
sub dword [ebp - 0x18], 0x9f594091
lea eax, [ebp - 0x24]
push eax
mov eax, 0x5b850e00
sub eax, 0xee84bddc
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x70e21b38
add dword [ebp - 0x24], 0x3904e1e
mov dword [ebp - 0x20], 0x2556d507
sub dword [ebp - 0x20], 0xe3ea7392
mov dword [ebp - 0x1c], 0xb56b610b
sub dword [ebp - 0x1c], 0x51fbf49f
mov dword [ebp - 0x18], 0x33f7f77
sub dword [ebp - 0x18], 0x33f7f77
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xf1b9da7b
sub eax, 0x84b98a5b
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3aac3
push 0
call eax
mov ecx, 0x5790
xor edi, edi
add edi, eax
mov ebx, 0x886dd5c3
sub ebx, 0x1b6d1fc3
add ebx, dword [ebp - 0x14]
mov esi, 0x92e9a373
sub dword [ebp - 0x10], eax
mov edx, dword [ebx]
xor dword [ebp - 0x10], esi
add edx, esi
mov dword [ebp - 8], 0xf0ef78c
mov dword [edi], edx
add edi, 4
add ebx, 0xa08af9fd
sub ebx, 0xa08af9f9
loop 0x6d003d77
add eax, 0xf3078fe9
sub eax, 0xf3063ed6
mov ebx, eax
add eax, 0x177b225b
add eax, 0xe884ddaa
mov ecx, 0x6d000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40c49d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040c464
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00408c96
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040c3ea
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040c40a
inc esi
cmp esi, 0xc
jl 0x40c4bc
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x410550]
test byte [eax + 0x28], 2
movzx eax, byte [0x4205bf]
jne 0x40c4f7
movzx eax, byte [0x4205c7]
movzx ecx, cx
cmp ecx, eax
je 0x40c503
or eax, 0xffffffff
jmp 0x40c548
mov ecx, dword [0x420568]
mov eax, ecx
cdq
cmp edx, dword [0x40f924]
push edi
jl 0x40c525
mov edx, dword [0x40f920]
jg 0x40c521
cmp eax, edx
jbe 0x40c525
mov edi, edx
jmp 0x40c527
mov edi, ecx
mov esi, dword [0x420560]
jmp 0x40c541
dec edi
call fcn.0040c3ea
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040c40a
inc esi
test edi, edi
jne 0x40c52f
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x40893e
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
mov edi, eax
add eax, eax
call fcn.00408973
add edi, edi
mov edi, 0x8d8fe9cd
xor dword [ecx], edx
and eax, edi
inc eax
add ecx, 1
sub eax, edi
sub edi, 0x68d1fdb2
cmp ecx, ebx
jne fcn.0040893e
sub eax, eax
ret
Function at 0x401dc0
Capabilities:
Access peb ldr_data
Check mutex on windows
Create thread
Get file size
Query environment variable
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x405018]
xor eax, esp
mov dword [esp + 0x818], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [esp + 0xc], eax
mov eax, dword fs:[0x30]
push 0xf0000000
mov eax, dword [eax + 0xc]
push 1
mov eax, dword [eax + 0x14]
push 0
mov eax, dword [eax + 0x20]
push 0
push 0x405438
mov dword [0x405434], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x401e2c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x818]
xor ecx, esp
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push dword [0x405434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e89
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x401e89
push 0
lea eax, [esp + 0x20]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401e89
push dword [esp + 0xc]
mov edx, edi
mov ecx, ebx
call fcn.00401530
push str.Global3pc6RWOgectGTFqCowxjeGy3XIGPtLwNrsr2zDctYD4hAU5pj4GW7rm8gHrHyTB6
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401ebe
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040237d
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401d80
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401cd0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401bb0
push 0
push 0
call esi
push 0x400
lea eax, [esp + 0x24]
push eax
push str.userprofile
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, dword [sym.imp.ntdll.dll_NtDelayExecution]
mov dword [esp + 0x10], 0x4d2fa200
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00401a90
lea eax, [esp + 0x10]
push eax
push 0
call esi
jmp 0x401f22

Function at 0x4081b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x4081b4
lcall 0x5de5, 0x8b10c483
jmp loc.009aae8c