joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100083a3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10008440
push ebx
push esi
call fcn.1000836c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10008300
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100083ed
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000843f
push edi
push eax
call fcn.1000935e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000840d
call fcn.10006e48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000843e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10008300
add esp, 0x20
test eax, eax
jne 0x1000842c
push edi
call fcn.10006e48
jmp 0x10008434
push ebx
call fcn.10006e48
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100086ad
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010338
push 0x10010330
push str.FlsAlloc
push 0x1f
call fcn.100085c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100086e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f110]
call esi
jmp 0x100086e7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000872b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010348
push 0x10010340
push str.FlsGetValue
push 0x21
call fcn.100085c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008762
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f110]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000876a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010350
push 0x10010348
push str.FlsSetValue
push 0x22
call fcn.100085c9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100087a4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f110]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x13c7f50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb3000]
push edi
jmp 0x13c7f6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x13c7f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13c7f60
mov eax, 1
add ebx, ebx
jne 0x13c7f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x13c7f94
jne 0x13c7fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13c7fb3
dec eax
add ebx, ebx
jne 0x13c7fa0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x13c7f78
add ebx, ebx
jne 0x13c7faf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x13c8005
xor ecx, ecx
sub eax, 3
jb 0x13c7fcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x13c803a
sar eax, 1
mov ebp, eax
jmp 0x13c7fd6
add ebx, ebx
jne 0x13c7fd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13c7fa4
inc ecx
add ebx, ebx
jne 0x13c7fe4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x13c7fa4
add ebx, ebx
jne 0x13c7ff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x13c7fe6
jne 0x13c8002
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x13c7fe6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x13c8024
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x13c8016
jmp 0x13c7f66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x13c8024
add edi, ecx
jmp 0x13c7f66
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x13c8042
cmp byte [edi], 0x11
jne 0x13c8042
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 0x13c8047
lea edi, [esi + 0x100000]
mov eax, dword [edi]
or eax, eax
je 0x13c80bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x136dd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x136f4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x13c8074
mov ecx, edi
jns 0x13c80a3
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 + 0x136f50]
or eax, eax
je 0x13c80b9
mov dword [ebx], eax
add ebx, 4
jmp 0x13c8091
call dword [esi + 0x136f60]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x13c80f0
cmp al, 0xef
ja 0x13c80e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x13c80c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x13c80d2
mov ebp, dword [esi + 0x136f54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x13c8124
sub esp, 0xffffff80
jmp 0x12e5f74
Function at 0x5deb7b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5deb96
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a3dbb]
pop edx
test eax, eax
je 0x5dec68
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5dec57
test dword [ebp - 0x2a8], 1
jne 0x5dec57
and dword [ebp - 0x2a8], 0x100
jne 0x5dec57
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3780]
pop edx
pop esi
test eax, eax
je 0x5debfa
jmp 0x5dec57
cmp word [esi], 0x5a4d
jne 0x5dec57
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5dec57
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d38c8]
pop edx
test eax, eax
je 0x5dec57
lea eax, [ebp - 0x28c]
push eax
call fcn.005dead7
test eax, eax
jne 0x5dec50
jmp 0x5dec57
mov eax, esi
jmp 0x5dec68
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5deb96
pop esi
leave
ret 4
Function at 0x100037a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
inc edi
test eax, eax
je 0x100037f6
cmp eax, edi
je 0x100037d0
jbe 0x10003801
cmp eax, 3
jbe 0x100037f6
cmp eax, 6
jne 0x10003801
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100037cc
mov eax, dword [0x1005feb8]
mov dword [ecx], eax
xor eax, eax
jmp 0x10003803
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [0x1005c2c8], esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor ecx, ecx
push ecx
push ecx
push esi
push 0x10003672
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
jmp 0x10003801
cmp dword [ebp + 0x10], 0
jne 0x10003801
call fcn.10003195
mov eax, edi
pop edi
pop ebp
ret 0xc

Function at 0x10004100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1005c300], 0
jne 0x10004114
call fcn.10003ee3
push esi
push edi
call fcn.10009933
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push dword [0x1005c2e0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
push eax
movd xmm1, ecx
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm1
movss dword [edi + 4], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x1005c2e8]
mov edx, dword [ebp - 8]
sbb edx, dword [0x1005c2ec]
call fcn.1001eb80
mov edx, dword [0x1005c2f4]
mov ecx, dword [0x1005c2f0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 4], xmm0
call fcn.1001eb80
movss xmm1, dword [ebp - 4]
cvtsd2ss xmm0, xmm0
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
divss xmm1, xmm0
movss dword [edi + 8], xmm1
mov eax, dword [ebp - 0xc]
mov dword [0x1005c2e8], eax
mov eax, dword [ebp - 8]
mov dword [0x1005c2ec], eax
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [edi + 0xdd], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [edi + 0xde], al
call esi
shr eax, 0xf
and al, 1
mov byte [edi + 0xe0], 0
cmp byte [edi + 0xdc], 0
mov byte [edi + 0xdf], al
pop edi
pop esi
je 0x100041fa
push 0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.1000ab4b
leave
ret
Function at 0x10009a28
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x10009a37
and dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10009aed
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10009ae9
push ebx
push 2
push 0
push esi
call fcn.1002a3bd
add esp, 0xc
test eax, eax
jne 0x10009adf
push esi
call fcn.1002aa64
mov ebx, eax
pop ecx
cmp ebx, 0xffffffff
je 0x10009adf
push 0
push 0
push esi
call fcn.1002a3bd
add esp, 0xc
test eax, eax
jne 0x10009adf
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call fcn.1000aa7a
mov dword [ebp + 0x10], eax
pop ecx
test eax, eax
je 0x10009adf
push esi
push ebx
push 1
push eax
call fcn.1002a02c
add esp, 0x10
cmp eax, ebx
je 0x10009ab5
push esi
call fcn.10029a7a
mov eax, dword [ebp + 0x10]
push eax
call fcn.1000aa96
pop ecx
jmp 0x10009ae5
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x10009acd
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call fcn.100206c0
add esp, 0xc
push esi
call fcn.10029a7a
pop ecx
test edi, edi
je 0x10009ada
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
jmp 0x10009ae8
push esi
call fcn.10029a7a
xor eax, eax
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10009be0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1005f91c], 0
push ebx
push esi
push edi
jne 0x10009c1b
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x10009bf6
mov dword [ecx*4 + 0x1005f918], edx
inc ecx
cmp ecx, 0x100
jb 0x10009bf1
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
not edi
mov esi, dword [ebp + 8]
mov edx, edi
test ebx, ebx
jle 0x10009c66
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005f918]
inc esi
sub ebx, 1
jne 0x10009c2c
jmp 0x10009c6d
cmp al, 0x23
jne 0x10009c54
cmp byte [esi], al
jne 0x10009c54
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1005f918]
mov al, byte [esi]
inc esi
test al, al
jne 0x10009c46
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x1000db60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100421ba
call fcn.1001e4d0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
and dword [esi + 0xc], 0
and dword [esi + 8], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
push 0x3f
pop eax
mov byte [ebp - 4], 2
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
call fcn.1000fa38
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1001787d
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x1006101c]
push esi
xor esi, esi
jmp 0x1001788f
cmp dword [edx + 4], esi
jne 0x100178e8
mov edx, dword [edx]
test edx, edx
jne 0x10017888
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x100178ec
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x100178b8
mov eax, dword [0x1006101c]
mov dword [edx], eax
mov dword [0x1006101c], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
test edx, edx
jne 0x100178db
xor eax, eax
pop esi
ret

Function at 0x10018100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
imul ebx, dword [ebp + 8], 0x2c
push esi
push edi
add ebx, dword [0x10061010]
mov eax, dword [ebx]
mov cl, byte [ebx + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
mov dword [ebp - 4], edi
lea esi, [eax*2 + 5]
lea eax, [ebp + 8]
mov dword [ebp - 8], esi
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10018147
push 0xa
pop eax
jmp 0x100181c6
cmp dword [ebp + 0xc], 0
je 0x1001816a
mov byte [edi], 0xe9
mov eax, dword [ebx + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [ebx + 0x14], 1
je 0x1001818a
mov eax, dword [ebx]
mov word [eax], 0xf9eb
jmp 0x1001818a
test byte [ebx + 0x14], 1
je 0x1001817f
lea esi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
jmp 0x1001818a
mov eax, dword [ebx + 0xc]
mov dword [edi], eax
mov al, byte [ebx + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp + 0xc]
mov al, byte [ebx + 0x14]
and dl, 1
mov cl, dl
and al, 0xfd
add cl, cl
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [ebx + 0x14], cl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100181f8
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100182c8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100182c1
push esi
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x1c], 0x10
jb 0x100182a7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x10], eax
jne 0x100182a7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x100182a7
mov edx, dword [esi]
test edx, edx
jne 0x10018275
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x1005fe50]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100182c0
jmp 0x1001829b
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1001829b
shl eax, 3
push eax
push edx
push 0
push dword [0x1005fe50]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100182c0
shl dword [esi + 4], 1
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10018230
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret

Function at 0x10018337
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.100181f8
pop ecx
cmp dword [esi], ebx
je 0x10018397
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x10018396
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1001838d
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10018592
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x1001835c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10018684
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x100186d6
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100186c6
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100186bd
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1001869a
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x1005fe50]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
ret
Function at 0x100193b6
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x1001d36e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x1001d392
jl 0x1001d389
test esi, esi
jne 0x1001d392
xor eax, eax
xor edx, edx
jmp 0x1001d485
cmp dword [edi + 0x38], 0
je 0x1001d3a7
push ebx
push esi
push dword [ebp + 8]
call fcn.1001d48c
jmp 0x1001d485
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001d3fb
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x1001d3fb
cmp eax, esi
jb 0x1001d3cd
mov eax, esi
mov dword [ebp - 4], esi
push eax
push ecx
push dword [ebp + 8]
call fcn.10020820
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp + 8]
sub ecx, edx
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], ecx
sub dword [eax], edx
mov eax, dword [edi + 0x1c]
add dword [eax], edx
jmp 0x1001d401
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x1001d479
mov ecx, edi
call fcn.1001cb93
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x1001d455
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.1002a02c
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x1001d451
cmp edx, eax
ja 0x1001d41e
jmp 0x1001d458
sub esi, edx
jmp 0x1001d47e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x1001d47c
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.1002a02c
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x1001d47c
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1003662d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100364a3
Function at 0x4012c0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x204
mov ebx, dword [esp + 0x224]
mov ebp, dword [esp + 0x220]
mov esi, dword [esp + 0x218]
mov eax, dword [0x4346c0]
xor eax, esp
mov dword [esp + 0x200], eax
xor ecx, ecx
nop
mov byte [esp + ecx + 0x100], cl
mov eax, ecx
cdq
idiv ebx
movzx eax, byte [ebp + edx]
mov byte [esp + ecx], al
lea eax, [ecx + 1]
mov byte [esp + ecx + 0x101], al
cdq
idiv ebx
movzx eax, byte [ebp + edx]
mov byte [esp + ecx + 1], al
add ecx, 2
cmp ecx, 0x100
jne 0x4012f0
mov eax, 1
xor ecx, ecx
nop dword [eax]
movzx edx, byte [esp + eax + 0xff]
add cl, dl
add cl, byte [esp + eax - 1]
movzx ebx, cl
mov dh, byte [esp + ebx + 0x100]
mov byte [esp + eax + 0xff], dh
mov byte [esp + ebx + 0x100], dl
movzx edx, byte [esp + eax + 0x100]
add cl, dl
add cl, byte [esp + eax]
movzx ebx, cl
mov dh, byte [esp + ebx + 0x100]
mov byte [esp + eax + 0x100], dh
mov byte [esp + ebx + 0x100], dl
add eax, 2
cmp eax, 0x101
jne 0x401330
cmp dword [esp + 0x21c], 0
jle 0x40142c
xor ebx, ebx
xor ebp, ebp
xor edi, edi
nop dword [eax]
push str.Soldier
push 0x4355c0
call fcn.00401450
add esp, 8
mov ecx, eax
push 5
call fcn.00401730
mov ecx, eax
push 0x3f8ccccd
call fcn.004018b0
lea eax, [ebx + 1]
lea ecx, [ebx + 0x100]
test eax, eax
cmovns ecx, eax
and ecx, 0xffffff00
neg ecx
add ebx, ecx
inc ebx
movzx eax, byte [esp + ebx + 0x100]
mov ecx, edi
add cl, al
mov edi, ecx
movzx ecx, cl
movzx edx, byte [esp + ecx + 0x100]
mov byte [esp + ebx + 0x100], dl
mov byte [esp + ecx + 0x100], al
add al, byte [esp + ebx + 0x100]
movzx eax, al
movzx eax, byte [esp + eax + 0x100]
xor byte [esi + ebp], al
mov eax, dword [esp + 0x21c]
inc ebp
cmp eax, ebp
jne 0x4013a0
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00408662
add esp, 0x204
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x408933
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x408968
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x408965
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x408971
add edx, 0x28
cmp edx, esi
jne 0x408953
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40896e