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

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x1014008c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x1014011f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x101400e9
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.10140130
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x101400be
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x10140150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x1014024d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x101401a2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x101401ce
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.10140130
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x1014020f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x10140191
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10141190
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x10348ae4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x101411a3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x101411e4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x10348b8c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10141216
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1014121a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x1014120b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10141238
mov bl, byte [esp + ecx + 0x4c]
jmp 0x1014123c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x1014122d
xor ecx, ecx
mov eax, 0x10348af4
xor ebx, ebx
mov bl, byte [ecx + 0x10348b9c]
cmp byte [esp + ebx + 0x14], 0
je 0x10141267
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x10348bb4]
cmp byte [esp + ebx + 0x14], 0
je 0x1014127e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x1014124e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x101411d7
lea edx, [esp + 0x84]
push edx
call fcn.101412c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x10142710
Capabilities:
Create process on windows

Disassembly:
push str.Microsoft_Internet_Explorer
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret 4

Function at 0x10143250
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1017e30b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x10143330
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x1034b2b4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x10143330
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.1016aa69
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x1034b2a8
mov ecx, esi
call fcn.10166c6b
push str.gt_
push 0x1034b29c
mov ecx, esi
call fcn.10166c6b
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.1016ad1d
lea ecx, [esp + 4]
call fcn.1016ade1
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.1016a40c
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.1016ab09
jmp 0x10143343
mov esi, dword [esp + 0x130]
push 0x10390de4
mov ecx, esi
call fcn.1016a40c
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret

Function at 0x1014647c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x101464ba
call fcn.101745dc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x101464ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101464d1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x101464d1
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x1016c86a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1016c8a2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1016a845
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1016a81d
jmp 0x1016c8ae
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1016e064
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1016e0a6
call fcn.101745dc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1016e0a6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1016e09d
xor eax, eax
jmp 0x1016e0ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1016e0b4
pop edi
pop esi
pop ebx
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x14882072
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x16787f47
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x10005048]
sub esp, 0x28
test eax, eax
jne 0x100010ee
mov al, 0x65
mov cl, 0x6c
mov byte [esp + 2], al
mov byte [esp + 0x11], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x23], al
mov byte [esp + 8], cl
mov byte [esp + 9], cl
mov byte [esp + 0x21], cl
lea eax, [esp + 0xc]
lea ecx, [esp]
mov dl, 0x73
push eax
push ecx
mov byte [esp + 8], 0x75
mov byte [esp + 9], dl
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], 0x33
mov byte [esp + 0xd], 0x32
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0x43
mov byte [esp + 0x15], 0x68
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x18], 0x67
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], 0x69
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x77
mov byte [esp + 0x20], 0x4d
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x61
mov byte [esp + 0x25], 0x67
mov byte [esp + 0x27], 0x46
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2c], 0x72
mov byte [esp + 0x2d], 0x45
mov byte [esp + 0x2e], 0x78
mov byte [esp + 0x2f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x10005048], eax
je 0x100010fe
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 1
push edx
push ecx
call eax
add esp, 0x28
ret
Function at 0x10001130
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x314
dec eax
push ebx
push ebp
push esi
push edi
jne 0x10001314
cmp dword [esp + 0x330], 1
je 0x1000130f
xor ebx, ebx
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
mov byte [esp + 0x1c], 0x4c
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x63
mov byte [esp + 0x1f], 0x61
mov byte [esp + 0x20], 0x6c
mov byte [esp + 0x21], 0x5c
mov byte [esp + 0x22], bl
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x14], 0x54
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x15], 0x53
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [esp + 0x16], 0x56
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x18], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x124]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov byte [esp + 0x10], 0x5f
and ecx, 3
mov byte [esp + 0x11], 0x25
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
mov byte [esp + 0x12], 0x64
mov byte [esp + 0x13], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x124]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, 0x2694
lea ecx, [esp + 0x224]
push eax
lea eax, [esp + 0x128]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x224]
push edx
push ebx
push 0xf001f
call fcn.100022a0
mov ebp, eax
cmp ebp, ebx
je 0x100012f5
push ebx
push ebx
push ebx
push 6
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
cmp esi, ebx
je 0x100012df
mov eax, dword [esi]
cmp eax, ebx
jne 0x100012c3
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x328]
push 0x100
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x24]
mov dword [esi], 1
push edx
call fcn.100038e0
add esp, 4
jmp 0x100012d8
cmp eax, 0xa
jne 0x100012d8
mov dword [esi], 1
call fcn.10001380
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x314
ret 0xc
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x314
ret 0xc
call fcn.10001380
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x314
ret 0xc
Function at 0x10001820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x10005044]
sub esp, 0x18
test eax, eax
jne 0x100018c0
mov al, 0x65
mov cl, 0x73
mov byte [esp + 2], al
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov byte [esp + 0x15], al
mov byte [esp + 1], cl
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], cl
lea eax, [esp + 0xc]
lea ecx, [esp]
mov dl, 0x6c
push eax
push ecx
mov byte [esp + 8], 0x75
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], 0x33
mov byte [esp + 0xd], 0x32
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0x47
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x4d
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1c], 0x67
mov byte [esp + 0x1e], 0x41
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x10005044], eax
je 0x100018da
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
call eax
add esp, 0x18
ret
xor eax, eax
add esp, 0x18
ret
Function at 0x10001e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebp
push esi
mov cl, 0x50
mov al, 0x74
push edi
mov byte [esp + 0xc], 0x7a
mov byte [esp + 0xd], 0x62
mov byte [esp + 0xe], 0x63
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], 0x65
mov byte [esp + 0x11], 0x66
mov byte [esp + 0x12], 0x67
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], 0x4a
mov byte [esp + 0x15], 0x4b
mov byte [esp + 0x16], 0x4c
mov byte [esp + 0x17], al
mov byte [esp + 0x18], 0x6a
mov byte [esp + 0x19], 0x4f
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x51
mov byte [esp + 0x1c], 0x72
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], 0x75
mov byte [esp + 0x20], 0x76
mov byte [esp + 0x21], 0x77
mov byte [esp + 0x22], 0x78
mov byte [esp + 0x23], 0x79
mov byte [esp + 0x24], 0x5a
mov byte [esp + 0x25], 0x41
mov byte [esp + 0x26], 0x59
mov byte [esp + 0x27], 0x43
mov byte [esp + 0x28], 0x44
mov byte [esp + 0x29], 0x45
mov byte [esp + 0x2a], 0x46
mov byte [esp + 0x2b], 0x47
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov ebp, dword [sym.imp.MSVCRT.dll_rand]
add esp, 4
call ebp
mov esi, eax
and esi, 0x80000007
jns 0x10001eed
dec esi
or esi, 0xfffffff8
inc esi
add esi, 8
xor edi, edi
test esi, esi
jle 0x10001f23
push ebx
mov ebx, dword [esp + 0x34]
call ebp
and eax, 0x8000001f
jns 0x10001f09
dec eax
or eax, 0xffffffe0
inc eax
mov al, byte [esp + eax + 0x10]
inc al
mov byte [edi + ebx], al
inc edi
cmp edi, esi
jl 0x10001efb
mov byte [esi + ebx], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
mov ecx, dword [esp + 0x30]
pop edi
mov byte [esi + ecx], 0
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x100021d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040f8
push 0x100039f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x1000226b
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x1000226b
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x1000226b
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x1000226b
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100022a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x234
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 0
push 0x100
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x248]
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [0x1000506c]
pop edi
test eax, eax
jne 0x10002408
push ebx
mov dl, 0x6e
mov bl, 0x64
mov byte [esp + 7], dl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x17], dl
mov byte [esp + 0x21], dl
mov byte [esp + 0xf], bl
mov byte [esp + 0x31], bl
lea edx, [esp + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov cl, 0x65
mov al, 0x6c
mov bl, 0x70
push edx
mov byte [esp + 0xc], 0x6b
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x72
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x62
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x2e
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], 0
mov byte [esp + 0x1c], 0x4f
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x20], 0x46
mov byte [esp + 0x21], 0x69
mov byte [esp + 0x22], al
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x4d
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x2a], 0x67
mov byte [esp + 0x2b], 0x57
mov byte [esp + 0x2c], 0
call esi
test eax, eax
je 0x100023dc
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
push ecx
jmp 0x100023e6
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
mov dword [0x1000506c], eax
call fcn.10002190
add esp, 4
mov dword [0x1000506c], eax
test eax, eax
pop esi
pop ebx
je 0x1000242b
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x238]
lea ecx, [esp + 0x34]
push ecx
push edx
push eax
call fcn.10002290
add esp, 0x234
ret 0xc
xor eax, eax
add esp, 0x234
ret 0xc
Function at 0x100024d0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x60
test eax, eax
push edi
je 0x10002504
push 0
push 0
push 0
push 0x100025f0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
add esp, 0x60
ret 8
mov edi, 0x10005070
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x100024fb
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
not eax
push eax
lea eax, [esp + 0x74]
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x7c], 0x25
mov byte [esp + 0x7d], 0x78
mov byte [esp + 0x7e], 0
mov byte [esp + 0x7f], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x34]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.100030a0
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10005070
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edi
add esp, 0x60
ret 8

Function at 0x10002610
Capabilities:
Hash data with md5

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [edx + 0x14]
mov dword [edx + 0x10], ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret