joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a138
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a39c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x22c]
xor eax, eax
call fcn.004032fc
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00409058
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 4]
mov ecx, 0x44a3b0
call fcn.00405278
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403670
lea eax, [ebp - 0x1d0]
call fcn.0040340c
call fcn.0040300c
mov edx, 0x44a3c8
lea eax, [ebp - 0x1d0]
call fcn.00405710
call fcn.00403af0
call fcn.0040300c
push 0x44a3d8
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.004032fc
push dword [ebp - 0x234]
push 0x44a3e8
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.004052f4
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.00405710
call fcn.00403af0
call fcn.0040300c
push 0x44a3d8
lea edx, [ebp - 0x240]
xor eax, eax
call fcn.004032fc
mov eax, dword [ebp - 0x240]
lea edx, [ebp - 0x23c]
call fcn.00409058
push dword [ebp - 0x23c]
push 0x44a3f4
lea eax, [ebp - 0x238]
mov edx, 3
call fcn.004052f4
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.00405710
call fcn.00403af0
call fcn.0040300c
push 0x44a40c
lea edx, [ebp - 0x248]
xor eax, eax
call fcn.004032fc
push dword [ebp - 0x248]
push 0x44a3e8
push 0x44a420
lea eax, [ebp - 0x244]
mov edx, 4
call fcn.004052f4
mov edx, dword [ebp - 0x244]
lea eax, [ebp - 0x1d0]
call fcn.00405710
call fcn.00403af0
call fcn.0040300c
mov edx, 0x44a434
lea eax, [ebp - 0x1d0]
call fcn.00405710
call fcn.00403af0
call fcn.0040300c
lea eax, [ebp - 0x1d0]
call fcn.00403738
call fcn.0040300c
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.00403800
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004053f0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x44a376
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a3a3
lea eax, [ebp - 0x248]
mov edx, 9
call fcn.00404f84
lea eax, [ebp - 4]
call fcn.00404f60
ret

Function at 0x44a69c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.004092d0
add esp, 0x104
pop ebx
ret
Function at 0x413c18
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x41cff0
call fcn.00413e50
mov edi, 0x94
mov eax, edi
call fcn.00413410
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x41c218]
mov ecx, dword [esi + 0x10]
mov dword [0x4215f8], ecx
mov eax, dword [esi + 4]
mov dword [0x421604], eax
mov edx, dword [esi + 8]
mov dword [0x421608], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4215fc], esi
cmp ecx, 2
je 0x413c78
or esi, 0x8000
mov dword [0x4215fc], esi
shl eax, 8
add eax, edx
mov dword [0x421600], eax
xor esi, esi
push esi
mov edi, dword [0x41c200]
call edi
cmp word [eax], 0x5a4d
jne 0x413cb3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x413cb3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x413ccb
cmp eax, 0x20b
je 0x413cb8
mov dword [ebp - 0x1c], esi
jmp 0x413cdf
cmp dword [ecx + 0x84], 0xe
jbe 0x413cb3
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x413cd9
cmp dword [ecx + 0x74], 0xe
jbe 0x413cb3
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.004140df
pop ecx
test eax, eax
jne 0x413cf3
push 0x1c
call fcn.00413bf4
pop ecx
call fcn.0041560f
test eax, eax
jne 0x413d04
push 0x10
call fcn.00413bf4
pop ecx
call fcn.00417633
mov dword [ebp - 4], esi
call fcn.00417435
test eax, eax
jge 0x413d1d
push 0x1b
call fcn.00413bcf
pop ecx
call fcn.00417396
mov dword [0x422db4], eax
call fcn.0041722c
mov dword [0x421448], eax
call fcn.00417196
test eax, eax
jge 0x413d42
push 8
call fcn.00413bcf
pop ecx
call fcn.00416f63
test eax, eax
jge 0x413d53
push 9
call fcn.00413bcf
pop ecx
push 1
call fcn.00414fdf
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x413d69
push eax
call fcn.00413bcf
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x41c1fc]
call fcn.00416f1d
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x413d8a
movzx eax, word [ebp - 0x40]
jmp 0x413d8d
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0040b3f0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x413dab
push edi
call fcn.0041510c
call fcn.0041512e
jmp 0x413ddd
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00413e8b
ret
Function at 0x413e9c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x413eca
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x413ed1
cmp ebx, dword [eax + 4]
jae 0x413ed1
xor eax, eax
jmp 0x4140c1
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x413ee2
xor eax, eax
inc eax
jmp 0x4140c0
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x413ef8
cmp ecx, edx
jae 0x41403d
cmp dword [eax + 4], 0
je 0x413f01
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x413ee9
cmp dword [ebp + 8], 0
je 0x413f23
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x41403d
cmp eax, esi
jae 0x41403d
mov eax, dword [0x421450]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x413f48
cmp dword [esi*4 + 0x421458], edi
je 0x414041
inc esi
cmp esi, eax
jl 0x413f36
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x41c1f8]
test eax, eax
je 0x4140bd
cmp dword [ebp - 8], 0x1000000
jne 0x4140bd
test byte [ebp - 0xc], 0xcc
je 0x413fc6
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4140bd
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4140bd
cmp word [eax + 0x18], 0x10b
jne 0x4140bd
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4140bd
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x413fc6
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x413fc6
test byte [ecx + 0x27], 0x80
jne 0x41403d
push 1
push 0x421498
call dword [0x41c0b4]
test eax, eax
jne 0x413eda
mov ecx, dword [0x421450]
test ecx, ecx
mov edx, ecx
jle 0x413ffa
lea eax, [ecx*4 + 0x421454]
cmp dword [eax], edi
je 0x413ffa
dec edx
sub eax, 4
test edx, edx
jg 0x413fee
test edx, edx
jne 0x41402b
push 0xf
pop ebx
cmp ecx, ebx
jg 0x414007
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x41401f
lea eax, [edx*4 + 0x421458]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x41400d
cmp ecx, 0x10
jge 0x41402b
inc ecx
mov dword [0x421450], ecx
push 0
push 0x421498
call dword [0x41c0b4]
jmp 0x413eda
xor eax, eax
jmp 0x4140c0
test esi, esi
jle 0x413eda
mov ebx, dword [0x41c0b4]
push 1
push 0x421498
call ebx
test eax, eax
jne 0x413eda
cmp dword [esi*4 + 0x421458], edi
je 0x414097
mov eax, dword [0x421450]
lea esi, [eax - 1]
test esi, esi
jl 0x414085
cmp dword [esi*4 + 0x421458], edi
je 0x414081
dec esi
jns 0x414075
test esi, esi
jge 0x414095
cmp eax, 0x10
jge 0x414090
inc eax
mov dword [0x421450], eax
lea esi, [eax - 1]
jmp 0x414097
je 0x4140af
xor ecx, ecx
test esi, esi
jl 0x4140af
lea eax, [ecx*4 + 0x421458]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41409d
push 0
push 0x421498
call ebx
jmp 0x413eda
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4928a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cc40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
mov eax, dword [0x48502c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [fcn.004713f0]
lea ecx, [esp + 0x14]
call 0x4f5c34
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x472ad4
push edi
mov byte [esp + 0x44], 1
call dword [fcn.00471088]
push eax
lea ecx, [esp + 0x18]
call 0x4f5c40
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [fcn.00471084]
push eax
lea ecx, [esp + 0x10]
call 0x4f5b48
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push edx
push eax
call 0x4f5cd6
push 0xf
call dword [fcn.00471348]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
push edi
lea ecx, [esp + 0x28]
call 0x4f5cdc
lea edi, [esp + 0x14]
mov ecx, ebx
call fcn.004929d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push 0
push 0
push eax
call dword [fcn.00471080]
lea ecx, [esp + 0xc]
call 0x4f5ad6
mov ecx, edi
call 0x4f5ce2
mov byte [esp + 0x40], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x472ad4
call fcn.00490af0
mov ecx, edi
mov dword [esp + 0x40], 0xffffffff
call 0x4f5c3a
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4a3cc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46cbdb
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push edi
mov eax, dword [0x48502c]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0x472324
push 0x472528
push 0x20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0x14
mov dword [esp + 0xb4], ebx
call dword [fcn.0047107c]
push eax
lea ecx, [esp + 0x14]
call 0x4f5b48
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x84]
mov ebp, dword [eax + 0x54]
push 0x30
lea ecx, [esp + 0x44]
push ebx
push ecx
mov dword [esp + 0x90], ebp
call 0x4f72a0
add esp, 0xc
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call 0x4f5b1e
push ebx
push 0x50
mov ecx, esi
call 0x4f5b24
push 0x50
push 0x50
mov ecx, esi
call 0x4f5b24
push 0x50
push ebx
mov ecx, esi
call 0x4f5b24
push ebx
push ebx
mov ecx, esi
call 0x4f5b24
push 1
mov ecx, esi
call 0x4f5b36
push 6
mov ecx, esi
call 0x4f5ce8
push 0x403ec0
push 0x404030
push 2
push 8
lea eax, [esp + 0x40]
push eax
call 0x4f69af
mov byte [esp + 0x7c], 1
mov edi, dword [0x471040]
push 0xff
call edi
push eax
lea ecx, [esp + 0x34]
call 0x4f5b48
push 0xffffff
call edi
push eax
lea ecx, [esp + 0x3c]
call 0x4f5b48
mov ecx, dword [ebp + 0x12c20]
imul ecx, ecx, 0xefc
mov eax, dword [ecx + ebp + 0x234]
add eax, 0xfffffffe
cmp eax, 4
ja 0x4a4428
jmp dword [eax*4 + 0x41787c]
push 0
mov ecx, esi
call 0x4f5b06
push 0x403ec0
push 2
push 8
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x8c], 0
call 0x4f6a72
mov dword [esp + 0x7c], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x472324
call fcn.00490af0
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x70
ret 4
Function at 0x4ad330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
imul eax, eax, 0xd8
mov edx, dword [eax + ecx]
add eax, ecx
mov dword [esi + 0xe4], edx
mov eax, dword [eax + 4]
add eax, 0xffffffce
cmp eax, 0x96
ja 0x4ad393
movzx eax, byte [eax + 0x4209b0]
jmp dword [eax*4 + 0x42099c]
call fcn.004ad680
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
imul ecx, ecx, 0xd8
lea eax, [ecx + edx]
mov ecx, dword [eax + 0x70]
sub ecx, 0
je 0x4ad4c9
sub ecx, 1
jne 0x4ad598
mov ecx, dword [eax + 0x74]
mov dword [esi + 0xec], ecx
mov edx, dword [eax + 0x78]
mov dword [esi + 0xf0], edx
mov ecx, dword [eax + 0x7c]
mov dword [esi + 0xf4], ecx
mov edx, dword [eax + 0x80]
mov dword [esi + 0xf8], edx
mov ecx, dword [eax + 0x84]
mov dword [esi + 0xfc], ecx
mov edx, dword [eax + 0x88]
mov dword [esi + 0x100], edx
mov ecx, dword [eax + 0x8c]
mov dword [esi + 0x104], ecx
mov edx, dword [eax + 0x90]
mov dword [esi + 0x108], edx
mov ecx, dword [eax + 0x94]
mov dword [esi + 0x10c], ecx
mov edx, dword [eax + 0x98]
mov dword [esi + 0x110], edx
mov ecx, dword [eax + 0x9c]
mov dword [esi + 0x114], ecx
mov edx, dword [eax + 0xa0]
mov dword [esi + 0x118], edx
mov ecx, dword [eax + 0xa4]
mov dword [esi + 0x11c], ecx
mov edx, dword [eax + 0xa8]
mov dword [esi + 0x120], edx
mov ecx, dword [eax + 0xac]
mov dword [esi + 0x124], ecx
mov edx, dword [eax + 0xb0]
mov dword [esi + 0x128], edx
mov ecx, dword [eax + 0xb4]
mov dword [esi + 0x12c], ecx
mov edx, dword [eax + 0xb8]
mov dword [esi + 0x130], edx
mov ecx, dword [eax + 0xbc]
mov dword [esi + 0x134], ecx
mov edx, dword [eax + 0xc0]
mov dword [esi + 0x138], edx
mov ecx, dword [eax + 0xc4]
mov dword [esi + 0x13c], ecx
fld qword [eax + 0xc8]
fstp qword [esi + 0x140]
fld qword [eax + 0xd0]
fstp qword [esi + 0x148]
pop esi
ret
mov edx, dword [eax + 8]
mov dword [esi + 0xec], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xf0], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0xf4], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xf8], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0xfc], edx
mov ecx, dword [eax + 0x1c]
mov dword [esi + 0x100], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x104], edx
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x108], ecx
mov edx, dword [eax + 0x28]
mov dword [esi + 0x10c], edx
mov ecx, dword [eax + 0x2c]
mov dword [esi + 0x110], ecx
mov edx, dword [eax + 0x30]
mov dword [esi + 0x114], edx
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x118], ecx
mov edx, dword [eax + 0x38]
mov dword [esi + 0x11c], edx
mov ecx, dword [eax + 0x3c]
mov dword [esi + 0x120], ecx
mov edx, dword [eax + 0x40]
mov dword [esi + 0x124], edx
mov ecx, dword [eax + 0x44]
mov dword [esi + 0x128], ecx
mov edx, dword [eax + 0x48]
mov dword [esi + 0x12c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esi + 0x130], ecx
mov edx, dword [eax + 0x50]
mov dword [esi + 0x134], edx
mov ecx, dword [eax + 0x54]
mov dword [esi + 0x138], ecx
mov edx, dword [eax + 0x58]
mov dword [esi + 0x13c], edx
fld qword [eax + 0x60]
fstp qword [esi + 0x140]
fld qword [eax + 0x68]
fstp qword [esi + 0x148]
pop esi
ret
Function at 0x4293f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x42e494]
cmp dword [eax + 0x28], 0
jne 0x429408
xor eax, eax
jmp 0x429537
mov ecx, dword [0x42e414]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x42e408], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x42e404], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x42e408]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x42e404]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x42e48c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x42d604
push 0x42d620
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x42e400], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429330
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4293c0
mov edx, dword [0x42e494]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x42e40c], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x429537
cmp dword [ebp - 0x38], 0x12
jne 0x42952b
mov dword [0x42e41c], 0
call fcn.00429540
xor eax, eax
jmp 0x429537
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4294fc
mov esp, ebp
pop ebp
ret 4

Function at 0x42a840
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42b20c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x42d118
sub eax, eax
test esi, esi
je 0x42b2e4
sub eax, 1
test ecx, ecx
je 0x42b2e2
test esi, 3
je 0x42b24a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42b22f
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x42b2c9
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42b254
mov ecx, edx
test ecx, ecx
je 0x42b2e2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42b2cf
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x42b2ec
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0042b36f
jae 0x42b2fa
xor ecx, ecx
call fcn.0042b36f
jae 0x42b329
xor eax, eax
call fcn.0042b36f
jae 0x42b339
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0042b36f
adc al, al
jae 0x42b31b
jne 0x42b365
stosb byte es:[edi], al
jmp 0x42b2fd
call fcn.0042b37b
sub ecx, ebx
jne 0x42b342
call fcn.0042b379
jmp 0x42b361
lodsb al, byte [esi]
shr eax, 1
je 0x42b38b
adc ecx, ecx
jmp 0x42b35e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0042b379
cmp eax, 0x7d00
jae 0x42b35e
cmp ah, 5
jae 0x42b35f
cmp eax, 0x7f
ja 0x42b360
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x42b2fd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x42bc7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e000]
jne 0x42bc86
repz ret
jmp fcn.0042bf2d
Function at 0x3140b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x31400ac]
push esi
push edi
test eax, eax
jne 0x3140bcd
mov esi, 0x3140284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x3140b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x3140b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x314029c
mov dword [edx], eax
jl 0x3140b6d
mov ecx, dword [0x31400ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x31402ac
push ecx
mov dword [0x31400a4], eax
call fcn.03140d80
add esp, 0xc
mov dword [0x31400a8], eax
mov dword [ebp - 4], 0
mov esi, 0x3140284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x3140c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x3140c16
cmp al, 0x5a
jg 0x3140c02
cmp al, 0x41
jl 0x3140c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x3140c08
xor al, 0x55
cmp cl, al
jne 0x3140c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x3140be1
cmp byte [edx], 0
je 0x3140c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x314029c
mov dword [ebp - 4], edx
jl 0x3140bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x3140280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x41ac90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a0fb
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.0046eae2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41ad12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c9cd
mov eax, dword [eax]
push 0x49b1c0
push eax
call fcn.0045f834
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ed6d
test bl, bl
je 0x41ad12
push 0x49b1c0
lea ecx, [esp + 0xc]
call fcn.0046f0fd
push 0x49ed64
lea ecx, [esp + 0xc]
call fcn.0046f0fd
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 0x41ad4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ed6d
jmp 0x41ae19
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 0x41add2
lea edx, [esp + 0x7c]
push 0x49ed60
push edx
call fcn.0045f834
add esp, 8
test eax, eax
je 0x41add2
lea eax, [esp + 0x7c]
push 0x49ed5c
push eax
call fcn.0045f834
add esp, 8
test eax, eax
je 0x41add2
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 0x41ad62
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.0046ed6d
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 0x41b610
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 0x41b672
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