joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401064
Capabilities:
Get disk information

Disassembly:
xor eax, eax
mov ecx, sym.imp.KERNEL32.dll_GlobalUnlock
sub esp, 0x7c
push eax
add eax, dword [ecx]
push esp
push eax
call sub.USER32.dll_CharToOemA
pop eax
add esp, 0x7c
sub al, 0x6a
je 0x401085
jmp 0x401590
and al, al
je 0x40108a
ret
pushal
call fcn.00401564
adc byte [eax], al
add byte [eax], al
ret

Function at 0x4012fc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov edi, 0x403198
push esp
mov eax, esp
push eax
push 0x75
sub dword [esp], 0x35
push 0xc9f
sub dword [esp], 0x333
mov edx, section..data
push edx
call sub.KERNEL32.dll_VirtualProtect
pop esi
mov edx, 0x403400
mov dword [edi + 0x3c], edx
lea edx, [edx - 0xbf]
mov ebx, 0x402021
xor eax, eax
add ebx, 4
mov esi, dword [ebx - 4]
mov dword [edx + 0xbf], esi
add edx, 4
sub dword [edx + 0xbb], 0x78973532
xor dword [edx + 0xbb], 0xec41e321
add eax, 4
cmp eax, 0x56c
jne 0x40133b
push 0
call sub.KERNEL32.dll_GlobalDeleteAtom
pop ebp
ret 0x10
Function at 0x4012a0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40af28
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x40f07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x88], eax
test ebx, ebx
je 0x40149a
test edi, edi
je 0x40149a
test esi, esi
je 0x40149a
test eax, eax
je 0x40149a
cmp dword [ebp + 0xc], 0
je 0x40149a
mov eax, 0x40d1e8
lea ecx, [ebp - 0x48]
call fcn.00401b90
push eax
mov eax, edi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
call fcn.00402520
push eax
mov eax, 0x40d1e0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00402520
push eax
mov eax, esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402520
add esp, 0xc
lea esi, [ebp - 0x64]
call fcn.00401bd0
lea esi, [ebp - 0x80]
call fcn.00401bd0
lea esi, [ebp - 0x48]
call fcn.00401bd0
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x401487
cmp eax, 0xffffffff
je 0x401487
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x88]
push 0
lea ecx, [ebp - 0x8c]
push ecx
push esi
push edx
push eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401487
cmp dword [ebp - 0x8c], esi
jne 0x401487
lea ecx, [ebp - 0x84]
call fcn.00401060
push 0x40
lea eax, [ebp - 0xe4]
push 0
push eax
mov dword [ebp - 0xe8], 0x44
call fcn.004069f0
xor eax, eax
add esp, 0xc
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], 0
jae 0x401414
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0xe8]
push edx
push ebx
push 0
push 0
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401487
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x9c]
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x88]
call fcn.00401040
lea ecx, [ebp - 0x90]
call fcn.00401040
lea ecx, [ebp - 0x84]
call fcn.00401040
lea esi, [ebp - 0x2c]
call fcn.00401bd0
mov al, 1
jmp 0x40149c
lea ecx, [ebp - 0x84]
call fcn.00401040
lea esi, [ebp - 0x2c]
call fcn.00401bd0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402819
mov esp, ebp
pop ebp
ret
Function at 0x403e72
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6

Function at 0x403ea6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00403b08
mov eax, dword [0x889b0e0f]
popfd
jl 0x403f8d
invalid
invalid
Function at 0x403eea
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00403b18
push eax
push esi
push dword [ebp + 8]
call fcn.00403acd
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00403b08
mov eax, dword [0x889b0e0f]
popfd
jl 0x403f8d
invalid
invalid

Function at 0x404962
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jae 0x4049a6
push dword [ebp - 0x698]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
mov eax, dword [ebp - 0x33c]
mov esp, dword [ebp + 0x1c]
mov dword [esp - 4], eax
popal
add esp, 0x14
jmp dword [esp - 0x38]
invalid
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.00403b08
loope 0x4049a4
inc edi
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
invalid
Function at 0x1007b430
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x28]
mov esi, dword [0x1008a250]
mov edi, esi
add edi, 0xffffe857
mov dword [0x1008a250], edi
mov byte [ebp - 0x28], 0x56
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x41
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x1d], 0x63
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0xde
add esi, 0xffffe664
mov dword [0x1008a254], esi
mov dword [esp], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
call fcn.1007bcc0
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x1007b4ba
xor eax, eax
add esp, 0x48
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1007a680
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x54], ecx
mov dword [0x1008a250], 0x1533
mov ecx, dword [ebp - 0x38]
mov dword [edx + 8], ecx
add ecx, 0x10a5
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x1007b545
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x48
pop esi
pop edi
pop ebp
ret
Function at 0x1007b910
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [0x1008a250], 0xe55
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x1008a254], 0xc8a
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1007b9c5
xor eax, eax
mov ecx, dword [0x1008a250]
add ecx, 0xffffe352
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [0x1008a250], ecx
add esp, 0x24
pop esi
pop ebp
ret
mov dword [0x1008a254], 0xada
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1007ba46
jmp 0x1007b951
mov eax, dword [ebp - 0x24]
mov dword [0x1008a254], 0x1363
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x1007b9fe
jmp 0x1007b951
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1007b977
jmp 0x1007b951
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
je 0x1007b996
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [0x1008a250], 0xece
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
jl 0x1007b9c5
jmp 0x1007b996
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1007b951
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1007b951
mov dword [0x1008a250], 0x1201
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1007b9b4
jmp 0x1007b951
mov eax, 0x936
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1007b965
jmp 0x1007b951
Function at 0x1007bcc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov eax, dword [ebp + 8]
mov cl, 0x6b
xor edx, edx
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0x2c]
mov ebx, dword [0x1008a250]
add ebx, 0xffffeb62
mov dword [0x1008a254], ebx
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xde
mov dword [0x1008a250], 0x14ad
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x75], cl
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov cl, byte [ebp - 0x75]
mov edx, eax
inc edx
movsx esi, cl
mov di, si
mov word [ebp + eax*2 - 0x6c], di
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x75], cl
mov dword [ebp - 0x80], edx
jne 0x1007bd3c
xor eax, eax
lea ecx, [ebp - 0x6c]
mov dword [0x1008a250], 0xf65
mov dword [0x1008a254], 0x1523
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0x84], eax
call fcn.1007a420
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
call fcn.10079a00
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1007bdb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1008a258], 0
mov dword [0x1008a25c], 0
mov dword [0x1008a268], 0
mov dword [0x1008a254], 0x1d61
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1007bf26
jmp 0x1007bf12
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov edi, ecx
add edi, 1
add eax, 1
mov dword [0x1008a250], 0x1ef4
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1008a258], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1008a25c], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1008a260], cl
mov dword [0x1008a250], 0x2041
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1008a260]
mov edx, dword [0x1008a25c]
mov byte [ebx + edx], cl
mov dword [0x1008a250], 0x2000
mov edx, dword [0x1008a258]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1008a25c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x1008a254], 0x1e75
and ecx, 0xff
mov dword [0x1008a268], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x1008a254], 0x16e4
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [0x1008a254]
add edx, 0xffffef35
mov dword [0x1008a250], edx
mov esi, dword [ebp - 0x10]
cmp edi, esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
je 0x1007bf4c
jmp 0x1007bf30
mov eax, dword [ebp - 0x40]
add eax, 0xe7b
mov dword [0x1008a250], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x1007be09
mov eax, dword [0x1008a250]
mov dword [ebp - 0x40], eax
jmp 0x1007befd
mov eax, dword [0x1008a258]
mov ecx, dword [0x1008a25c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jmp 0x1007be09
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
jmp 0x1007befd
Function at 0x1007bf60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [0x1008a250], 0x270b
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1007a9c0
lea ecx, [0x1007a290]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x3c], edx
mov dword [0x1008a254], 0x103
mov dword [esp + 0x58], 0x152800
mov edx, dword [0x1008a23c]
mov dword [esp + 0x84], edx
mov edx, dword [0x1008a240]
mov dword [esp + 0x80], edx
mov edx, dword [0x1008a244]
mov dword [esp + 0x34], edx
mov edx, dword [0x1008a248]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1008a24c]
mov dword [esp + 0x6c], edx
mov dword [0x1008a250], 0x110e
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1007c00e
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1007bffc
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x1007bffc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [0x1008a250], 0x17f2
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], eax
mov dword [0x1008a254], 0xffffe4be
call fcn.1007b910
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1007c0c0
lea eax, [esp + 0x28]
mov ecx, dword [0x1008a250]
add ecx, 0xffffe147
mov dword [0x1008a250], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1007b430
mov ecx, dword [0x1008a250]
add ecx, 0xfffff2ba
mov dword [0x1008a250], ecx
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x402d10
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004042cc
test esi, esi
jne 0x402d47
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004043bc
jmp 0x402d68
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402bac
mov dword [esp], eax
test esi, esi
je 0x402d68
cmp dword [ebx], 0
je 0x402d68
dec esi
jmp 0x402d4f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x414020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403718
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4036f8
xor eax, eax
push ebp
push 0x4036f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403734
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4036f8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x414020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x414020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404148
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x415044], 0
je 0x4041a9
cmp word [0x415218], 0xd7b2
jne 0x404171
cmp dword [0x415220], 0
jbe 0x404171
mov eax, 0x415214
call dword [0x415230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41406c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41402c], 0
jne 0x4041c5
push 0
push 0x414064
push 0x41406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405d54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405dba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040453c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403124
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405da4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405dc1
lea eax, [ebp - 0x10]
call fcn.004042cc
ret

Function at 0x409fac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409fe5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043bc
jmp 0x409fee
mov eax, ebx
mov edx, esi
call fcn.00404320
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409ff8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a019
mov al, byte [esp]
jmp 0x40a01b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a6b0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a518
mov eax, dword [0x414500]
cmp byte [eax], 0
je 0x40a72c
mov eax, dword [0x414420]
call fcn.00403094
call fcn.00402ad8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407900
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a774
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a762
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4143fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415660]
call fcn.004051fc
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret