joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4075e2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x407603
jl 0x4075fa
test edi, edi
jne 0x407603
xor eax, eax
xor edx, edx
jmp 0x4076c4
cmp dword [ebx + 0x38], 0
je 0x407618
push eax
push edi
push dword [ebp + 8]
call fcn.004076ca
jmp 0x4076c4
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40765f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40765f
cmp eax, edi
jb 0x407639
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040a2d0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x407665
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4076b9
mov ecx, ebx
call fcn.00406e79
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4076a4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00411e13
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4076b9
jmp 0x407677
test edx, edx
je 0x4076b9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00411e13
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x409c73
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409cb2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409cb2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409cb2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409cb2
cmp dword [ecx + 0x74], 0xe
jbe 0x409cb2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x418d13
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5ec
push 0x42c5e4
push str.FlsAlloc
push 0x1e
call fcn.00418b40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418d47
push dword [ebp + 8]
mov ecx, esi
call dword [0x428168]
call esi
jmp 0x418d4d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x418d91
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5fc
push 0x42c5f4
push str.FlsGetValue
push 0x20
call fcn.00418b40
mov esi, eax
add esp, 0x10
test esi, esi
je 0x418dc8
push dword [ebp + 8]
mov ecx, esi
call dword [0x428168]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41b5ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b24d

Function at 0x41b5b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b3dc

Function at 0x41b9b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00409de0
mov eax, dword [0x481140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041854c
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41b9f2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41bb4e
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425e90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482f28]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041cb80
mov ecx, dword [esi*4 + 0x482f28]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41bb47
cmp eax, dword [edi + ecx + 0x24]
jne 0x41bb47
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bb47
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041cb80
add esp, 0x14
test edx, edx
jl 0x41bb47
jg 0x41babd
test eax, eax
jb 0x41bb47
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41bb47
jl 0x41bad7
cmp dword [ebp - 0x1008], eax
ja 0x41bb47
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41baf5
test ebx, ebx
je 0x41bb2e
cmp ecx, edi
jae 0x41bb2e
mov al, byte [ecx]
cmp al, 0xd
jne 0x41bb0f
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41bb1b
cmp byte [ecx + 1], 0xa
jne 0x41bb1b
inc ecx
jmp 0x41bb1b
movzx eax, al
movsx eax, byte [eax + 0x481418]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41baf5
cmp edx, ebx
jne 0x41baf5
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41bb4c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409063
leave
ret
Function at 0x41c01e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482f28]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c05e
cmp byte [ebx], 0xa
jne 0x41c05e
or byte [eax + edi + 0x28], 4
jmp 0x41c063
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41c161
mov al, byte [edx]
cmp al, 0x1a
je 0x41c143
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41c092
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41c0b7
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41c0c1
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41c074
jmp 0x41c161
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c13e
cmp dword [ebp - 0xc], 0
je 0x41c13e
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482f28]
test byte [eax + edi + 0x28], 0x48
je 0x41c118
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41c103
mov byte [esi], dl
jmp 0x41c114
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482f28]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41c161
cmp byte [ebp - 1], 0xa
jne 0x41c127
cmp esi, ebx
jne 0x41c127
mov byte [esi], 0xa
jmp 0x41c160
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041cb9e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41c161
mov byte [esi], 0xd
jmp 0x41c160
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482f28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c15d
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c161
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41c16a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482f28]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41c1ad
cmp word [esi], dx
jne 0x41c1ad
or byte [edi + eax + 0x28], 4
jmp 0x41c1b2
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41c305
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41c2e5
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41c1f4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41c22a
cmp eax, edx
jae 0x41c236
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41c1cc
jmp 0x41c305
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c2e1
cmp dword [ebp - 0x14], 0
je 0x41c2e1
mov eax, dword [ebx*4 + 0x482f28]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41c2b9
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41c282
mov word [esi], cx
jmp 0x41c2b5
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482f28]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482f28]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482f28]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41c305
pop ebx
cmp word [ebp - 4], bx
jne 0x41c2ca
cmp esi, dword [ebp + 0xc]
jne 0x41c2ca
mov word [esi], bx
jmp 0x41c302
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041cb9e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41c305
push 0xd
jmp 0x41c2fe
mov ecx, dword [ebx*4 + 0x482f28]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41c2fc
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41c305
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e0fc
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 0x41e199
push ebx
push esi
call fcn.0041e0c5
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.0041cd4a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41e146
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e198
push edi
push eax
call fcn.004176a6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41e166
call fcn.0041747c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41e197
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041cd4a
add esp, 0x20
test eax, eax
jne 0x41e185
push edi
call fcn.0041747c
jmp 0x41e18d
push ebx
call fcn.0041747c
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 0x425c90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425cbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425cbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x427000
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push str.Success_created.
push 0x4825b8
mov ebx, ecx
call fcn.00401200
push eax
call fcn.004021f0
push 8
call fcn.00409020
mov esi, eax
add esp, 0x10
test esi, esi
je 0x427062
push 4
call fcn.00409020
add esp, 4
test eax, eax
je 0x427040
mov dword [eax], 0x427bb0
jmp 0x427042
xor eax, eax
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x4021d0
push 0
push 0
call fcn.004103a6
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42709d
jmp 0x427064
xor esi, esi
cmp dword [esi + 4], 0
je 0x4270aa
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x4270b1
push 0
push dword [esi + 4]
push dword [esi]
call fcn.00405ba5
add esp, 0xc
test eax, eax
jne 0x4270b8
push 8
push esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00409050
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
ret
push 6
mov dword [edi], 0
call fcn.00405d5b
push 1
call fcn.00405d5b
push 5
call fcn.00405d5b
push 2
call fcn.00405d5b
int3

Function at 0x4275d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x24c
mov eax, dword [0x481140]
Function at 0x427d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427e50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x481140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.FreeConsole
push 0x428470
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
call edx
push str.SELECT__FROM_Customers
push 0x482668
call fcn.00401430
add esp, 8
mov edi, eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + edi + 0x30]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.00402420
add esp, 4
mov edx, dword [eax]
push 0xa
mov ecx, eax
call dword [edx + 0x30]
movzx ebx, ax
test esi, esi
je 0x427dd2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
test eax, eax
je 0x427dd2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
push ebx
mov ecx, edi
call fcn.00405600
mov ecx, edi
call fcn.00404fb0
mov dword [ebp - 4], 0
push 1
call fcn.00409020
add esp, 4
test eax, eax
je 0x427e0a
mov ecx, eax
call section..BsS
test eax, eax
je 0x427e0a
push 1
mov ecx, eax
call fcn.00427590
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x348b689b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x348b68aa
pop dword [ebp - 4]
mov eax, 0xc7f890c2
sub eax, 0x936d2818
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x7d992a66
sub dword [ebp - 0x14], 0x2f46e51b
mov dword [ebp - 0x10], 0xd3017756
add dword [ebp - 0x10], 0x5f31d4ef
mov dword [ebp - 0xc], 0x576e80ef
sub dword [ebp - 0xc], 0xb223cc1
mov dword [ebp - 8], 0x85e782dc
sub dword [ebp - 8], 0x85e782dc
lea eax, [ebp - 0x14]
push eax
mov eax, 0x4af47744
add eax, 0xe99499e4
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x263f5015
sub dword [ebp - 0x14], 0xb1cce6bf
mov dword [ebp - 0x10], 0xd28b39a9
sub dword [ebp - 0x10], 0x911ed834
mov dword [ebp - 0xc], 0x409d7cfd
sub dword [ebp - 0xc], 0xdd2e1091
mov dword [ebp - 8], 0x6279241c
add dword [ebp - 8], 0x9d86dbe4
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x959419d0
sub eax, 0x610b0804
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3b07c
push 0
call eax
mov ecx, 0x19248fb4
add ecx, 0xe6dbb805
xor esi, esi
add esi, eax
mov edi, 0x52a93e95
sub edi, 0x1e1b1e95
add edi, dword [ebp - 4]
mov ebx, 0xea4df27c
mov edx, dword [edi]
xor edx, ebx
mov dword [esi], edx
add esi, 0x405cd2ed
add esi, 0xbfa32d17
add edi, 0x9e5e4a41
add edi, 0x61a1b5c3
loop 0x348b69c8
add eax, 0x111b7
mov ebx, eax
add eax, 0x65cc90bb
sub eax, 0x65cc90b6
mov ecx, sym.aceexch.dll_Ordinal_2
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x50784da2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x50784db1
pop dword [ebp - 0x18]
mov eax, 0x50784db1
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x39427
push 0
mov eax, 0xd085ed4c
sub eax, 0x800d6cfc
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x77e0c408
add ecx, 0x881f8dbb
mov esi, eax
mov edi, 0x2e71de12
add edi, 0x220701ee
add edi, dword [ebp - 0x18]
mov edx, 0xafaa8bce
add edx, 0x4000d1aa
sub dword [ebp - 8], edi
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0x7894069
sub ebx, edx
xor dword [ebp - 0x14], eax
mov dword [esi], ebx
mov dword [ebp - 0xc], 0xde280694
add esi, 4
add edi, 0xe21ab084
add edi, 0x1de54f80
loop 0x50784e0b
add eax, 0x2d19769c
sub eax, 0x2d183cbd
mov ebx, eax
add eax, 0xafeab01e
sub eax, 0xafeab019
mov ecx, 0xfaf1753f
add ecx, 0x55868ac1
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10002308
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.100024b8
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x10002406
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x100023a9
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x100023ec
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x100023c0
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x100023db
test al, 0x40
je 0x100023d2
mov ecx, dword [edi + 0x20]
jmp 0x100023d9
test al, 0x80
je 0x100023ec
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x100023ec
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x10002378
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1000340d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
jne 0x100034a2
mov dword [ebp - 4], esp
mov eax, 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1000683c
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000346e
push 0x54
push 0x4010004
push 6
call fcn.1000c9eb
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000349d
push 0x54
push 0x4010004
push 6
call fcn.1000c9eb
add esp, 0xc
jmp 0x100034d8
cmp dword [ebp + 0xc], 0
jne 0x100034d8
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
cmp dword [ebp - 4], esp
je 0x100034d8
push 0xdc
push 0x4010004
push 6
call fcn.1000c9eb
add esp, 0xc
mov eax, 1
jmp 0x100034e2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000e170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x1000e191
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x1000e1eb
inc edi
cmp edi, esi
jl 0x1000e185
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x1000e220
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x1000e1da
cmp byte [eax], bl
je 0x1000e1f5
cmp byte [eax + 1], bl
je 0x1000e1fe
cmp byte [eax + 2], bl
je 0x1000e208
cmp byte [eax + 3], bl
je 0x1000e214
add eax, 4
cmp eax, edi
jb 0x1000e1b1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x4176fa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041756b

Function at 0x417af4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a3e0
mov eax, dword [0x463200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004156fd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417b36
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417c92
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00420910
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x465870]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418893
mov ecx, dword [esi*4 + 0x465870]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x417c8b
cmp eax, dword [edi + ecx + 0x24]
jne 0x417c8b
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417c8b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418893
add esp, 0x14
test edx, edx
jl 0x417c8b
jg 0x417c01
test eax, eax
jb 0x417c8b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417c8b
jl 0x417c1b
cmp dword [ebp - 0x1008], eax
ja 0x417c8b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417c39
test ebx, ebx
je 0x417c72
cmp ecx, edi
jae 0x417c72
mov al, byte [ecx]
cmp al, 0xd
jne 0x417c53
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417c5f
cmp byte [ecx + 1], 0xa
jne 0x417c5f
inc ecx
jmp 0x417c5f
movzx eax, al
movsx eax, byte [eax + 0x4634d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417c39
cmp edx, ebx
jne 0x417c39
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417c90
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409a3b
leave
ret