joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50d71e
Capabilities:
Encode data using xor

Disassembly:
adc ah, byte [ebp + ebx*8 - 0x23314f0b]
lcall 0x9f43, 0xe7f4c48c
lodsd eax, dword [esi]
test byte [edi + 0x634a9e8c], dl
out 0xcc, eax
inc edi
adc eax, dword [esi]
cmp eax, 0x1d5fee0a
or eax, 0xa4e1e29e
cmp al, 0xde
outsb dx, byte [esi]
invalid

Function at 0x5114de
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xcca4a4ed
or al, byte [edx]
mov bl, 0xe4
mov bh, 0x3f
mov ch, 0xff
invalid
movsb byte es:[edi], byte [esi]
add dl, byte [eax + 0x71]
inc eax
aas
leave
xchg edx, eax
wbinvd
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
invalid
pushfd
loopne 0x511495
invalid
test byte [esi + 0x66645b14], 0xbb
mov ebp, ss
pop ebx
mov bx, 0xd58c
jg 0x511480
popfd
cwde
test al, 0xa4
mov esp, 0x8c90c2e2
loopne 0x5114db
push esi
outsd dx, dword [esi]
and eax, 0x44ea16dc
inc esp
sbb al, 0x70
sub dword [0xad47a854], edi
cmp ebp, 0xffffffdc
jbe 0x511502
std
fdiv qword [esi - 4]
wait
lds ecx, [edx + ebx*8 - 0x58]
out 0x9f, al
xchg esi, eax
leave
or dword [eax + ecx*8 + 0x51c04552], 0x1d30080c
jl 0x5114c0
xor byte [0x122ea47c], bl
add al, 0xdf
adc al, byte cs:[edi + ebx*8]
das
cld
cmp dword [edi + ecx*8 + 0x32], eax
aad 0xa9
cld
pushal
pushfd
jb 0x842e14c5
pop edx
and esp, dword [eax + 0x553845f8]
loopne 0x511518
pop esp
aam 0x9b
xchg ebx, eax
jns 0x511546
in al, 0xd0
mov ebp, 0x977c16fd
xchg edi, eax
lodsd eax, dword [esi]
mov dh, 0x85
invalid

Function at 0x54ea0e
Capabilities:
Encode data using xor

Disassembly:
stc
dec edx
push ds
mov ebp, 0x442a437b
pop ss
inc edx
aas
add dword [eax], ebx
jle 0x54ea43
je 0x54ea27
rol esi, 1
mov esi, edi
pop esp
xlatb
inc ebx
cmp esi, dword [ebp - 0x55014cc]
xchg dword [eax], edi
mov dword [0x4115f8d8], eax
out 0x6f, al
jle 0x54ea9f
cmpsb byte [esi], byte es:[edi]
adc al, 0x1a
das
ljmp 0x6be3
vcmpsd xmm2, xmm5, qword [ebx + 0x40148aea], 0xa7
xlatb
ret 0xea93
cmpsd dword [esi], dword es:[edi]
dec eax
insd dword es:[edi], dx
cmpsb byte [esi], byte es:[edi]
popal
pop esp
dec esi
xor ebp, dword [esi + 0x34382b53]
and al, 0x5f
daa
call 0xd2286a5e
scasd eax, dword es:[edi]
pop ebp
push es
iretd
xchg dword [esi - 0x44e644e8], ebp
jae 0x54eb12
aam 0x9b
cmc
jp 0x54ea4b
ja 0x54ea44
pop eax
mov ecx, 0x147cf30c
lea ebp, [eax]
imul esi, dword [edi], 0x5a365b61
adc eax, 0xfaaa3d72
pop ebx
push edi
mov bh, 0xd
cwde
sti
inc ecx
daa
in al, 0xf0
and byte [esi + 0x3553476], bh
and dword [edx], ebp
xchg edi, eax
sub dword [eax], edi
dec ecx
fbstp tbyte [edi - 0x6798998d]
test al, 0x78
xlatb
lds edi, [edx]
pop ebp
push ebx
xor byte [ecx + 0x486071e4], ah
imul dword [edi + 0x70]
mov esp, 0xe72d5f92
jae 0x54ead8
dec ebx
push es
invalid
adc edi, dword [ecx + 0x23]
aas
pop edx
pushal
arpl di, dx
invalid
Function at 0x63edde
Capabilities:
Encode data using xor

Disassembly:
test dword [ecx], ebp
xchg esi, eax
cmp dh, byte [eax]
pushfd
lodsd eax, dword [esi]
add dword [eax + edx - 0x14b8b21f], edi
pop edx
idiv cl
push ebp
movsb byte es:[edi], byte [esi]
or byte [edx], al
scasb al, byte es:[edi]
lahf
xor ecx, dword [esi + 0x757fd322]
fldcw word [eax - 0x3c]
pop ss
mov ebx, 0x40ece64a
jno 0x63edaf
pushal
int3
jge 0x63ee31
and dword [ebp - 0x2307176b], 0xb490c0ec
test byte [ebx + 0x4b], bl
outsd dx, dword [esi]
pop edi
jae 0x63ed94
xchg dword [edi - 0x31012536], esi
loop 0x63edab
xchg esi, eax
cmpsb byte [esi], byte es:[edi]
jl 0x63ee69
dec eax
js 0x63ee54
test byte [eax - 0x26021270], ah
jmp 0x821583d0
int3
xchg esp, eax
mov al, pe_nt_image_headers32
lodsb al, byte [esi]
cld
fsubr st(0)
psllq mm4, mm3
aas
xchg edi, eax
stosd dword es:[edi], eax
mov ebx, 0x5343bf67
invalid
mov edx, dword [edi + 0x6f]
xchg ebx, eax
sbb dword [edi - 9], 0xffffffcb
fild dword [edi]
fbld tbyte [ebx]
xor ebp, edi
inc edi
sti
jmp 0x63eeb2
xchg dword [edi - 0x5d], ebx
mov bl, 0x6f
invalid
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b2030]
jne 0x401073
repz ret
jmp fcn.00401c51

Function at 0x408bad
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.0040499b
and dword [ebp - 4], 0
cmp dword [0x4b4850], 0
mov ebx, eax
jne 0x408c5e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408d0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408d0f
push eax
call fcn.00404929
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b4850], eax
call esi
push eax
call fcn.00404929
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b4854], eax
call esi
push eax
call fcn.00404929
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b4858], eax
call esi
push eax
call fcn.00404929
pop ecx
mov dword [0x4b4860], eax
test eax, eax
je 0x408c5e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404929
pop ecx
mov dword [0x4b485c], eax
mov eax, dword [0x4b485c]
cmp eax, ebx
je 0x408cb6
cmp dword [0x4b4860], ebx
je 0x408cb6
push eax
call fcn.004049a4
push dword [0x4b4860]
mov esi, eax
call fcn.004049a4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408cb6
test edi, edi
je 0x408cb6
call esi
test eax, eax
je 0x408cad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408cad
test byte [ebp - 0xc], 1
jne 0x408cb6
or dword [ebp + 0x10], 0x200000
jmp 0x408cef
mov eax, dword [0x4b4854]
cmp eax, ebx
je 0x408cef
push eax
call fcn.004049a4
pop ecx
test eax, eax
je 0x408cef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408cef
mov eax, dword [0x4b4858]
cmp eax, ebx
je 0x408cef
push eax
call fcn.004049a4
pop ecx
test eax, eax
je 0x408cef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b4850]
call fcn.004049a4
pop ecx
test eax, eax
je 0x408d0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408d11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x29801a89
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x298601b4]
jne 0x29801a93
repz ret
jmp fcn.2983e792

Function at 0x298050c5
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x2983eb59
call fcn.29801f91
mov ebx, dword [ebp + 8]
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x298050e5
xor eax, eax
call fcn.298029c6
ret 4
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29805113
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x24]
mov edi, dword [eax]
add edi, dword [ecx]
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, edi
jae 0x29805113
mov ecx, esi
call dword [sym.imp.MSVCP100.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x298050dd
xor edi, edi
cmp dword [esi + 0x54], edi
jne 0x2980511f
or eax, 0xffffffff
jmp 0x298050dd
mov ecx, esi
call fcn.29803ec2
cmp dword [esi + 0x44], edi
jne 0x2980513c
push dword [esi + 0x54]
push ebx
call fcn.29831ff6
pop ecx
pop ecx
test al, al
je 0x2980511a
jmp 0x2980510f
push edi
push 8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.29831ff6
mov dword [ebp - 4], edi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051f1
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x2980520f
cmp eax, 1
jg 0x298051f9
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051a4
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x298051cb
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298051b7
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x2980520f
lea eax, [ebp - 0x30]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x38], eax
jne 0x29805229
test edi, edi
jne 0x2980515b
cmp dword [ebp - 0x1c], 0x20
jae 0x2980520f
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.29831ff6
jmp 0x2980515b
mov ecx, dword [ebp - 0x2c]
jmp 0x2980516d
cmp eax, 3
jne 0x2980520f
push dword [esi + 0x54]
push dword [ebp - 0x30]
call fcn.29831ff6
pop ecx
pop ecx
test al, al
jne 0x29805229
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.29831ff6
mov eax, esi
jmp 0x298050dd
mov esi, ebx
jmp 0x29805212
Function at 0x2980522d
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x2983fd5f
call fcn.29801f91
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x29805323
cmp byte [esi + 0x49], 0
je 0x29805323
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x29805263
xor al, al
jmp 0x29805325
push edi
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.29831ff6
mov dword [ebp - 4], edi
lea ebx, [esi + 0x4c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052c5
lea eax, [ebp - 0x2c]
mov ecx, eax
add eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x44]
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x298052ca
dec eax
je 0x298052ce
dec eax
dec eax
je 0x2980531f
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.29831ff6
mov al, bl
jmp 0x29805325
mov ecx, dword [ebp - 0x2c]
jmp 0x29805290
mov byte [esi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052da
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x29805301
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x298052ed
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x298052af
cmp byte [esi + 0x49], 0
je 0x2980531f
test edi, edi
jne 0x29805282
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.29831ff6
jmp 0x29805282
mov bl, 1
jmp 0x298052b1
mov al, 1
call fcn.298029c6
ret
Function at 0x2982092f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x29840d8f
call fcn.2983e23c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x298209dd
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.29831ff6
add esp, 0xc
test eax, eax
js 0x298209dd
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x298209c3
push edi
call fcn.2981d496
pop ecx
test al, al
je 0x298209c3
mov eax, edi
call fcn.2983e480
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x298209cf
push edi
lea ecx, [ebp - 0x428]
call fcn.29831ff6
push 3
push edi
push esi
push eax
call fcn.29831ff6
cmp eax, ebx
jne 0x29820a1a
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209f6
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2981cb0e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2983e275
ret 0x10
push 2
push ebx
push eax
call fcn.2981d73e
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x29820a3b
call fcn.2981c3ab
mov esi, eax
jmp 0x29820b05
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x29820a5e
call fcn.2981c3ab
jmp 0x29820af7
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x29820a54
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x29820a8e
mov esi, 0x8007000e
jmp 0x29820af9
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.29831ff6
mov dword [ebp - 4], 1
jmp 0x29820abc
cmp dword [ebp - 0x418], ebx
je 0x29820a87
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.29831ff6
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.29831ff6
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x298209fb
lea ecx, [ebp - 0x418]
call fcn.2981cb8c
jmp 0x298209fb
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40560d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40561c
pop dword [ebp - 0x10]
mov eax, 0x651b1b26
sub eax, 0x64dac50a
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x148feaa
sub dword [ebp - 0x20], 0xb2f6b95f
mov dword [ebp - 0x1c], 0xac5481f4
add dword [ebp - 0x1c], 0x85deca51
mov dword [ebp - 0x18], 0x3af5e074
sub dword [ebp - 0x18], 0xeea99c46
mov dword [ebp - 0x14], 0xc116c1a2
sub dword [ebp - 0x14], 0xc116c1a2
lea eax, [ebp - 0x20]
push eax
mov eax, 0x37a740d6
add eax, 0xc8998f7e
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc3175b8b
sub dword [ebp - 0x20], 0x4ea4f235
mov dword [ebp - 0x1c], 0xe9c45cb8
add dword [ebp - 0x1c], 0x57a804bd
mov dword [ebp - 0x18], 0xf2f073b1
sub dword [ebp - 0x18], 0x8f810745
mov dword [ebp - 0x14], 0x8e83eb14
add dword [ebp - 0x14], 0x717c14ec
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a4a7
push 0
call eax
mov ecx, 0xf7e41187
add ecx, 0x81c398f
xor edi, edi
add edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x10]
mov esi, 0x3623143f
sub dword [ebp - 8], edx
mov edx, dword [ebx]
add dword [ebp - 8], ebx
sub edx, esi
xor dword [ebp - 0xc], 0x3c9459ff
mov dword [edi], edx
mov dword [ebp - 8], 0x9dac4ad
add edi, 4
add ebx, 0x3b11db6c
add ebx, 0xc4ee2498
loop 0x40572f
add eax, 0x412c7268
add eax, 0xbed4acc3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x4028a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x4028b1
pop dword [ebp - 0x10]
mov eax, 0x4028b1
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xf11285f4
add dword [ebp - 0x20], 0x5d3fbf57
mov dword [ebp - 0x1c], 0xd195b2e8
sub dword [ebp - 0x1c], 0x9f6266a3
mov dword [ebp - 0x18], 0x2949d6e0
add dword [ebp - 0x18], 0x23026d4e
mov dword [ebp - 0x14], 0x3e9546c3
add dword [ebp - 0x14], 0xc16ab93d
lea eax, [ebp - 0x20]
push eax
mov eax, 0xee5e7479
add eax, 0x11e1fba3
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x5a965b6f
sub dword [ebp - 0x20], 0xe623f219
mov dword [ebp - 0x1c], 0xffd38de4
sub dword [ebp - 0x1c], 0xbe672c6f
mov dword [ebp - 0x18], 0xe9a2e53c
sub dword [ebp - 0x18], 0x863378d0
mov dword [ebp - 0x14], 0x4263396
sub dword [ebp - 0x14], 0x4263396
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xdbad57a5
sub eax, 0xdb6ce785
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3b9d0
push 0
call eax
mov ecx, 0x34190c4e
sub ecx, 0x3418b4b7
mov edx, eax
mov edi, 0xc13d8eb5
add edi, 0x3f03394b
add edi, dword [ebp - 0x10]
mov esi, 0xa0d7be53
mov ebx, dword [edi]
xor dword [ebp - 0xc], ecx
sub ebx, esi
sub dword [ebp - 0xc], ebx
mov dword [edx], ebx
add edx, 4
add edi, 0x982ac5b6
add edi, 0x67d53a4e
loop 0x4029c8
add eax, 0x75221273
sub eax, 0x7520c144
mov ebx, eax
add eax, 0x2b36e9f3
add eax, 0xd4c91612
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x4045aa
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4068f8
call fcn.0040545b
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x4045c9
mov al, 1
jmp 0x404692
test esi, esi
je 0x404690
xor ebx, ebx
cmp word [esi], bx
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404690
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004028a2
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x404684
lea eax, [ebp - 0x28]
push eax
call fcn.004028a2
pop ecx
test al, al
jne 0x404684
cmp dword [ebp - 0x18], esi
jbe 0x404684
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404684
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404684
push 0x407628
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401780
mov al, bl
jmp 0x404692
xor al, al
call fcn.00405416
ret
Function at 0x10028fbc
Capabilities:
Get file size
Get system information on windows

Disassembly:
push 0x38
mov eax, 0x1006db8e
call fcn.1006ca02
mov esi, ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov ebx, dword [ebp + 0xc]
or dword [esi + 0x14], 0xffffffff
mov ecx, 0x1000
mov dword [ebp - 4], eax
mov dword [esi], fcn.10027600
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], ecx
test ebx, ebx
je 0x10029017
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ebx
div ecx
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x14]
mov ecx, ebx
mov eax, edx
sub ecx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
je 0x100290d2
cmp edi, 0xffffffff
jne 0x10029077
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
cmp dword [ebp - 0x14], 0
mov edi, eax
jne 0x100290d2
cmp edi, ebx
jbe 0x100290d2
cmp edi, 0xffffffff
je 0x100290d2
sub edi, ebx
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push dword [esi + 0x14]
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov ebx, dword [ebp - 0x40]
lea ecx, [edi + ebx]
mov dword [esi + 0x18], eax
cmp ecx, edi
jb 0x100290d2
test eax, eax
je 0x100290ad
push 0
push ecx
push dword [ebp - 0x3c]
push 0
push 4
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFileEx]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100290d2
push 0
push 0
lea ecx, [eax + ebx]
push edi
push ecx
mov ecx, esi
call fcn.1004c927
mov byte [esi + 5], 1
mov eax, esi
call fcn.1006ca85
ret 0xc
mov ecx, esi
call fcn.1002913d
push 0x1006ed24
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 1
call sub.MSVCR100.dll__CxxThrowException
int3

Function at 0x1004c927
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1004c936
pop dword [ebp - 0x3c]
mov eax, 0xa04a23c8
sub eax, 0x90455a92
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x4d653
push 0
mov eax, 0xcd427dba
sub eax, 0xbd426c92
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x9a3f2ff4
add ecx, 0x65c1199f
mov ebx, eax
mov edx, 0x10079600
add edx, dword [ebp - 0x3c]
mov edi, 0x3d943af0
add dword [ebp - 0x28], 0xc0c79bcd
mov esi, dword [edx]
xor dword [ebp - 4], eax
xor esi, edi
xor dword [ebp - 8], edi
mov dword [ebx], esi
add dword [ebp - 0x18], 0xe66e3362
add ebx, 4
add edx, 4
loop 0x1004c989
add eax, 0xd7306f3c
sub eax, 0xd72f561d
mov ebx, eax
add eax, 5
mov ecx, 0xffbec360
add ecx, 0x10413ca0
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x410b4a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x41de58], 0
push ebx
jne 0x410c1b
cmp dword [0x41de5c], 0
jne 0x410c1b
push 0x41de5c
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [0x41de60], ebx
call fcn.004107d9
test eax, eax
js 0x410c20
push esi
push edi
push 0x41de64
push ebx
push ebx
push 0x411b20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x410bd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x41de5c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x41de5c], ebx
test edi, edi
jle 0x410c0c
movzx edi, di
or edi, 0x80070000
jmp 0x410c0c
push 0xffffffffffffffff
push dword [0x41de5c]
call fcn.00410838
mov edi, dword [0x41de60]
test edi, edi
js 0x410bf4
mov dword [0x41de58], esi
mov dword [ebp - 4], ebx
jmp 0x410c0c
push dword [0x41de5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [0x41de60]
mov dword [0x41de5c], ebx
lea eax, [ebp - 4]
push eax
call fcn.0040e20d
mov eax, edi
pop edi
pop esi
jmp 0x410c20
mov eax, 0x80004005
pop ebx
leave
ret

Function at 0x41279b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004127a6