joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000af00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001dc85
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x1002afc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x1002adb0]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x10
push 0x10037fc8
push 0x1001f7d0
push dword [0x1002ae20]
push dword [0x1002adb4]
call esi
push 0x10037fc8
lea ecx, [ebp - 0x24]
call fcn.10004b30
push 0xa
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1000b0f0
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov dword [0x10038134], eax
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1000afb0
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000afa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b059
push ecx
push edx
call fcn.1000bd84
add esp, 8
push dword [0x1002adb0]
push 0x10
push 0x10037fc8
push 0x1001f7d0
push dword [0x1002ae24]
push dword [0x1002adb4]
call esi
push 0x10037fc8
lea ecx, [ebp - 0x3c]
call fcn.10004b30
push 0xa
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.1000b0f0
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov dword [0x10038138], eax
cmp ecx, 0xf
jbe 0x1000b029
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000b01f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b05e
push ecx
push edx
call fcn.1000bd84
add esp, 8
push dword [0x1002adb0]
push 0x10
push 0x10037fc8
push 0x1001f7d0
push dword [0x1002ae1c]
push dword [0x1002adb4]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000f51f
call fcn.1000f51f
int3

Function at 0x1000f788
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000f7c7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f7c7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f7c7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000f7c7
cmp dword [ecx + 0x74], 0xe
jbe 0x1000f7c7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10015af6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10015b93
push ebx
push esi
call fcn.10015abf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10015a53
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015b40
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015b92
push edi
push eax
call fcn.10012f4d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10015b60
call fcn.10012f13
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015b91
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10015a53
add esp, 0x20
test eax, eax
jne 0x10015b7f
push edi
call fcn.10012f13
jmp 0x10015b87
push ebx
call fcn.10012f13
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10015e00
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021fe0
push 0x10021fd8
push str.FlsAlloc
push 0x1f
call fcn.10015d1c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015e34
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001f158]
call esi
jmp 0x10015e3a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10015e7e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021ff0
push 0x10021fe8
push str.FlsGetValue
push 0x21
call fcn.10015d1c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015eb5
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001f158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10015ebd
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021ff8
push 0x10021ff0
push str.FlsSetValue
push 0x22
call fcn.10015d1c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10015ef7
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001f158]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001d600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001d62d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001d62d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1005f80c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a4dc0]
jne 0x1005f816
repz ret
jmp fcn.1005fabd

Function at 0x10060080
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100a4da8], 0
mov byte [0x100a4dac], 0
mov esi, dword [0x100a4da0]
add esi, 0x1248
mov dword [0x100a4d9c], esi
mov dword [0x100a4da4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x100601c6
mov dword [0x100a4db0], 0
mov dword [0x100a4d9c], 0x1dfc
mov eax, dword [0x100a4da8]
mov ecx, dword [0x100a4da4]
mov edx, dword [ebp - 0x18]
movzx esi, byte [edx + ecx]
add esi, eax
mov eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
mov eax, 0x100
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
movzx esi, byte [ecx + edx]
mov edi, dword [ebp - 0x1c]
add edi, esi
mov dword [0x100a4db0], edi
mov esi, dword [0x100a4d9c]
mov dword [ebp - 0x24], eax
mov eax, edi
cdq
mov edi, dword [ebp - 0x24]
idiv edi
mov dword [0x100a4da8], edx
add esi, 0x152a
mov dword [0x100a4d9c], esi
mov edx, dword [0x100a4da4]
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [0x100a4dac], bl
mov dword [0x100a4d9c], 0x118d
mov edx, dword [0x100a4da8]
mov bl, byte [esi + edx]
mov edx, dword [0x100a4da4]
mov byte [esi + edx], bl
mov bl, byte [0x100a4dac]
mov edx, dword [0x100a4da8]
mov byte [esi + edx], bl
mov dword [0x100a4d9c], 0x24c0
mov edx, dword [0x100a4da4]
add edx, 1
mov dword [0x100a4da4], edx
cmp edx, 0x100
jl 0x100600cd
jmp 0x100601f7
mov eax, dword [0x100a4da0]
add eax, 0x101c
mov dword [0x100a4d9c], eax
mov dword [0x100a4da4], 0
jmp 0x100600cd
mov eax, dword [0x100a4da4]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100a4d9c], 0xa1e
mov eax, dword [0x100a4da4]
add eax, 1
mov dword [0x100a4da4], eax
cmp eax, 0x100
jl 0x100601c6
jmp 0x100601a8
mov dword [0x100a4d9c], 0x23eb
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10060210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [0x100a4da0], 0x1410
mov dword [ebp - 0x30], eax
call fcn.100604c0
xor ecx, ecx
mov dword [0x100a4d9c], 0x163b
mov edx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
jmp 0x100602a3
mov dword [0x100a4da0], 0x22ea
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x44]
mov dword [esp + 8], ecx
call fcn.10060890
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x294b6
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x14b800
mov ecx, dword [ebp - 0x40]
add ecx, 0x1db8d
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2020
mov dword [0x100a4d9c], 0x1434
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
imul esi, eax, 0xfc
mov edi, edx
add edi, esi
add edi, 0x9c
mov esi, dword [edi]
imul edi, eax, 0xfc
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x41e
mov ecx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x100602a3
lea eax, [0x1006283f]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x100a4d9c], 0x3bc
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
call fcn.10061250
mov dword [0x100a4da0], 0x17c9
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.1005fdf0
mov ecx, eax
mov dword [0x100a4db8], eax
mov eax, esp
mov edx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x100a4da0], 0x1739
mov edx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0xfc
mov edi, edx
add edi, esi
add edi, 0x9c
mov esi, dword [edi]
imul edi, eax, 0xfc
mov ebx, edx
add ebx, edi
add ebx, 0x4c
mov edi, dword [ebx]
imul ebx, eax, 0xfc
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x40]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.10061140
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x41e
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
je 0x10060247
jmp 0x10060373
Function at 0x10060400
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [fcn.10060400]
mov dword [0x100a4d9c], 0x2ba
mov dword [0x100a4da0], 0xffffe8fe
mov dword [ebp - 4], eax
jmp 0x1006042d
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x10060449
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10060425
mov dword [0x100a4d9c], 0xfffff2fa
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x1006042d

Function at 0x10060940
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x100a4d9c]
mov dword [0x100a4da4], 0
mov dword [0x100a4da8], 0
mov dword [0x100a4db4], 0
add edi, 0xffffe517
mov dword [0x100a4da0], edi
mov edi, dword [0x100a4d9c]
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
je 0x10060af7
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff5ed
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x100
mov dword [0x100a4da0], ecx
mov dword [0x100a4d9c], 0x14b6
mov ecx, dword [0x100a4da4]
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
mov ecx, dword [ebp - 0x34]
idiv ecx
mov dword [0x100a4da4], edx
mov esi, dword [0x100a4da8]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x100a4da8], edx
mov dword [0x100a4d9c], 0x44
mov edx, dword [0x100a4da4]
mov bl, byte [edi + edx]
mov byte [0x100a4dac], bl
mov dword [0x100a4d9c], 0xe50
mov edx, dword [0x100a4da8]
mov bl, byte [edi + edx]
mov edx, dword [0x100a4da4]
mov byte [edi + edx], bl
mov bl, byte [0x100a4dac]
mov edx, dword [0x100a4da8]
mov byte [edi + edx], bl
mov edx, dword [0x100a4d9c]
add edx, 0xb7f
mov dword [0x100a4da0], edx
mov edx, dword [0x100a4da4]
movzx edx, byte [edi + edx]
mov esi, dword [0x100a4da8]
movzx esi, byte [edi + esi]
add esi, edx
mov dword [0x100a4da0], 0x10dd
and esi, 0xff
mov dword [0x100a4db4], esi
mov edx, dword [0x100a4d9c]
add edx, 0xffffe052
mov dword [0x100a4d9c], edx
mov bl, byte [edi + esi]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
movzx ecx, byte [edx + esi]
mov dword [esp], ecx
movzx ecx, bl
mov dword [esp + 4], ecx
call fcn.10001000
mov ecx, 0xc10
mov edx, 0x1fd
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov byte [esi + edi], al
mov dword [0x100a4d9c], 0xc10
add edi, 1
mov eax, dword [ebp - 0x10]
cmp edi, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], ecx
jne 0x100609bb
mov eax, dword [ebp - 0x24]
add eax, 0xffffdbf0
mov dword [0x100a4da0], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10060f70
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [0x100a4d9c], 0x9d2
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100a4d9c], 0x2420
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10061004
mov eax, dword [ebp - 0x14]
mov dword [0x100a4d9c], 0x568
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10061040
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10061092
jmp 0x10061040
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x64
je 0x100610bb
jmp 0x10061040
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], edx
je 0x10060fb0
jmp 0x10061068
mov eax, dword [0x100a4da0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, 0x1815
mov dword [0x100a4da0], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x10061054
mov dword [0x100a4da0], 0x18b8
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x100610e6
mov eax, 1
mov dword [0x100a4d9c], 0x263b
mov dword [ebp - 0x28], eax
jmp 0x100610e6
mov dword [0x100a4da0], 0xffffe35a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10061004
jmp 0x10060fb0
mov dword [0x100a4d9c], 0x23ba
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff5
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x61
je 0x10060fe1
jmp 0x10061040
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10061040
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1006101c
jmp 0x10061040
mov eax, dword [ebp - 0x28]
add esp, 0x2c
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428004]
jne 0x40100a
repz ret
jmp fcn.00401647

Function at 0x4071e9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404019
and dword [ebp - 0x14], 0
cmp dword [0x42ad84], 0
mov dword [ebp - 0x18], eax
jne 0x40729c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407344
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407344
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ad84], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ad88], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ad8c], eax
call edi
push eax
call esi
mov dword [0x42ad94], eax
test eax, eax
je 0x40729c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ad90], eax
mov eax, dword [0x42ad90]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4072f5
cmp dword [0x42ad94], ecx
je 0x4072f5
push eax
call esi
push dword [0x42ad94]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4072f5
test ebx, ebx
je 0x4072f5
call edi
test eax, eax
je 0x4072ec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4072ec
test byte [ebp - 8], 1
jne 0x4072f5
or dword [ebp + 0x10], 0x200000
jmp 0x407328
mov eax, dword [0x42ad88]
cmp eax, dword [ebp - 0x18]
je 0x407328
push eax
call esi
test eax, eax
je 0x407328
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407328
mov eax, dword [0x42ad8c]
cmp eax, dword [ebp - 0x18]
je 0x407328
push eax
call esi
test eax, eax
je 0x407328
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ad84]
call esi
test eax, eax
je 0x407344
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407346
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x422ff0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x804], eax
cmp dword [0x22cde8c], 0xfc7
jne 0x42301f
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x42b2a4]
imul eax, eax, 0x343fd
cmp dword [0x22cde8c], 0x139e
mov dword [0x42b2a4], eax
jne 0x42304e
mov ecx, dword [esp]
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x42b2a4]
add eax, 0x269ec3
push esi
mov dword [0x42b2a4], eax
movzx esi, word [0x42b2a6]
and esi, 0x7fff
cmp dword [0x22cde8c], 0x8e7
jne 0x423083
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x423150
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4291f0]
push ebx
mov ebx, dword [0x22cd830]
push edi
mov edi, dword [0x22cde8c]
call fcn.004230a0
cmp dword [0x22cde8c], 0x2f
jne 0x4231b5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004230d0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x423480
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409170
mov eax, dword [0x428004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4234a9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x42354f
cmp dword [0x22cde8c], 0xa5f
jne 0x4234f3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileType]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push 0x426c7c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x423518
mov eax, dword [0x42a010]
mov dword [0x22cde8c], eax
mov ecx, dword [0x22cde8c]
add ecx, 0xa231
mov dword [0x22cde8c], ecx
cmp dword [0x22cde8c], 0x141
jne 0x42354a
push str.durudaxo_payuyafelamelokeyir_tacadasevow_kipazoci_kanorowawacasolicalotija
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42b2a8], 0xec58acac
mov dword [0x42b2ac], 0xffffffff
jmp 0x4234a0
call fcn.004231d0
jmp dword [0x22cd830]
Function at 0x402760
Capabilities:
Set console window title

Disassembly:
sub esp, 0x404
mov eax, dword [0x5b339c]
xor eax, esp
mov dword [esp + 0x400], eax
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push pe_nt_image_headers32
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
mov ecx, 0xfe
sub ecx, eax
push ecx
push edi
lea ecx, [esp + 0x20c]
push pe_nt_image_headers32
push ecx
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov edi, dword [sym.imp.MSVCR90.dll_wcscat_s]
push 0x57eed0
lea edx, [esp + 0x18]
push pe_nt_image_headers32
push edx
call edi
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x24]
push pe_nt_image_headers32
push ecx
call edi
add esp, 0x28
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, dword [esi + 8]
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x404]
pop edi
xor ecx, esp
call fcn.0051973e
add esp, 0x404
ret

Function at 0x402c50
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov eax, edi
mov byte [esi + 0x68], dl
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, dl
jne 0x402c84
sub eax, ebx
push edi
mov ecx, esi
call fcn.00402a70
call fcn.00402b50
pop edi
mov eax, esi
pop esi
pop ebx
ret 4