joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x41c16e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x41c162
cmp dword [edi + 0x7c], ebx
je 0x41c17d
call fcn.0041c540
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041bec0
add esp, 0xc
test eax, eax
je 0x41c1a4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.0043ce27
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x41c1e5
push 0x4000
call fcn.0043ce27
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x41c1f2
push esi
call fcn.0043bb43
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x41c23a
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0041afc0
test eax, eax
jne 0x41c23a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x41c264
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x41c26d
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x41c2a7
mov cl, byte [ebp]
cmp cl, bl
je 0x41c2a7
call fcn.0041acb0
add ebp, 1
jne 0x41c296
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x41c640
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [esi], 0
push edi
jne 0x41c6ca
cmp dword [esi + 4], 0xffffffff
jne 0x41c6ca
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c668
sub eax, edx
mov al, byte [eax + esi + 0x13f]
cmp al, 0x5c
je 0x41c692
cmp al, 0x2f
je 0x41c692
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c681
mov ax, word [0x45b624]
mov word [edi], ax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
call fcn.0041b410
add esp, 4
test eax, eax
jne 0x41c6b0
mov eax, dword [esp + 0xc]
pop edi
pop ecx
ret 4
call fcn.0041b840
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop ecx
ret 4
mov eax, 0x1000000
pop edi
pop ecx
ret 4

Function at 0x41cc50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x218]
push edi
mov edi, dword [esp + 0x218]
test edi, edi
je 0x41cc8d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41cc8d
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebp]
test al, al
je 0x41cd46
push esi
mov esi, ebp
mov ecx, ebp
lea ecx, [ecx]
cmp al, 0x2f
je 0x41cca8
cmp al, 0x5c
jne 0x41ccaa
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41cca0
cmp esi, ebp
je 0x41cce0
sub esi, ebp
push esi
lea eax, [esp + 0x114]
push ebp
push eax
call fcn.004419e0
lea ecx, [esp + 0x11c]
push ecx
push edi
mov byte [esp + esi + 0x124], 0
call fcn.0041cc50
add esp, 0x14
mov byte [esp + 0xc], 0
test edi, edi
je 0x41ccfb
lea edx, [esp + 0xc]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41ccf1
mov eax, ebp
mov edx, ebp
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cd00
lea edi, [esp + 0xc]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41cd10
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0xc]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop esi
cmp eax, 0xffffffff
jne 0x41cd46
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.0043a8ec
add esp, 0x20c
ret
Function at 0x41d210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push 0x801
mov esi, 0x2278
call fcn.0041d8cd
push 0x801
mov edi, eax
push 0
push edi
call fcn.0043de70
mov eax, dword [esp + 0x24]
add esp, 0x10
push edi
call fcn.0041d3a0
test eax, eax
jle 0x41d276
mov edx, dword [esp + 0x18]
mov ecx, edi
sub edx, edi
mov edi, eax
push ebx
mov ebx, esi
shr ebx, 8
xor bl, byte [ecx]
inc ecx
mov byte [edx + ecx - 1], bl
movzx ebx, byte [ecx - 1]
add ebx, esi
movzx esi, word [ebp]
imul ebx, esi
movzx esi, word [ebp + 2]
add esi, ebx
sub edi, 1
jne 0x41d251
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41d280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push 0x801
mov esi, 0x2278
call fcn.0041d8cd
push 0x801
mov edi, eax
push 0
push edi
call fcn.0043de70
mov eax, dword [esp + 0x24]
add esp, 0x10
push edi
push eax
call fcn.0041d2f0
test eax, eax
jle 0x41d2e6
mov edx, dword [esp + 0x18]
mov ecx, edi
sub edx, edi
mov edi, eax
push ebx
mov ebx, esi
shr ebx, 8
xor bl, byte [ecx]
inc ecx
mov byte [edx + ecx - 1], bl
movzx ebx, byte [ecx - 1]
add ebx, esi
movzx esi, word [ebp]
xor ebx, esi
movzx esi, word [ebp + 2]
add esi, ebx
sub edi, 1
jne 0x41d2c2
pop ebx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x41d4b0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
lea eax, [edi + ecx - 1]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x28]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
sub ecx, edx
xor esi, esi
neg ecx
sbb ecx, ecx
and ecx, 4
lea eax, [ecx + eax*4 + 1]
xor ebx, ebx
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov ecx, edi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x10]
ja 0x41d5f2
mov edi, edi
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [ecx]
lea eax, [eax + eax*2]
mov edi, ebx
sub edi, eax
mov byte [esp + edi + 0x28], dl
cmp edi, 2
je 0x41d53a
cmp ecx, dword [esp + 0x10]
jne 0x41d5cc
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x29]
mov dl, al
and al, 3
mov bl, cl
shl al, 4
shr bl, 4
add al, bl
mov bl, byte [esp + 0x2a]
mov byte [esp + 0x1d], al
and cl, 0xf
shr dl, 2
add cl, cl
mov al, bl
shr al, 6
movzx edx, dl
add cl, cl
add cl, al
movzx eax, byte [edx + 0x45bd88]
movzx edx, byte [esp + 0x1d]
mov byte [esi + ebp], al
movzx eax, byte [edx + 0x45bd88]
inc esi
mov byte [esi + ebp], al
and bl, 0x3f
inc esi
test edi, edi
jne 0x41d592
mov al, 0x3d
jmp 0x41d59b
movzx ecx, cl
mov al, byte [ecx + 0x45bd88]
mov byte [esi + ebp], al
inc esi
cmp edi, 1
jg 0x41d5a8
mov al, 0x3d
jmp 0x41d5b1
movzx edx, bl
mov al, byte [edx + 0x45bd88]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov byte [esi + ebp], al
inc esi
mov byte [esp + 0x2a], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x28], 0
inc ecx
inc ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x10]
jbe 0x41d510
mov eax, dword [esp + 0x20]
pop edi
mov byte [esi + ebp], 0
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
pop edi
mov byte [esi + ebp], bl
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x41d670
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x45264b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x469524]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov eax, dword [ebp]
mov edi, ecx
mov dword [esp + 0x20], 0x10
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x41d6db
push esi
mov ecx, ebp
call fcn.0040a5c0
mov ebx, dword [ebp]
push 0xf0000020
push 1
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x41d7ed
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41d7e4
mov eax, dword [esp + 0x14]
push 0
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x41d7d3
mov eax, dword [esp + 0x14]
xor esi, esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
add edi, 4
mov ecx, edi
test eax, eax
je 0x41d7c7
call fcn.0040a2a0
lea ecx, [esp + 0x1c]
call fcn.0040a750
mov dword [esp + 0xb0], esi
lea esp, [esp]
movzx ecx, byte [esp + esi + 0x24]
push ecx
lea edx, [esp + 0x20]
push str._02x
push edx
call fcn.0040a6f0
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx - 0xc]
add esp, 0xc
push eax
push ebx
mov ecx, edi
call fcn.00408380
inc esi
cmp esi, 0x10
jl 0x41d770
add ebx, 0xfffffff0
mov dword [esp + 0xb0], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41d7fe
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
jmp 0x41d7fe
push str.Error_getting_hash_param
call fcn.0040a3f0
jmp 0x41d7fe
add edi, 4
push str.Error_hashing_data
mov ecx, edi
call fcn.0040a3f0
jmp 0x41d7fe
push 0x13
push str.Error_creating_hash
jmp 0x41d7f4
push 0x17
push str.Error_acquiring_context
add edi, 4
mov ecx, edi
call fcn.0040a300
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [esp + 0x18]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41d82e
push ecx
push eax
call fcn.0043b3a4
add esp, 8
test eax, eax
jl 0x41d86c
mov ecx, dword [ebp]
cmp eax, dword [ecx - 8]
jg 0x41d86c
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp]
mov byte [eax + ecx], 0
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0043a8ec
add esp, 0xa0
ret 4
push 0x80070057
call fcn.0040ad10
int3
Function at 0x41f04c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x469524]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x41f0ea
push 0x455b84
push 4
push eax
call fcn.0043c79b
push eax
call fcn.0040ac40
add esp, 0x10
push ebx
push edi
call fcn.0043ddee
mov edi, dword [eax]
call fcn.0043ddee
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043bcba
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0043ddee
cmp dword [eax], ebx
je 0x41f101
call fcn.0043ddee
push dword [eax]
call fcn.0041db52
pop ecx
jmp 0x41f108
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41f092
jmp 0x41f18f
call fcn.0043ddee
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x41f18b
cmp dword [ebp - 0x11c], esi
jae 0x41f18b
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.0043de70
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x41f17a
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41f17a
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x41f17a
push ebx
push ebx
push esi
jmp 0x41f183
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x41f18d
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043a8ec
leave
ret

Function at 0x41fd80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41fdc8
call fcn.0041ea69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41fdc8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41fe0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41fdf4
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41fdf4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41fe08
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4211a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4211cc
cmp dword [edi + 0x54], 0
jne 0x4211cc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041ea69
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00421169
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4280e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x428127
call fcn.0041ea69
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x428127
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x428143
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00427c5a
mov esi, eax
test edi, edi
je 0x428141
test ebx, ebx
je 0x428141
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x429464
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x450903
call fcn.0043d951
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x429489
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4294cf
lea ecx, [ebp - 0x10]
call fcn.0040a750
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d973
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040a710
mov eax, esi
call fcn.0043da29
ret 8
Function at 0x43a8ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469524]
jne 0x43a8f6
repz ret
jmp fcn.004418d4

Function at 0x44c97a
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.004428c2
and dword [ebp - 4], 0
cmp dword [0x46d3d8], 0
mov ebx, eax
jne 0x44ca2b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44cadc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45a06c
push edi
call esi
test eax, eax
je 0x44cadc
push eax
call fcn.00442850
mov dword [esp], 0x45a05c
push edi
mov dword [0x46d3d8], eax
call esi
push eax
call fcn.00442850
mov dword [esp], 0x45a048
push edi
mov dword [0x46d3dc], eax
call esi
push eax
call fcn.00442850
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46d3e0], eax
call esi
push eax
call fcn.00442850
pop ecx
mov dword [0x46d3e8], eax
test eax, eax
je 0x44ca2b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00442850
pop ecx
mov dword [0x46d3e4], eax
mov eax, dword [0x46d3e4]
cmp eax, ebx
je 0x44ca83
cmp dword [0x46d3e8], ebx
je 0x44ca83
push eax
call fcn.004428cb
push dword [0x46d3e8]
mov esi, eax
call fcn.004428cb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44ca83
test edi, edi
je 0x44ca83
call esi
test eax, eax
je 0x44ca7a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44ca7a
test byte [ebp - 0xc], 1
jne 0x44ca83
or dword [ebp + 0x10], 0x200000
jmp 0x44cabc
mov eax, dword [0x46d3dc]
cmp eax, ebx
je 0x44cabc
push eax
call fcn.004428cb
pop ecx
test eax, eax
je 0x44cabc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44cabc
mov eax, dword [0x46d3e0]
cmp eax, ebx
je 0x44cabc
push eax
call fcn.004428cb
pop ecx
test eax, eax
je 0x44cabc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46d3d8]
call fcn.004428cb
pop ecx
test eax, eax
je 0x44cadc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44cade
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406ecf
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x406ef1
mov eax, 0xfffffffd
jmp 0x406f69
mov ebx, dword [0x534150]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x406f37
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x534150]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x406f5f
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x406f69
mov esp, ebp
pop ebp
ret 4

Function at 0x4134f7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x46d510
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f0b8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004e4d48
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46d592
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e239a
mov eax, dword [eax]
push 0x520250
push eax
call fcn.004d3a44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e4fd3
test bl, bl
je 0x46d592
push 0x520250
lea ecx, [esp + 0xc]
call fcn.004e5363
push 0x523df4
lea ecx, [esp + 0xc]
call fcn.004e5363
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46d5ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e4fd3
jmp 0x46d699
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x46d652
lea edx, [esp + 0x7c]
push 0x523df0
push edx
call fcn.004d3a44
add esp, 8
test eax, eax
je 0x46d652
lea eax, [esp + 0x7c]
push 0x523dec
push eax
call fcn.004d3a44
add esp, 8
test eax, eax
je 0x46d652
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x46d5e2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004e4fd3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x46deb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x46df12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc