joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
movzx eax, cl
mov edx, dword [ebp - 4]
cmp word [edx + eax*2], 0xffff
jne 0x414aea
mov dword [ebp - 0xc], 0x7fffffff
xor esi, esi
mov ebx, dword [ebp - 8]
movzx eax, cl
movzx edx, byte [ebx]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0xc]
jge 0x414ae1
movzx edx, cl
mov edi, dword [ebp - 4]
lea edi, [edi + edx*2]
mov word [edi], si
mov dword [ebp - 0xc], eax
inc esi
add ebx, 3
cmp esi, 0x10
jne 0x414ac0
movzx eax, cl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax*2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415764
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x14]
mov edx, 0x14
call fcn.0040a350
mov dword [ebp - 0x14], 0x14
push 0x41586c
push 0x415888
call fcn.0040966c
push eax
call fcn.00409694
mov ebx, eax
test ebx, ebx
je 0x4157a7
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4157fd
lea eax, [ebp - 8]
push eax
call fcn.00409ee8
test eax, eax
je 0x4157fd
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040a348
test eax, eax
je 0x4157cf
push 0
push eax
call fcn.0040a058
mov ebx, eax
jmp 0x4157d1
xor ebx, ebx
test ebx, ebx
je 0x4157e3
push 0xffffffffffffffff
push ebx
call fcn.004095cc
push eax
call fcn.00409d10
call fcn.00409ee0
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4157fd
push 0
push ebx
call fcn.004095cc
push eax
call fcn.00409d10
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x415866
test byte [ebp - 0x10], 1
je 0x415866
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00409f18
test eax, eax
je 0x41583e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x415825
push eax
call fcn.00409ae8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x415832
push eax
call fcn.00409ae8
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
push 3
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [eax - 8]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
sub edx, dword [eax - 4]
push edx
push esi
call fcn.00409e18
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4164d4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x416598
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00405ee4
push eax
call fcn.00409a00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x416582
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.004061c8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00405ee4
push eax
call fcn.004099e8
test eax, eax
je 0x416582
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4165ac
mov eax, dword [ebp - 4]
push eax
call fcn.00409a18
test eax, eax
je 0x416582
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41659f
lea eax, [ebp - 4]
call fcn.00405828
ret

Function at 0x4165b0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4166ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.00409770
test eax, 0x80000000
je 0x41660b
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.004068d4
mov eax, dword [ebp - 0x20]
call fcn.004164d4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x41668f
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.0040671c
push eax
call fcn.00409a08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41668f
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.004061c8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.0040671c
push eax
call fcn.004099f0
test eax, eax
je 0x41668f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4166c0
mov eax, dword [ebp - 4]
push eax
call fcn.00409a18
test eax, eax
je 0x41668f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4166b4
lea eax, [ebp - 0x20]
call fcn.00405828
lea eax, [ebp - 4]
call fcn.00405828
ret
Function at 0x4167bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0x40
push 0x1000
push 0x11
push 0
call fcn.00409980
mov ebx, eax
mov dword [ebp - 4], ebx
mov eax, ebx
mov byte [eax], 0x58
mov byte [eax + 1], 0x68
mov dword [eax + 2], esi
mov byte [eax + 6], 0x50
mov byte [eax + 7], 0xff
mov byte [eax + 8], 0x25
lea edx, [eax + 0xd]
mov dword [eax + 9], edx
mov dword [eax + 0xd], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4171bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x417204
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call fcn.00409820
test eax, eax
jne 0x4171fa
cmp word [edi], 0x5a4d
jne 0x4171fa
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x4171fa
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x417210
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4173a8
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
call fcn.00409770
test eax, 0x80000000
jne 0x4173ee
push 0x10000
push 0x40
call fcn.00409848
mov ebx, eax
push 0x8000
push ebx
push esi
call fcn.00409664
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call fcn.004093ec
mov esi, eax
jmp 0x41741f
push 0x105
push 0x40
call fcn.00409848
mov ebx, eax
push 0x104
push ebx
push esi
call fcn.0040965c
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call fcn.004093e4
mov esi, eax
push ebx
call fcn.00409850
cmp esi, 0xffffffff
je 0x41747c
call fcn.00409770
test eax, 0x80000000
jne 0x41744a
push 0
push 0
push 0
push 2
push 0
push esi
call fcn.00409404
mov ebx, eax
jmp 0x41745c
push 0
push 0
push 0
push 2
push 0
push esi
call fcn.004093fc
mov ebx, eax
test ebx, ebx
je 0x417476
push 0
push 0
push 0
push 4
push ebx
call fcn.00409868
mov edi, eax
push ebx
call fcn.004093a4
push esi
call fcn.004093a4
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x418278
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x418294
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00417eb8
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x48], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x44], ecx
inc edi
cmp edi, 9
jne 0x4182f5
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1048]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00417eb8
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x41833b
add ebx, 0x400
dec edi
jne 0x418339
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418380
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa0
push ebx
push esi
push edi
mov byte [ebp - 0x1049], cl
mov edi, edx
mov ebx, eax
mov eax, dword [ebp + 0x14]
call fcn.00405ed4
lea esi, [ebp - 0x1058]
xor eax, eax
push ebp
push 0x418560
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov esi, 0x546b3c
lea edi, [ebp - 0x48]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x546b84
lea edi, [ebp - 0x1048]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
lea eax, [ebp + 0x14]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
push eax
mov eax, dword [ebp + 0x14]
call fcn.00405ee4
pop edx
call fcn.00418278
pop ecx
cmp byte [ebp - 0x1049], 0
je 0x41841d
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1054], 1
jmp 0x418430
lea eax, [ebp - 4]
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1054], 0xffffffff
shr edi, 3
dec edi
test edi, edi
jl 0x41854a
inc edi
mov dword [ebp - 0x1060], edi
cmp dword [ebp + 0x10], 0
jne 0x41844d
cmp dword [ebp + 0xc], 0
je 0x4184ca
mov dword [esi], 7
lea eax, [ebp + 0xc]
add eax, dword [esi]
movzx edx, byte [eax]
inc edx
and dl, 0xff
mov byte [eax], dl
lea eax, [ebp + 0xc]
add eax, dword [esi]
cmp byte [eax], 0
jne 0x418474
dec dword [esi]
cmp dword [esi], 0xffffffff
jne 0x418455
lea eax, [ebp + 0xc]
mov eax, dword [eax]
call fcn.00417e8c
mov dword [esi], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.00417e8c
mov dword [ebp - 0x105c], eax
push ebp
mov eax, dword [ebp - 0x1054]
push eax
lea edx, [ebp - 0x105c]
mov eax, esi
mov ecx, dword [ebp - 0x1050]
call fcn.00417eb8
pop ecx
mov eax, dword [esi]
call fcn.00417e8c
xor dword [ebx], eax
mov eax, dword [ebp - 0x105c]
call fcn.00417e8c
lea edx, [ebx + 4]
xor dword [edx], eax
jmp 0x41853b
cmp byte [ebp + 8], 0
jne 0x418522
mov edi, ebx
mov eax, dword [edi]
call fcn.00417e8c
mov dword [esi], eax
lea eax, [ebx + 4]
mov eax, dword [eax]
call fcn.00417e8c
mov dword [ebp - 0x105c], eax
push ebp
mov eax, dword [ebp - 0x1054]
push eax
lea edx, [ebp - 0x105c]
mov eax, esi
mov ecx, dword [ebp - 0x1050]
call fcn.00417eb8
pop ecx
mov eax, dword [esi]
call fcn.00417e8c
mov dword [edi], eax
mov eax, dword [ebp - 0x105c]
call fcn.00417e8c
lea edx, [ebx + 4]
mov dword [edx], eax
jmp 0x41853b
push ebp
mov eax, dword [ebp - 0x1054]
push eax
mov edx, ebx
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x1050]
call fcn.00417eb8
pop ecx
add ebx, 8
dec dword [ebp - 0x1060]
jne 0x418443
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418567
lea eax, [ebp + 0x14]
call fcn.00405828
ret
Function at 0x418704
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jle 0x41882f
lea eax, [esi + 2]
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, edx
add edx, edx
mov eax, edi
xor ecx, ecx
call fcn.004061c8
mov ecx, dword [edi]
mov eax, esi
mov edi, 3
cdq
idiv edi
mov edi, eax
test edi, edi
jle 0x4187a1
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
movzx edx, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx + 2], dl
and eax, 0x3f
movzx eax, byte [eax + 0x547b84]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec edi
jne 0x418741
mov eax, esi
mov esi, 3
cdq
idiv esi
dec edx
je 0x4187b6
dec edx
je 0x4187e7
jmp 0x418836
movzx eax, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x547b84]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x418836
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x547b84]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x547b84]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x418836
mov eax, edi
call fcn.00405828
pop edi
pop esi
pop ebx
ret
Function at 0x41fa7c
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x41fb7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
mov esi, eax
push esi
call fcn.00409604
cmp eax, 0xffffffff
je 0x41fb69
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push esi
call fcn.004093e4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x41fb69
xor eax, eax
push ebp
push 0x41fb62
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409614
mov edx, eax
mov eax, ebx
xor ecx, ecx
call fcn.004061c8
cmp dword [ebx], 0
je 0x41fb42
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.004098c0
test eax, eax
je 0x41fb42
mov eax, ebx
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
cmp eax, dword [ebp - 0x10]
je 0x41fb46
xor eax, eax
jmp 0x41fb48
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fb69
mov eax, dword [ebp - 0xc]
push eax
call fcn.004093a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fb86
lea eax, [ebp - 4]
call fcn.00405828
ret
Function at 0x424dec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov byte [esp + 4], cl
mov dword [esp], edx
mov edi, eax
mov ecx, edi
movzx eax, byte [esp]
mov byte [esp + 5], al
mov edx, edi
shr edx, 8
mov eax, dword [esp]
shr eax, 8
mov byte [esp + 6], al
mov eax, edi
shr eax, 0x10
mov ebx, dword [esp]
shr ebx, 0x10
mov byte [esp + 7], bl
xor esi, esi
cmp byte [esp + 4], 0
je 0x424e80
movzx ebx, cl
movzx ebp, byte [esp + 5]
add ebx, ebp
cmp ebx, 0xff
jbe 0x424e44
inc esi
mov cl, 0xff
jmp 0x424e48
add cl, byte [esp + 5]
movzx ebx, dl
movzx ebp, byte [esp + 6]
add ebx, ebp
cmp ebx, 0xff
jbe 0x424e5f
inc esi
mov dl, 0xff
jmp 0x424e63
add dl, byte [esp + 6]
movzx ebx, al
movzx ebp, byte [esp + 7]
add ebx, ebp
cmp ebx, 0xff
jbe 0x424e7a
inc esi
mov al, 0xff
jmp 0x424ead
add al, byte [esp + 7]
jmp 0x424ead
cmp cl, byte [esp + 5]
jae 0x424e8b
inc esi
xor ecx, ecx
jmp 0x424e8f
sub cl, byte [esp + 5]
cmp dl, byte [esp + 6]
jae 0x424e9a
inc esi
xor edx, edx
jmp 0x424e9e
sub dl, byte [esp + 6]
cmp al, byte [esp + 7]
jae 0x424ea9
inc esi
xor eax, eax
jmp 0x424ead
sub al, byte [esp + 7]
dec esi
jle 0x424ec4
movzx ecx, byte [esp + 4]
xor cl, 1
mov edx, dword [esp]
mov eax, edi
call fcn.00424dec
jmp 0x424ed7
movzx eax, al
shl eax, 0x10
movzx edx, dl
shl edx, 8
add eax, edx
movzx edx, cl
add eax, edx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x426140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4261c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x10
call fcn.0040a350
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
sub eax, 0x2e
mov dword [esi + 8], eax
push 0x410
push esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004262e0
mov eax, dword [ebp - 4]
call fcn.00405bbc
push eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004262e0
mov eax, dword [ebp - 8]
call fcn.00405ee4
push eax
push edi
call fcn.00409e30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4261ca
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret

Function at 0x4266e4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x42672f
push 0
push 0
push 0xe
push esi
call fcn.0040a208
mov edx, eax
inc edx
lea eax, [ebx + 0x50]
xor ecx, ecx
call fcn.004061c8
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x50]
call fcn.00405bbc
push eax
push 0xd
mov eax, dword [ebx + 0x14]
push eax
call fcn.0040a208
mov edx, eax
lea eax, [ebx + 0x50]
xor ecx, ecx
call fcn.004061c8
mov eax, edi
mov edx, dword [ebx + 0x50]
call fcn.0040587c
pop edi
pop esi
pop ebx
ret

Function at 0x4306d8
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4307f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call fcn.00409730
test eax, eax
jbe 0x4307cc
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
push 0
call fcn.00405b60
cmp dword [ebx], 0
je 0x4307d3
push 0
mov eax, dword [ebx]
call fcn.00405ee4
push eax
call fcn.004093cc
mov eax, dword [ebx]
call fcn.00405bbc
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x430767
mov eax, ebx
mov edx, 0x43080c
call fcn.00405bf0
push dword [ebx]
lea edx, [ebp - 0x114]
xor eax, eax
call fcn.00430264
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00430298
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00430498
push dword [ebp - 0x10c]
push 0x43081c
mov eax, ebx
mov edx, 3
call fcn.00405d38
push 0
mov eax, dword [ebx]
call fcn.00405ee4
push eax
call fcn.004093cc
mov eax, ebx
mov edx, 0x43080c
call fcn.00405bf0
jmp 0x4307d3
mov eax, ebx
call fcn.00405828
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4307f8
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.0040584c
ret
Function at 0x430828
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor eax, eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43093a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.004306d8
cmp dword [ebp - 4], 0
je 0x430914
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.00409604
cmp eax, 0xffffffff
je 0x430914
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
mov ecx, 0x430954
mov edx, dword [ebp - 4]
call fcn.00405c6c
mov eax, dword [ebp - 0x148]
call fcn.00405ee4
push eax
call fcn.004094fc
mov ebx, eax
cmp ebx, 0xffffffff
je 0x430906
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x118]
mov ecx, 0x104
push 0
call fcn.00405b60
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 4]
call fcn.00405c6c
mov eax, dword [ebp - 0x14c]
call fcn.00405ee4
push eax
call fcn.00409494
lea eax, [ebp - 0x144]
push eax
push ebx
call fcn.0040950c
test eax, eax
jne 0x4308b2
push ebx
call fcn.004094ec
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.004098d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430941
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.0040584c
lea eax, [ebp - 4]
call fcn.00405828
ret

Function at 0x430958
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call fcn.004095ac
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
push 0
call fcn.00405b60
add esp, 0x10c
pop ebx
ret
Function at 0x430990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 8]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x430a90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405828
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
push esi
call fcn.0040936c
test eax, eax
jne 0x430a75
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405ee4
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409384
cmp dword [ebp - 0x10], 0
je 0x430a6c
mov eax, dword [ebp - 0x10]
add eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call fcn.00409848
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409384
test eax, eax
jne 0x430a66
cmp dword [ebp - 0x14], 1
jne 0x430a58
mov eax, ebx
mov edx, esi
mov ecx, 0
call fcn.00405adc
jmp 0x430a66
push 0
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.00405960
push esi
call fcn.00409850
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040933c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430a97
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret

Function at 0x430aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 8]
call fcn.00405ed4
mov eax, dword [ebp + 8]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x430b62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
push ebx
call fcn.00409344
test eax, eax
jne 0x430b3d
lea eax, [ebp + 8]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
inc eax
push eax
mov eax, dword [ebp + 8]
call fcn.00405ee4
push eax
push 1
push 0
mov eax, dword [ebp - 8]
call fcn.00405ee4
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040938c
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040933c
jmp 0x430b3f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430b69
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
lea eax, [ebp + 8]
call fcn.00405828
ret