joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x10013a4
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x248]
mov edi, 0xfffff758
and eax, edi
or eax, dword [ebp + 8]
push eax
lea eax, [esi + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10013e4
mov eax, dword [esi + 0x248]
and eax, edi
or eax, dword [ebp + 8]
mov dword [esi + 0x248], eax
mov al, 1
jmp 0x10013f5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10013f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop edi
pop esi
pop ebp
ret 8
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x428f7fdf
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7dfc3613
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x40150b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040144f
test eax, eax
jne 0x4015a5
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x40203e
sub eax, 0x4015dc
mov dword [esp], 0x4015dc
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4015a5
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.0040133e
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004013c2
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401d41
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x403240
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul eax
mov edx, 0x57
or edx, 0x6c
dec eax
sub ebx, 0x73
or eax, 0x80
rcl ebx, 0xb2
sub esi, 0xac
ror edi, 0xf2
add ebx, 0xb3
bswap ebx
bswap ebx
neg ebx
ror edi, 0xd8
rcr esi, 0x79
not esi
not edi
mov edx, 0x94
bswap edi
ror edi, 0xc2
rol eax, 0xfa
dec esi
sbb edi, 0xfa
sub ebx, 0x3d
sbb edi, 0x7a
dec edi
inc ebx
sub esi, 0x87
imul edx
mov eax, 0x95
inc edi
rcl esi, 0xf6
rol esi, 0x64
add edi, 0xaa
dec esi
bswap esi
mov edi, 0x9d
bswap ebx
ror eax, 0x61
imul edi
dec edi
add edi, 0xa4
or eax, 0xe5
imul edx
rcl eax, 0x29
and edx, 0xca
bswap edx
not edx
ror eax, 0xf1
bswap eax
xor ecx, ecx
xor edi, edi
inc edx
bswap eax
dec eax
neg edi
imul edx
imul edi
bswap edx
ror edi, 0x49
inc esi
sbb esi, 0xb9
sub edx, 0xea
not eax
dec ebx
imul ebx
add edi, 0x65
inc edx
imul edi
dec ebx
neg esi
bswap edi
bswap edi
bswap ebx
rcl eax, 0x48
add esi, 0xda
bswap edi
rol edi, 0x16
rol eax, 0x4f
mov esi, 0xd5
ror ebx, 0xc
inc edx
sub ebx, 0xcd
bswap ebx
neg edx
not ebx
add edi, 0x6c
not ebx
imul edi
and eax, 0x7e
rcr edx, 0xa7
bswap edi
dec eax
sub edx, 0xc0
imul edx
imul edx
inc eax
rcr edi, 0x8e
dec edi
dec esi
not edx
and ebx, 0x27
mov ecx, dword [ebp + 0xc]
sbb edi, 0xbb
and edx, 0xbb
or edi, 0xb7
ror esi, 0x90
rol eax, 0x72
neg eax
not eax
rol ebx, 0x88
neg eax
not eax
rcr edi, 0xcc
imul edi
and eax, 0xf1
not esi
rol edx, 0xc0
sbb edi, 0xbb
or eax, 0xdd
or esi, 0xbd
sub eax, 0xf4
inc eax
not edi
rcl eax, 0x60
imul eax
and ebx, 0xc7
inc esi
sbb esi, 0xee
rcr esi, 0x60
not esi
rcr eax, 0x8a
ror edx, 0x8c
inc ebx
and ebx, 0xa2
not edi
inc ebx
add edx, 0x5b
not esi
inc ebx
mov eax, 0xd4
rcr esi, 0x71
rcr esi, 0x63
ror ebx, 0xbf
bswap eax
mov edi, 0x14
dec edx
inc ebx
sub ebx, 7
bswap esi
rol esi, 0x91
mov edx, 0x5a
rcl ebx, 0xec
mov edi, dword [ebp + 8]
mov esi, eax
xor ebx, ebx
xor eax, eax
not byte [edi]
mov esi, esi
mov esi, esi
xor esi, eax
mov eax, esi
xor ebx, esi
xor esi, ebx
mov eax, ebx
xor esi, esi
mov ebx, esi
add byte [edi], 0x54
mov eax, eax
mov ebx, esi
mov esi, eax
xor ebx, eax
xor esi, esi
xor eax, ebx
mov esi, esi
xor eax, eax
xor eax, ebx
sub byte [edi], 0x29
mov eax, ebx
xor eax, esi
mov eax, esi
mov ebx, eax
xor eax, eax
xor esi, eax
xor esi, eax
mov ebx, eax
mov esi, esi
imul byte [edi]
inc edi
loop 0x40340a
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x406e72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x406e81
pop dword [ebp - 0x10]
mov eax, 0x4814b22
add eax, 0xfbbf235f
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x4e4ce
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x40bb
mov edi, eax
mov ebx, 0xbebd3085
sub ebx, 0xbe74a285
add ebx, dword [ebp - 0x10]
mov edx, 0x3f22c80e
add dword [ebp - 0xc], 0x85508c3f
mov esi, dword [ebx]
add dword [ebp - 4], edi
add esi, edx
mov dword [ebp - 8], 0x5bff08d5
mov dword [edi], esi
xor dword [ebp - 8], 0x3e47a795
add edi, 0x947bc2ba
sub edi, 0x947bc2b6
add ebx, 0x497a4d13
sub ebx, 0x497a4d0f
loop 0x406ecf
add eax, 0xea244991
sub eax, 0xea2353d2
mov ebx, eax
add eax, 0xd3c33ce9
add eax, 0x2c3cc31c
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x41ed70
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46214b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x47b6e0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov eax, dword [0x47b6e0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x98]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x4671f4
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x98], ebx
call dword [0x4645e0]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea ecx, [esp + 0x1c]
push ecx
call dword [0x46453c]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x20]
neg esi
sbb esi, esi
and esi, 0x12c
add esi, 0x190
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
xor eax, eax
jmp 0x41ee30
movzx ecx, word [eax + 0x46db40]
mov word [esp + eax + 0x40], cx
add eax, 2
cmp cx, bx
jne 0x41ee30
lea eax, [esp + 0x24]
push eax
call dword [0x4640d0]
push eax
lea ecx, [esp + 0x10]
call fcn.0042e710
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call edx
push 1
mov ecx, edi
mov esi, eax
call fcn.0042dd21
push 0x21
lea ecx, [esp + 0x18]
push ecx
mov ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
push 1
lea edx, [esp + 0xa8]
push edx
mov ecx, edi
call eax
push ebx
mov ecx, edi
call fcn.0042dd21
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push esi
mov ecx, edi
call eax
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x4671f4
call fcn.0040a360
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00449f9d
add esp, 0x88
ret 8
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xca
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x20
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xca
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xdd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0xbf
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x67
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x86
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x75
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf8
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc0
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x51
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xc3
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xc7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x9f
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x40281c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x402826
repz ret
jmp fcn.00402a2b

Function at 0x40488b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004037d3
and dword [ebp - 0x14], 0
cmp dword [0x44b84c], 0
mov dword [ebp - 0x18], eax
jne 0x40493e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4049e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4049e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44b84c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44b850], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44b854], eax
call edi
push eax
call esi
mov dword [0x44b85c], eax
test eax, eax
je 0x40493e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44b858], eax
mov eax, dword [0x44b858]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404997
cmp dword [0x44b85c], ecx
je 0x404997
push eax
call esi
push dword [0x44b85c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404997
test ebx, ebx
je 0x404997
call edi
test eax, eax
je 0x40498e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40498e
test byte [ebp - 8], 1
jne 0x404997
or dword [ebp + 0x10], 0x200000
jmp 0x4049ca
mov eax, dword [0x44b850]
cmp eax, dword [ebp - 0x18]
je 0x4049ca
push eax
call esi
test eax, eax
je 0x4049ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4049ca
mov eax, dword [0x44b854]
cmp eax, dword [ebp - 0x18]
je 0x4049ca
push eax
call esi
test eax, eax
je 0x4049ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44b84c]
call esi
test eax, eax
je 0x4049e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4049e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040281c
leave
ret

Function at 0x8c2123
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x8c1ea3
pop esi
or edx, edx
sub edx, 0x8a9b61c4
call fcn.008c2159
dec edx
or edx, edx
sub edx, edx
xor dword [ecx], esi
dec eax
dec eax
mov edx, edx
inc ecx
sub eax, 0xf072ce71
cmp ecx, edi
jne fcn.008c2123
or edx, eax
or edx, edx
and eax, eax
ret
Function at 0x405200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x4052e8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x4052d7
jg 0x405240
test edx, edx
je 0x4052d7
nop dword [eax]
call fcn.004068c0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x405294
jg 0x405257
test esi, esi
je 0x405294
cmp ebx, eax
jg 0x405267
jl 0x405261
cmp edi, esi
jae 0x405267
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.0045f210
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x4052bb
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x4052d1
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x405240
jl 0x4052d1
test edi, edi
jne 0x405240
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x40530a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x40530c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x40538a
jg 0x40531f
test esi, esi
je 0x40538a
test eax, eax
jl 0x40536e
jg 0x405329
test ebx, ebx
je 0x40536e
cmp edi, eax
jg 0x405339
jl 0x405333
cmp esi, ebx
jae 0x405339
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.0045f210
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x40538a
jg 0x405371
test esi, esi
je 0x40538a
jmp 0x405371
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x40538a
push eax
push esi
push 1
push edx
call fcn.00465788
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4053a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4053d2
jl 0x4053c5
test ecx, ecx
jne 0x4053d2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x405492
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.004068e0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40543e
jg 0x4053fd
test esi, esi
je 0x40543e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x405415
mov eax, dword [esp + 0x10]
jl 0x40540f
cmp eax, esi
jae 0x405415
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.0045f210
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40545f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40547b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4053e4
jl 0x40547b
test ecx, ecx
jne 0x4053e4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4054d1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4054d1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.0045f210
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x405540
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x4054f7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x405529
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00465d9c
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x405554
cmp edi, eax
ja 0x405505
test ecx, ecx
je 0x405540
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00465d9c
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc