joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10027cf4]
mov dword [ebp - 4], eax
jmp 0x100012d9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100012f6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100012d0
mov esp, ebp
pop ebp
ret

Function at 0x10001300
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10027d04], eax
je 0x1000131e
mov eax, 0x10dd
jmp 0x100013ff
mov eax, dword [0x10027d14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000139c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000137a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000137a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001470
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.10012278
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10001326
mov dword [0x10027d14], 0
call fcn.10001410
mov ecx, dword [0x10027d10]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x100013e9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10012278
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x100013b4
mov dword [0x10027d10], 0
mov dword [0x10027d04], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10001970
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10001985
xor eax, eax
jmp 0x100019fa
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100019b2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x100019f5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x100019f3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x100019ef
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x100019f3
xor eax, eax
jmp 0x100019fa
jmp 0x100019a9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001aa0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10027d08], 0
je 0x10001ab9
mov eax, dword [0x10027d08]
jmp 0x10001b59
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10001acb
xor eax, eax
jmp 0x10001b59
push 8
call fcn.10011c6d
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001b21
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x10001b0a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10012278
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x10027d08], eax
mov dword [0x10027d0c], 0
mov eax, dword [ebp - 4]
jmp 0x10001b59
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10001b3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x10001aeb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x10027d10]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x10027d10], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10002380
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10002450
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000243c
cmp dword [ebp - 4], 0x50000000
jb 0x100023bc
cmp dword [ebp - 4], 0x80000000
ja 0x100023bc
mov dword [ebp - 4], 0x80010000
jmp 0x10002395
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.10013280
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100023e2
jmp 0x1000243c
cmp dword [ebp - 0x10], 0x10000
jne 0x10002425
cmp dword [ebp - 0x14], 0x10000
jb 0x10002425
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10002418
mov eax, dword [ebp - 0x24]
jmp 0x1000243e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10002437
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.10002450
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10002395
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10002480
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10002550
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10002544
cmp dword [ebp - 4], 0x50000000
jb 0x100024c1
cmp dword [ebp - 4], 0x80000000
ja 0x100024c1
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000249a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.10013280
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100024e7
jmp 0x10002544
cmp dword [ebp - 0x10], 0x10000
jne 0x1000252a
cmp dword [ebp - 0x14], 0x10000
jb 0x1000252a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000251d
mov eax, dword [ebp - 0x24]
jmp 0x10002546
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000253f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.10002550
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000249a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100026d0
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10025ad0
push 0x10012f80
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x10027004]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x1000271a
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x10002750
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x100028db
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x10002788
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x100028db
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x100027b4
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x100028db
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x100027d7
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x10002886
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.10015c60
add esp, 8
test eax, eax
jne 0x10002881
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x10002822
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x10002824
jmp 0x10002886
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x10002851
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x10002853
jmp 0x10002886
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x10002867
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x100028db
jmp 0x100027ce
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x100028db
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x10002bb1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x10002bc3
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10002d0b
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10002d08
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10002cec
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.100133e0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.100133e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x10002cc9
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10002cc7
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.100133e0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x10002cd0
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x10007620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d820
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10027004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x10028664]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028520]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov ecx, dword [edi + 0xc]
push dword [ebp - 0x10]
inc dword [edi + 4]
add ecx, 0xfffff988
mov dword [edi], eax
mov eax, dword [edi + 8]
add eax, ecx
call eax
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100076c9
mov ecx, dword [ebx + 8]
mov edi, dword [ecx]
mov ebx, dword [edi + 0x10c]
cmp dword [ebp + 8], ebx
jbe 0x100076c1
mov eax, dword [edi + 0x110]
add eax, ebx
cmp dword [ebp + 8], eax
jb 0x10007725
mov eax, dword [ebp - 0x14]
inc edx
add ecx, 4
cmp edx, eax
jb 0x100076a4
xor edi, edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1000770f
mov eax, dword [0x100283d8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, dword [0x10028524]
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100283dc]
add eax, 0x100
call eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add edx, 0xfffff988
inc dword [esi + 4]
add ecx, edx
push ebx
mov dword [esi], eax
call ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebx]
dec eax
mov dword [ebx], eax
movzx edx, word [edi + 0x10a]
cmp eax, edx
jle 0x1000773c
mov dword [ebx], edx
jmp 0x1000773e
mov edx, eax
cmp edx, 1
jge 0x10007753
mov dword [ebx], 0
mov edi, 1
jmp 0x100076cb
mov ecx, esi
sub edi, esi
nop word [eax + eax]
mov al, byte [edi + ecx + 4]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10007760
mov eax, dword [ebx]
xor ecx, ecx
mov byte [esi + eax], dl
cmp dword [ebx], ecx
jle 0x10007791
nop word [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
sub al, cl
inc ecx
xor al, 0x8c
mov byte [esi - 1], al
cmp ecx, dword [ebx]
jl 0x10007780
mov edi, 1
jmp 0x100076cb
Function at 0x408344
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4118f0]
jne 0x40834e
repz ret
jmp fcn.0040c2ac

Function at 0x408cb3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004065da
and dword [ebp - 4], 0
cmp dword [0x412604], 0
mov ebx, eax
jne 0x408d64
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408e15
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408e15
push eax
call fcn.00406568
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412604], eax
call esi
push eax
call fcn.00406568
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412608], eax
call esi
push eax
call fcn.00406568
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41260c], eax
call esi
push eax
call fcn.00406568
pop ecx
mov dword [0x412614], eax
test eax, eax
je 0x408d64
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406568
pop ecx
mov dword [0x412610], eax
mov eax, dword [0x412610]
cmp eax, ebx
je 0x408dbc
cmp dword [0x412614], ebx
je 0x408dbc
push eax
call fcn.004065e3
push dword [0x412614]
mov esi, eax
call fcn.004065e3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408dbc
test edi, edi
je 0x408dbc
call esi
test eax, eax
je 0x408db3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408db3
test byte [ebp - 0xc], 1
jne 0x408dbc
or dword [ebp + 0x10], 0x200000
jmp 0x408df5
mov eax, dword [0x412608]
cmp eax, ebx
je 0x408df5
push eax
call fcn.004065e3
pop ecx
test eax, eax
je 0x408df5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408df5
mov eax, dword [0x41260c]
cmp eax, ebx
je 0x408df5
push eax
call fcn.004065e3
pop ecx
test eax, eax
je 0x408df5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412604]
call fcn.004065e3
pop ecx
test eax, eax
je 0x408e15
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408e17
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401dca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401dd9
pop dword [ebp - 0x50]
mov eax, 0x9fbb46b6
add eax, 0x6084d723
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xfe01b5d
add dword [ebp - 0x60], 0x3e7229ee
mov dword [ebp - 0x5c], 0xc8212939
sub dword [ebp - 0x5c], 0x95eddcf4
mov dword [ebp - 0x58], 0x945111aa
sub dword [ebp - 0x58], 0x4804cd7c
mov dword [ebp - 0x54], 0x53b0a4fe
sub dword [ebp - 0x54], 0x53b0a4fe
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x6e12e780
sub dword [ebp - 0x60], 0xf9a07e2a
mov dword [ebp - 0x5c], 0x1943aad8
add dword [ebp - 0x5c], 0x2828b69d
mov dword [ebp - 0x58], 0xd89bae90
sub dword [ebp - 0x58], 0x752c4224
mov dword [ebp - 0x54], 0xd35ee0dd
sub dword [ebp - 0x54], 0xd35ee0dd
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x41e40
push 0
call eax
mov ecx, 0x19dca7c8
add ecx, 0xe623b0ed
xor edx, edx
add edx, eax
mov esi, 0x4baeed93
add esi, 0xb494566d
add esi, dword [ebp - 0x50]
mov ebx, 0xb26feeda
mov dword [ebp - 0x1c], 0x78ebcafa
mov edi, dword [esi]
xor edi, ebx
sub dword [ebp - 0x28], ecx
mov dword [edx], edi
sub dword [ebp - 0x40], esi
add edx, 0x5f1e3ae7
sub edx, 0x5f1e3ae3
add esi, 4
loop 0x401eed
add eax, 0xf16e4eaf
sub eax, 0xf16cf908
mov ebx, eax
add eax, 5
mov ecx, 0xd54af96b
sub ecx, 0xd50af96b
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x49d230c6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x17b66e4b
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40319b
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x403372
cmp dword [0x494430], 0
jne 0x40336b
push ebx
push ebp
push edi
call fcn.00403e18
mov ebx, eax
test ebx, ebx
jne 0x4031de
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x40334c
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x494430
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x40336b
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x494430]
jmp 0x403374
xor eax, eax
add esp, 0x74
ret