joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024be0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101b03d4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov edi, edi
nop
mov dword [ebp - 0x48], 0
mov cl, cl
mov dword [ebp - 0x4c], 0
mov ch, ch
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
mov ebp, ebp
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 edi, edi
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 edi, edi
cmp dword [ebp - 0x48], 0
je 0x10024ce1
mov cl, cl
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
mov ah, ah
cmp dword [ebp - 0x54], 0
jl 0x10024ce1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov eax, eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret
Function at 0x10025310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101b03d4]
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
pop ebx
mov dword [ebp - 4], 0
mov bh, bh
mov dword [ebp - 8], 0
mov edi, edi
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
mov dl, dl
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov bl, bl
cmp dword [ebp - 0x1c], 0
je 0x100253fd
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
mov ecx, ecx
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 edi, edi
cmp dword [ebp - 4], 0
je 0x100253fd
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
mov al, al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100fb12a
mov esp, ebp
pop ebp
ret
Function at 0x10025410
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
xchg ebx, eax
xchg ebx, eax
mov dh, dh
push edx
pop edx
mov bh, bh
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.100fbc20
add esp, 0xc
mov dl, dl
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ah, ah
mov dword [ebp - 0x60], 0x44
push ecx
pop ecx
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 ebp, ebp
cmp dword [ebp - 8], 0
je 0x10025528
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov cl, cl
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
push eax
pop eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ebp, ebp
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov dl, dl
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]
mov al, al
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 dl, dl
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 0x10025519
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x1002550c
jmp 0x10025519
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov esi, esi
jmp 0x100254e3
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov al, al
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1002bce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102b5308], 0
mov dword [esp + 4], edx
je 0x1002bd2b
mov eax, 0x102b5308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002bd08
mov ecx, ecx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.100fb12a
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
mov ch, ch
mov ecx, ecx
mov ebx, ebx
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
push edx
pop edx
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
push ecx
pop ecx
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.100fca00
add esp, 0x10
push ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
mov eax, eax
cmp eax, 0xffffffff
jne 0x1002bf3e
add esi, 1
cmp esi, 0x22
jb 0x1002be70
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x1002be67
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
mov cl, cl
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100fb12a
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
pop ebx
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102b5308], cl
add eax, 1
test cl, cl
jne 0x1002bf50
push ebx
pop ebx
mov edx, dword [esp + 0x14]
mov eax, 0x102b5308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002bf71
nop
jmp 0x1002bf25
Function at 0x1002c1b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov edi, edi
mov eax, dword [ecx + 4]
mov ah, ah
cmp eax, 1
jne 0x1002c1e2
mov byte [esp + 0x104], al
mov ch, ch
jmp 0x1002c244
cmp eax, 2
jne 0x1002c1f2
mov byte [esp + 0x104], al
mov bl, bl
jmp 0x1002c244
cmp eax, 3
jne 0x1002c202
mov byte [esp + 0x104], al
mov esi, esi
jmp 0x1002c244
cmp eax, 5
jne 0x1002c212
mov byte [esp + 0x104], al
mov dl, dl
jmp 0x1002c244
cmp eax, 6
jne 0x1002c222
mov byte [esp + 0x104], al
mov ecx, ecx
jmp 0x1002c244
cmp eax, 7
jne 0x1002c232
mov byte [esp + 0x104], al
mov esi, esi
jmp 0x1002c244
cmp eax, 8
jne 0x1002c305
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.100fd070
add esp, 0xc
mov ebx, ebx
mov dl, dl
lea edx, [esp + 0xc]
call fcn.1002bce0
mov eax, eax
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 ebx
pop ebx
cmp esi, 0xffffffff
je 0x1002c2ec
mov dword [esp + 8], 0
push edx
pop edx
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 ah, ah
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebp, ebp
cmp dword [esp + 8], 0
jne 0x1002c2ec
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100fb12a
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100fb12a
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.100fb12a
add esp, 0x508
ret
Function at 0x1002cbb0
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 0x1002cbc9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x1002cc04
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1002cc00
lea ebx, [ebx]
cmp esi, eax
jae 0x1002cc04
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1002cbf0
cmp esi, eax
jb 0x1002cc0a
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 0x1002e0e0
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
push edi
push ecx
pop ecx
mov dword [esp + 8], eax
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0xc], ecx
mov bl, bl
mov dword [esp + 0x10], edx
push edx
pop edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ebx, ebx
mov dword [esp + 0x18], 0
mov cl, cl
call fcn.10029cc0
mov edi, eax
mov eax, eax
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1002d9c0
push 0
push 0
call fcn.100fd647
add esp, 0x18
mov esi, eax
mov bh, bh
push edi
call fcn.10029d80
add esp, 4
mov ecx, ecx
test esi, esi
jne 0x1002e14b
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov cl, cl
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dl, dl
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1002eb90
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101b03d4]
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 bl, bl
cmp esi, 0xffffffff
jne 0x1002ebd6
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.100fb12a
add esp, 0x228
ret
push edi
xor edi, edi
mov bl, bl
mov ebx, ebx
push 0x224
lea eax, [esp + 0xc]
push edi
push eax
call fcn.100fbc20
add esp, 0xc
push eax
pop eax
mov dword [esp + 8], 0x224
mov edi, edi
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.DLL_Module32First
mov eax, eax
test eax, eax
je 0x1002ec35
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x1002ec2e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.DLL_Module32Next
mov cl, cl
test eax, eax
jne 0x1002ec15
jmp 0x1002ec34
mov edi, dword [esp + 0x24]
mov esi, esi
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bh, bh
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100fb12a
add esp, 0x228
ret
Function at 0x10034b70
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
nop
mov esi, dword [esp + 0x54]
cmp eax, esi
jb 0x10034bb1
ja 0x10034ba3
cmp ecx, dword [esp + 0x50]
jbe 0x10034bb1
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov dl, dl
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jb 0x10034d0b
mov esi, dword [esp + 0x2c]
ja 0x10034bcb
cmp esi, edi
jb 0x10034d0b
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 0x10034d0b
jb 0x10034bfe
cmp esi, ecx
jae 0x10034d0b
push ebx
nop
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub ebx, esi
sbb edi, ebp
mov dword [esp + 0x14], edi
mov al, al
mov eax, dword [esp + 0x50]
cmp edi, eax
jb 0x10034c2e
ja 0x10034c22
cmp ebx, dword [esp + 0x4c]
jbe 0x10034c2e
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov dh, dh
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.10051e40
add esp, 0x18
test eax, eax
je 0x10034ce2
mov edi, dword [esp + 0x48]
mov eax, ebx
sub eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x38], eax
mov dl, dl
mov bh, bh
cmp edi, eax
jae 0x10034cde
jmp 0x10034c70
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 0x10034cd0
push edx
pop edx
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.100349c0
add esp, 0x14
mov bh, bh
mov esi, dword [esp + 0x30]
add edi, dword [esp + 0x78]
mov edi, edi
cmp edi, dword [esp + 0x38]
jb 0x10034c70
push eax
pop eax
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
push eax
pop eax
cmp ebp, dword [esp + 0x24]
jb 0x10034c00
ja 0x10034d0a
cmp esi, dword [esp + 0x20]
jb 0x10034c00
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x1003f880
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, edx
xor eax, eax
mov bl, bl
mov cl, byte [edx]
test cl, cl
je 0x1003f8a6
imul eax, eax, 0x83
movsx ecx, cl
add eax, ecx
add esi, 1
push ecx
pop ecx
mov cl, byte [esi]
test cl, cl
jne 0x1003f890
and eax, 0x7fffffff
mov dword [esp + 4], eax
mov ch, ch
mov dl, dl
push edx
pop edx
mov cl, byte [edx]
xor eax, eax
test cl, cl
mov esi, edx
je 0x1003f8d9
push ebx
mov ebx, eax
shl ebx, 5
sub ebx, eax
movzx eax, cl
add eax, ebx
mov dl, dl
mov cl, byte [esi + 1]
add esi, 1
test cl, cl
jne 0x1003f8c0
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 0x1003f8e4
sub eax, esi
mov dword [esp + 0xc], eax
mov cl, cl
mov esi, edx
xor eax, eax
mov bl, bl
mov cl, byte [edx]
test cl, cl
je 0x1003f918
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 0x1003f901
mov dword [esp + 0x10], eax
mov ecx, ecx
mov ch, ch
xor eax, eax
pop esi
mov cl, byte [esp + eax*4]
xor byte [eax + edi], cl
push edx
pop edx
add eax, 1
cmp eax, 4
jl 0x1003f923
mov eax, 4
add esp, 0x10
ret

Function at 0x1003fb30
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
push ebx
pop ebx
mov ecx, dword [esp + 0x10]
push 0x40
lea eax, [esp + 8]
push eax
push ecx
call fcn.100fc929
add esp, 0xc
mov esi, eax
push ecx
pop ecx
test esi, esi
jne 0x1003fb66
pop esi
add esp, 8
ret
mov dword [esp + 8], 0
mov bh, bh
push esi
push 4
lea edx, [esp + 0x10]
push 1
push edx
call fcn.100fc5fc
add esp, 0x10
push eax
pop eax
push esi
call fcn.100fc2e4
add esp, 4
mov eax, eax
xor eax, eax
cmp dword [esp + 8], 0x4d444d44
pop esi
sete al
add esp, 8
ret
Function at 0x100408b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov eax, dword [0x101b03d4]
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 esi, esi
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
push eax
pop eax
mov dword [esp + 8], 0x14
mov bl, bl
mov dword [esi], 0xffff
mov edx, edx
mov dword [edi], 0xffff
nop
cmp dword [0x102b8f4c], eax
jne 0x1004097f
mov ch, ch
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 ch, ch
mov ecx, dword [ecx]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov bh, bh
test eax, eax
jne 0x10040978
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100fb12a
add esp, 0x3c
ret
mov dword [0x102b8f4c], eax
mov edi, edi
lea edx, [esp + 8]
push edx
call dword [0x102b8f4c]
mov cl, cl
cmp dword [esp + 0xc], 1
jne 0x10040965
push ebx
nop
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetIconInfo]
mov bh, bh
mov eax, dword [esp + 0x30]
test eax, eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x100409ba
push eax
call ebx
push ebx
pop ebx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100409c7
push eax
call ebx
mov ch, ch
mov edx, dword [esp + 0x24]
mov dword [esi], edx
push ebx
pop ebx
mov eax, dword [esp + 0x28]
mov dword [edi], eax
push ecx
pop ecx
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100407f0
mov ecx, dword [esp + 0x48]
add esp, 4
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.100fb12a
add esp, 0x3c
ret

Function at 0x10040a20
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 0x10040a5b
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
push 1
push esi
call edi
cmp eax, 1
jne 0x10040aa7
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
call ebx
push eax
pop eax
push 1
push esi
call edi
cmp eax, 1
je 0x10040a46
pop edi
pop esi
pop ebp
pop ebx
ret
mov bl, bl
mov dh, dh
mov bl, bl
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov edi, eax
mov bh, bh
mov eax, dword [esp + 0x14]
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp eax, 1
jne 0x10040aa7
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
call ebx
mov bl, bl
call esi
mov bl, bl
sub eax, edi
cmp eax, ebp
ja 0x10040aa7
mov ecx, dword [esp + 0x14]
push 1
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp eax, 1
je 0x10040a85
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10041580
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x2c]
mov edx, edi
mov eax, ebp
sub edx, ebp
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100415a0
push eax
pop eax
mov esi, dword [esp + 0x28]
add esi, 0x23d8
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100415c0
sub eax, edx
je 0x100416dc
mov al, 0x74
mov byte [esp + 0x10], 0x41
mov byte [esp + 0x11], al
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0x61
mov byte [esp + 0x14], 0x63
mov byte [esp + 0x15], 0x68
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x65
mov byte [esp + 0x18], 0x6e
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x3a
mov byte [esp + 0x1b], 0x5c
mov byte [esp + 0x1c], cl
mov bh, bh
lea eax, [esp + 0x10]
push eax
push ebp
call fcn.100fee8a
add esp, 8
test eax, eax
je 0x10041680
mov edx, edi
mov eax, esi
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10041630
mov ebx, ebx
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10041645
sub eax, edx
add eax, ebp
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10041654
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10041664
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, al
jmp 0x100416dc
cmp byte [ebp + 1], 0x3a
je 0x100416dc
push 2
push 0x101658b8
push ebp
call fcn.100fde04
add esp, 0xc
test eax, eax
je 0x100416dc
mov edx, edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100416a0
mov bl, bl
mov eax, ebp
mov edx, ebp
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100416b2
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x100416c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.100fb12a
add esp, 0x18
ret