joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101b23cc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov cl, cl
mov dword [ebp - 0x138], 0x128
mov edx, edx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov edi, edi
cmp dword [ebp - 4], 0xffffffff
jne 0x10023157
jmp 0x100231bf
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
mov bh, bh
cmp dword [ebp - 8], 0
je 0x100231a5
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x1002318e
mov eax, dword [ebp - 0x130]
push eax
call fcn.10023120
add esp, 4
mov bh, bh
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
mov ebx, ebx
jmp 0x1002316c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100303c0
add esp, 4
push edx
pop edx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100fc49a
mov esp, ebp
pop ebp
ret
Function at 0x10025620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101b23cc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov bl, bl
mov ebp, ebp
mov dword [ebp - 0x48], 0
mov esi, esi
mov dword [ebp - 0x4c], 0
mov dl, dl
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x2e
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0
push ecx
pop ecx
mov byte [ebp - 0x38], 0x4e
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x51
mov byte [ebp - 0x35], 0x75
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x79
mov byte [ebp - 0x31], 0x49
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x66
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x50
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0
mov ebp, ebp
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x48], eax
mov bh, bh
cmp dword [ebp - 0x48], 0
je 0x10025722
mov ch, ch
lea edx, [ebp - 0x50]
push edx
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
push eax
pop eax
cmp dword [ebp - 0x54], 0
jl 0x10025722
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov edx, edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100fc49a
mov esp, ebp
pop ebp
ret
Function at 0x10025d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101b23cc]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ebp, ebp
mov dword [ebp - 4], 0
nop
mov dword [ebp - 8], 0
mov bh, bh
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
push ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dl, dl
cmp dword [ebp - 0x1c], 0
je 0x10025e3c
mov byte [ebp - 0x34], 0x5a
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x56
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x4f
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0
push edx
pop edx
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
mov edx, edx
cmp dword [ebp - 4], 0
je 0x10025e3c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
push ebx
pop ebx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100fc49a
mov esp, ebp
pop ebp
ret
Function at 0x10025e50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov cl, cl
mov dl, dl
mov ah, ah
mov bh, bh
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.100fcf90
add esp, 0xc
mov esi, esi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
nop
mov dword [ebp - 0x60], 0x44
mov ebx, ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [ebp - 8], eax
mov eax, eax
cmp dword [ebp - 8], 0
je 0x10025f65
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ch, ch
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov bl, bl
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
nop
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
push edx
pop edx
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa4]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov edi, edi
push 0x1c
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualQueryEx]
test eax, eax
je 0x10025f57
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x10025f4a
jmp 0x10025f57
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov ah, ah
jmp 0x10025f21
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
nop
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1002c730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102b7308], 0
mov dword [esp + 4], edx
je 0x1002c77b
mov eax, 0x102b7308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002c758
xchg ebx, eax
xchg ebx, eax
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.100fc49a
add esp, 0x1a0
ret
push ebx
push ebp
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0x170
mov dword [esp + 0x18], 0x4e
mov dword [esp + 0x1c], 0x60d1
mov dword [esp + 0x20], 0x26d9
mov dword [esp + 0x24], 0x15d01
mov dword [esp + 0x28], 0x1f07
mov dword [esp + 0x2c], 0x120c4
mov dword [esp + 0x30], 0x16aa2
mov dword [esp + 0x34], 0xe18e3
mov dword [esp + 0x38], 0x39fb4
mov dword [esp + 0x3c], 0xc1740
mov dword [esp + 0x40], 0x13583
mov dword [esp + 0x44], 0xea
mov dword [esp + 0x48], 0x25fd
mov dword [esp + 0x4c], 0xb12
mov dword [esp + 0x50], 0x37f
mov dword [esp + 0x54], 0x3ff
mov dword [esp + 0x58], 0x24
mov dword [esp + 0x5c], 7
mov dword [esp + 0x60], 0x9ae
mov dword [esp + 0x64], 0x3e2
mov dword [esp + 0x68], 0x22e6
mov dword [esp + 0x6c], 0x31a
mov dword [esp + 0x70], 0x1ce0
mov dword [esp + 0x74], 0x2443
mov dword [esp + 0x78], 0x168e3
mov dword [esp + 0x7c], 0x5cc5
mov dword [esp + 0x80], 0x13586
mov dword [esp + 0x84], 0x1ef3
mov dword [esp + 0x88], 0x17
mov dword [esp + 0x8c], 0x3cc
mov dword [esp + 0x90], 0x11b
mov dword [esp + 0x94], 0x59
push edx
pop edx
push eax
pop eax
mov bh, bh
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push esi
mov dword [esp + 0xc], 0
mov bl, 0x5c
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x61
mov ah, ah
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], 0x2e
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], 0x25
mov byte [esp + 0xa5], 0x63
mov byte [esp + 0xa6], 0x25
mov byte [esp + 0xa7], 0x64
mov byte [esp + 0xa8], 0
mov ah, ah
mov eax, dword [esp + esi*4 + 0x18]
push eax
push edi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.100fdd70
add esp, 0x10
mov ah, ah
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
push edx
pop edx
cmp eax, 0xffffffff
jne 0x1002c98e
add esi, 1
cmp esi, 0x22
jb 0x1002c8c0
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x1002c8b7
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
mov eax, eax
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100fc49a
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ch, ch
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102b7308], cl
add eax, 1
test cl, cl
jne 0x1002c9a0
mov bh, bh
mov edx, dword [esp + 0x14]
mov eax, 0x102b7308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002c9c1
mov bl, bl
jmp 0x1002c975
Function at 0x1002cc10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov ch, ch
mov eax, dword [ecx + 4]
mov ebx, ebx
cmp eax, 1
jne 0x1002cc41
mov byte [esp + 0x104], al
nop
jmp 0x1002cca3
cmp eax, 2
jne 0x1002cc51
mov byte [esp + 0x104], al
mov edx, edx
jmp 0x1002cca3
cmp eax, 3
jne 0x1002cc61
mov byte [esp + 0x104], al
mov ebp, ebp
jmp 0x1002cca3
cmp eax, 5
jne 0x1002cc71
mov byte [esp + 0x104], al
mov al, al
jmp 0x1002cca3
cmp eax, 6
jne 0x1002cc81
mov byte [esp + 0x104], al
mov cl, cl
jmp 0x1002cca3
cmp eax, 7
jne 0x1002cc91
mov byte [esp + 0x104], al
push edx
pop edx
jmp 0x1002cca3
cmp eax, 8
jne 0x1002cd64
mov byte [esp + 0x104], al
mov ah, ah
push esi
push edi
mov edi, dword [esp + 0x518]
lea eax, [edi - 8]
push eax
add ecx, 8
push ecx
lea ecx, [esp + 0x115]
push ecx
call fcn.100fe3e0
add esp, 0xc
mov ebp, ebp
mov ebx, ebx
lea edx, [esp + 0xc]
call fcn.1002c730
mov bl, bl
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
push eax
pop eax
cmp esi, 0xffffffff
je 0x1002cd4b
mov dword [esp + 8], 0
mov edi, edi
push 0
lea eax, [esp + 0xc]
push eax
add edi, 0xfffffff9
push edi
lea ecx, [esp + 0x118]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dh, dh
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ch, ch
cmp dword [esp + 8], 0
jne 0x1002cd4b
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100fc49a
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100fc49a
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.100fc49a
add esp, 0x508
ret
Function at 0x1002d610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x1002d629
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x1002d664
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1002d660
lea ebx, [ebx]
cmp esi, eax
jae 0x1002d664
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1002d650
cmp esi, eax
jb 0x1002d66a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x1002eb40
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
push edi
mov edx, edx
mov dword [esp + 8], eax
mov ah, ah
mov dword [esp + 0xc], ecx
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x10], edx
mov edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ah, ah
mov dword [esp + 0x18], 0
mov esi, esi
call fcn.1002a6e0
mov edi, eax
mov edi, edi
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1002e420
push 0
push 0
call fcn.100fe9b7
add esp, 0x18
mov esi, eax
mov ah, ah
push edi
call fcn.1002a7a0
add esp, 4
push ebx
pop ebx
test esi, esi
jne 0x1002ebab
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ah, ah
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
pop ebx
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1002f5f0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, ecx
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov al, al
cmp esi, 0xffffffff
jne 0x1002f636
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.100fc49a
add esp, 0x228
ret
push edi
xor edi, edi
mov al, al
mov bh, bh
push 0x224
lea eax, [esp + 0xc]
push edi
push eax
call fcn.100fcf90
add esp, 0xc
mov esi, esi
mov dword [esp + 8], 0x224
mov ebx, ebx
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.DLL_Module32First
mov bh, bh
test eax, eax
je 0x1002f695
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x1002f68e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.DLL_Module32Next
mov ecx, ecx
test eax, eax
jne 0x1002f675
jmp 0x1002f694
mov edi, dword [esp + 0x24]
mov ecx, ecx
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
pop eax
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100fc49a
add esp, 0x228
ret
Function at 0x100355a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
add ecx, dword [esp + 0x3c]
mov eax, edx
adc eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov bh, bh
mov esi, dword [esp + 0x54]
cmp eax, esi
jb 0x100355e2
ja 0x100355d4
cmp ecx, dword [esp + 0x50]
jbe 0x100355e2
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov bl, bl
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jb 0x1003573b
mov esi, dword [esp + 0x2c]
ja 0x100355fc
cmp esi, edi
jb 0x1003573b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x1003573b
jb 0x1003562f
cmp esi, ecx
jae 0x1003573b
push ebx
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub ebx, esi
sbb edi, ebp
mov dword [esp + 0x14], edi
mov ah, ah
mov eax, dword [esp + 0x50]
cmp edi, eax
jb 0x1003565e
ja 0x10035652
cmp ebx, dword [esp + 0x4c]
jbe 0x1003565e
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov edx, edx
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 0
push ebx
push ecx
push ebp
push esi
push edx
call fcn.100524c0
add esp, 0x18
test eax, eax
je 0x10035712
mov edi, dword [esp + 0x48]
mov eax, ebx
sub eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x38], eax
push edx
pop edx
mov cl, cl
cmp edi, eax
jae 0x1003570e
jmp 0x100356a0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
push edi
call dword [esp + 0x90]
add esp, 0x14
cmp eax, 1
jne 0x10035700
mov ecx, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, dword [esp + 0x54]
sbb edx, eax
add ecx, esi
mov esi, dword [esp + 0x7c]
adc edx, ebp
push edx
push ecx
mov ecx, dword [esp + 0x80]
call fcn.100353f0
add esp, 0x14
mov edx, edx
mov esi, dword [esp + 0x30]
add edi, dword [esp + 0x78]
mov ch, ch
cmp edi, dword [esp + 0x38]
jb 0x100356a0
mov ch, ch
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
mov dword [esp + 0x30], esi
adc ebp, edi
mov edx, edx
cmp ebp, dword [esp + 0x24]
jb 0x10035630
ja 0x1003573a
cmp esi, dword [esp + 0x20]
jb 0x10035630
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x10040320
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, edx
xor eax, eax
mov eax, eax
mov cl, byte [edx]
test cl, cl
je 0x10040346
imul eax, eax, 0x83
movsx ecx, cl
add eax, ecx
add esi, 1
push ebx
pop ebx
mov cl, byte [esi]
test cl, cl
jne 0x10040330
and eax, 0x7fffffff
mov dword [esp + 4], eax
mov dh, dh
mov ah, ah
push edx
pop edx
mov cl, byte [edx]
xor eax, eax
test cl, cl
mov esi, edx
je 0x10040379
push ebx
mov ebx, eax
shl ebx, 5
sub ebx, eax
movzx eax, cl
add eax, ebx
push edx
pop edx
mov cl, byte [esi + 1]
add esi, 1
test cl, cl
jne 0x10040360
pop ebx
mov dword [esp + 8], eax
mov ecx, ecx
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10040384
sub eax, esi
mov dword [esp + 0xc], eax
mov bl, bl
mov esi, edx
xor eax, eax
mov ch, ch
mov cl, byte [edx]
test cl, cl
je 0x100403b8
mov edx, eax
shl edx, 5
add edx, eax
movsx eax, cl
add eax, edx
add esi, 1
push ecx
pop ecx
mov cl, byte [esi]
test cl, cl
jne 0x100403a1
mov dword [esp + 0x10], eax
mov ah, ah
mov esi, esi
xor eax, eax
pop esi
mov cl, byte [esp + eax*4]
xor byte [eax + edi], cl
nop
add eax, 1
cmp eax, 4
jl 0x100403c3
mov eax, 4
add esp, 0x10
ret

Function at 0x100405d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov byte [esp + 4], 0x72
mov byte [esp + 5], 0x62
mov byte [esp + 6], 0
mov esi, esi
mov ecx, dword [esp + 0x10]
push 0x40
lea eax, [esp + 8]
push eax
push ecx
call fcn.100fdc99
add esp, 0xc
mov esi, eax
mov ah, ah
test esi, esi
jne 0x10040606
pop esi
add esp, 8
ret
mov dword [esp + 8], 0
mov edi, edi
push esi
push 4
lea edx, [esp + 0x10]
push 1
push edx
call fcn.100fd96c
add esp, 0x10
mov ah, ah
push esi
call fcn.100fd654
add esp, 4
push edx
pop edx
xor eax, eax
cmp dword [esp + 8], 0x4d444d44
pop esi
sete al
add esp, 8
ret
Function at 0x10041360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x50]
mov ecx, ecx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, ecx
mov dword [esp + 8], 0x14
nop
mov dword [esi], 0xffff
mov esi, esi
mov dword [edi], 0xffff
mov edi, edi
cmp dword [0x102baf4c], eax
jne 0x1004142f
mov ah, ah
mov dl, 0x72
mov al, 0x6f
mov byte [esp + 0x30], 0x47
mov byte [esp + 0x31], 0x65
mov byte [esp + 0x32], 0x74
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], dl
mov byte [esp + 0x36], 0x73
mov byte [esp + 0x37], al
mov byte [esp + 0x38], dl
mov byte [esp + 0x39], 0x49
mov byte [esp + 0x3a], 0x6e
mov byte [esp + 0x3b], 0x66
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], 0
mov eax, eax
mov ecx, dword [ecx]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ebp, ebp
test eax, eax
jne 0x10041428
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100fc49a
add esp, 0x3c
ret
mov dword [0x102baf4c], eax
mov edx, edx
lea edx, [esp + 8]
push edx
call dword [0x102baf4c]
nop
cmp dword [esp + 0xc], 1
jne 0x10041415
push ebx
push ecx
pop ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov ch, ch
mov eax, dword [esp + 0x30]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x1004146a
push eax
call ebx
mov ah, ah
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10041477
push eax
call ebx
mov eax, eax
mov edx, dword [esp + 0x24]
mov dword [esi], edx
mov edx, edx
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov al, al
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100412a0
mov ecx, dword [esp + 0x48]
add esp, 4
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.100fc49a
add esp, 0x3c
ret

Function at 0x100414d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
push esi
push edi
jne 0x1004150b
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push esi
call edi
cmp eax, 1
jne 0x10041557
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
call ebx
mov eax, eax
push 1
push esi
call edi
cmp eax, 1
je 0x100414f6
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
pop eax
push ebx
pop ebx
mov ah, ah
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
push edx
pop edx
mov eax, dword [esp + 0x14]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp eax, 1
jne 0x10041557
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
call ebx
push ecx
pop ecx
call esi
mov bh, bh
sub eax, edi
cmp eax, ebp
ja 0x10041557
mov ecx, dword [esp + 0x14]
push 1
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp eax, 1
je 0x10041535
pop edi
pop esi
pop ebp
pop ebx
ret