joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000891a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10004058]
jne 0x1002f994
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1003ad68], eax
mov dword [0x1003ad64], ecx
mov dword [0x1003ad60], edx
mov dword [0x1003ad5c], ebx
mov dword [0x1003ad58], esi
mov dword [0x1003ad54], edi
mov word [0x1003ad80], ss
mov word [0x1003ad74], cs
mov word [0x1003ad50], ds
mov word [0x1003ad4c], es
mov word [0x1003ad48], fs
mov word [0x1003ad44], gs
pushfd
pop dword [0x1003ad78]
mov eax, dword [ebp]
mov dword [0x1003ad6c], eax
mov eax, dword [ebp + 4]
mov dword [0x1003ad70], eax
lea eax, [ebp + 8]
mov dword [0x1003ad7c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1003acb8], 0x10001
mov eax, dword [0x1003ad70]
mov dword [0x1003ac6c], eax
mov dword [0x1003ac60], 0xc0000409
mov dword [0x1003ac64], 1
mov eax, dword [0x10004058]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10039abc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1003acb0], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x1000426c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1003acb0], 0
jne 0x1002fa80
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x10011985
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10011994
pop dword [ebp - 0x1c]
mov eax, 0x10011994
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x8bda1c04
sub dword [ebp - 0x2c], 0x3d87d6b9
mov dword [ebp - 0x28], 0x8f435d16
add dword [ebp - 0x28], 0xa2efef2f
mov dword [ebp - 0x24], 0xd429d134
add dword [ebp - 0x24], 0x782272fa
mov dword [ebp - 0x20], 0xe64af120
sub dword [ebp - 0x20], 0xe64af120
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x94d5f9b4
add dword [ebp - 0x2c], 0xdf9c6fa2
mov dword [ebp - 0x28], 0x4c5bc199
sub dword [ebp - 0x28], 0xaef6024
mov dword [ebp - 0x24], 0xacbe3456
sub dword [ebp - 0x24], 0x494ec7ea
mov dword [ebp - 0x20], 0x4f3c6131
add dword [ebp - 0x20], 0xb0c39ecf
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xdc6e6c7c
add eax, 0x3391a504
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x41471
push 0
call eax
mov ecx, 0x4d74
mov edi, eax
mov ebx, 0x4361c5a5
add ebx, 0xcca2245b
add ebx, dword [ebp - 0x1c]
mov esi, 0x867cff6f
xor dword [ebp - 0x10], edx
mov edx, dword [ebx]
mov dword [ebp - 0x18], 0x91ae728d
add edx, esi
add dword [ebp - 8], ebx
mov dword [edi], edx
xor dword [ebp - 0x14], 0xce983fce
add edi, 4
add ebx, 0x7295d535
sub ebx, 0x7295d531
loop 0x10011aa0
add eax, 0x128a3
mov ebx, eax
add eax, 0x9345d0ef
sub eax, 0x9345d0ea
mov ecx, 0x2e1f8591
sub ecx, 0x1e1f8591
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4133ab
Capabilities:
Encode data using xor

Disassembly:
push esi
lea esi, [ecx + 0x10]
mov edx, dword [esi]
mov eax, edx
and eax, 0xffffc000
add eax, 0x4000
xor eax, edx
and eax, 0xfffc000
mov ecx, edx
xor edx, eax
mov eax, ecx
lock cmpxchg dword [esi], edx
mov edx, eax
cmp edx, ecx
jne 0x4133b1
pop esi
ret
Function at 0x41cb19
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x41e1c9
call fcn.00405af4
mov ebx, ecx
cmp byte [ebx + 0x21], 0
jne 0x41cbc0
cmp dword [ebp + 8], 0x10
jne 0x41cc8d
mov eax, dword [ebx + 0x80]
cmp eax, 0x10
jb 0x41cc8d
lea esi, [ebx + 0x24]
push eax
mov ecx, esi
call main
cmp dword [esi], 0
jne 0x41cb5f
call fcn.00405d2c
push dword [ebp + 8]
lea eax, [ebx + 0x74]
push eax
push dword [ebx + 0x80]
push dword [esi]
call dword [sym.imp.msvcr100.dll_memcpy_s]
mov edx, dword [ebx + 0x80]
add esp, 0x10
cmp edx, dword [ebp + 8]
je 0x41cbc0
push 5
pop ecx
lea eax, [ebx + 0x28]
push eax
mov edi, eax
lea eax, [ebp + 8]
push eax
mov esi, 0x402dd8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x24]
lea eax, [edx - 0x10]
push eax
lea eax, [ecx + 0x10]
push eax
push dword [ebx + 0x14]
mov word [ebx + 0x20], 0x101
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x41cc8d
mov byte [ebx + 0x20], al
jmp 0x41cc8d
lea edi, [ebx + 0x24]
mov eax, dword [edi]
test dword [eax + 4], 0x2000000
je 0x41cc15
push 0x421748
push dword [eax + 0xc]
call main
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x41cb5a
mov eax, dword [edi]
push dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
push eax
push ecx
call sub.msvcr100.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call main
cmp dword [ebp - 0x10], 0
je 0x41cc76
push dword [ebp - 0x10]
call sub.msvcr100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x41cc76
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x7c]
mov ecx, ebx
call main
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x41cc67
mov eax, dword [edi]
and dword [ebp - 0x10], 0
test byte [eax + 7], 1
je 0x41cc49
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
js 0x41cc5d
jmp 0x41cc56
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
test al, al
jne 0x41cc5d
mov dword [ebp - 0x10], 0x8007000d
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41cc76
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [edi]
test eax, eax
je 0x41cc86
and dword [edi], 0
push eax
call main
pop ecx
mov ecx, ebx
call main
call fcn.00405bcc
ret 4
Function at 0x12b96ddc
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12b96de6
pushal
call 0x12b96dec
add byte [eax], al
pop ebp
sub ebp, 0x10
sub ebp, 0x2b96ddc
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12b96e10
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x12b96e19
mov eax, 0x2b96ddc
add eax, ebp
add eax, 0x63
mov ecx, 0x5b7
mov edx, 0x57fca12f
xor byte [eax], dl
inc eax
dec ecx
jne 0x12b96e30
jmp 0x12b96e43
movsb byte es:[edi], byte [esi]
loop 0x12b96dea
cmpsb byte [esi], byte es:[edi]
adc ebp, dword [edi]
das
das
scasb al, byte es:[edi]
out dx, al
xlatb
das
das
das
sub al, 0xe2
xchg edi, eax
sub dword [edi], ebp
das
das
xchg ebp, eax
pop es
das
das
das
fmul st(5)
sub al, 0xe7
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
and ebp, dword [edi]
das
das
sub al, 0xea
mov byte [0xa6d30b4b], al
sub ecx, dword [ebx]
jg 0x12b96eb9
rdpmc
jnp 0x12b96ea5
inc edi
xchg esi, eax
jle 0x12b96ec4
sub eax, 0x470b032e
jo 0x12b96e87
std
and edi, eax
sub ch, byte [edi]
das
das
mov byte [ecx], 0x2f
das
das
mov byte [0xa6d30b4b], al
add ecx, dword [ebx]
jnp 0x12b96f08
movsb byte es:[edi], byte [esi]
stosb byte es:[edi], al
daa
das
das
das
movsb byte es:[edi], byte [esi]
mov edx, 0x2f2f2f23
movsb byte es:[edi], byte [esi]
mov byte [0x2f2f2f3f], al
das
das
das
out dx, al
invalid
and ebp, dword [edi]
movsb byte es:[edi], byte [esi]
mov dword [0x2f2f2b0b], eax
das
inc edi
rdpmc
jnp 0x12b96ef6
xor edi, dword [ebx + 0x2f]
inc edi
xchg esi, eax
jle 0x12b96f15
sub eax, 0x7e0b032e
invalid
scasb al, byte es:[edi]
fnstsw word [ecx - 0x51dc08e8]
fnstsw word [ecx + 0x1c23f718]
std
lodsb al, byte [esi]
invalid
and byte [ebx + 0x2f2f2f61], ch
and byte [edi + 0x2f2f2f67], ah
dec ecx
movsb byte es:[edi], byte [esi]
xor edx, dword [esi]
scasd eax, dword es:[edi]
aam 0xc7
and byte [ebx + 0x2f2f2f35], ch
scasd eax, dword es:[edi]
aam 0xc6
and byte [ebx + 0x2f2f2f3e], ch
dec ecx
scasb al, byte es:[edi]
aam 0xd0
or ah, byte [eax]
stosd dword es:[edi], eax
cmp ch, byte [edi]
das
das
outsb dx, byte [esi]
invalid
Function at 0x40c413
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41ff40]
jne 0x40c41d
repz ret
jmp fcn.0040eed1

Function at 0x41435c
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.0040f049
and dword [ebp - 4], 0
cmp dword [0x473c34], 0
mov ebx, eax
jne 0x41440d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4144be
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b238
push edi
call esi
test eax, eax
je 0x4144be
push eax
call fcn.0040efd7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x473c34], eax
call esi
push eax
call fcn.0040efd7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x473c38], eax
call esi
push eax
call fcn.0040efd7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x473c3c], eax
call esi
push eax
call fcn.0040efd7
pop ecx
mov dword [0x473c44], eax
test eax, eax
je 0x41440d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040efd7
pop ecx
mov dword [0x473c40], eax
mov eax, dword [0x473c40]
cmp eax, ebx
je 0x414465
cmp dword [0x473c44], ebx
je 0x414465
push eax
call fcn.0040f052
push dword [0x473c44]
mov esi, eax
call fcn.0040f052
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414465
test edi, edi
je 0x414465
call esi
test eax, eax
je 0x41445c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41445c
test byte [ebp - 0xc], 1
jne 0x414465
or dword [ebp + 0x10], 0x200000
jmp 0x41449e
mov eax, dword [0x473c38]
cmp eax, ebx
je 0x41449e
push eax
call fcn.0040f052
pop ecx
test eax, eax
je 0x41449e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41449e
mov eax, dword [0x473c3c]
cmp eax, ebx
je 0x41449e
push eax
call fcn.0040f052
pop ecx
test eax, eax
je 0x41449e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x473c34]
call fcn.0040f052
pop ecx
test eax, eax
je 0x4144be
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4144c0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fff0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x420012
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x420019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x420008
mov eax, 1
add ebx, ebx
jne 0x42002b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420020
jne 0x42003c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420020
xor ecx, ecx
sub eax, 3
jb 0x420050
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4200c2
mov ebp, eax
add ebx, ebx
jne 0x42005b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x420068
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42008c
inc ecx
add ebx, ebx
jne 0x420078
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42006d
jne 0x420089
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42006d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4200ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42009d
jmp 0x42000e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4200ac
add edi, ecx
jmp 0x42000e
pop esi
mov edi, esi
mov ecx, 0xc3c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4200ca
cmp byte [edi], 2
jne 0x4200ca
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 eax, ebx
loop 0x4200cf
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x420147
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x247dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24854]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4200fc
mov ecx, edi
jns 0x42012b
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 + 0x24858]
or eax, eax
je 0x420141
mov dword [ebx], eax
add ebx, 4
jmp 0x420119
call dword [esi + 0x2485c]
popal
jmp 0x41215f
Function at 0x1002161f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1002162e
pop dword [ebp - 0x38]
mov eax, 0x176a5f30
sub eax, 0x7684902
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xc41f5cb4
add dword [ebp - 0x48], 0x8a32e897
mov dword [ebp - 0x44], 0x91e8ef86
add dword [ebp - 0x44], 0xa04a5cbf
mov dword [ebp - 0x40], 0x968b72bb
add dword [ebp - 0x40], 0xb5c0d173
mov dword [ebp - 0x3c], 0xf22d915d
add dword [ebp - 0x3c], 0xdd26ea3
lea eax, [ebp - 0x48]
push eax
mov eax, 0x8b113261
add eax, 0x84f11def
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x67a72042
sub dword [ebp - 0x48], 0xf334b6ec
mov dword [ebp - 0x44], 0xb82e77a
sub dword [ebp - 0x44], 0xca168605
mov dword [ebp - 0x40], 0xbbcca090
sub dword [ebp - 0x40], 0x585d3424
mov dword [ebp - 0x3c], 0x9467bbcb
sub dword [ebp - 0x3c], 0x9467bbcb
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x40c9c
push 0
call eax
mov ecx, 0x543c
xor edx, edx
add edx, eax
mov esi, 0x10035a00
add esi, dword [ebp - 0x38]
mov ebx, 0x36434a59
add ebx, 0xb836dc01
sub dword [ebp - 0x28], edi
mov edi, dword [esi]
mov dword [ebp - 8], 0xae37b9e9
xor edi, ebx
xor dword [ebp - 8], 0x333887ff
mov dword [edx], edi
sub dword [ebp - 0x34], 0xe082f6b2
add edx, 4
add esi, 0x1b187abe
add esi, 0xe4e78546
loop 0x10021741
add eax, 0x143c3
mov ebx, eax
add eax, 0xd2ef1c06
sub eax, 0xd2ef1c01
mov ecx, 0x38049e98
add ecx, 0xd7fb6168
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

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

Function at 0x409420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40942f
pop dword [ebp - 0x38]
mov eax, 0x40942f
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x3e181488
add dword [ebp - 0x48], 0x103a30c3
mov dword [ebp - 0x44], 0xc850a32c
sub dword [ebp - 0x44], 0x961d56e7
mov dword [ebp - 0x40], 0x7fe112c3
add dword [ebp - 0x40], 0xcc6b316b
mov dword [ebp - 0x3c], 0xdbc5a4ec
add dword [ebp - 0x3c], 0x243a5b14
lea eax, [ebp - 0x48]
push eax
mov eax, 0xa2542ea5
add eax, 0x5deca1af
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x1e73b550
add dword [ebp - 0x48], 0x55feb406
mov dword [ebp - 0x44], 0xd05f7774
add dword [ebp - 0x44], 0x710cea01
mov dword [ebp - 0x40], 0x5561f8f0
add dword [ebp - 0x40], 0xe0d737c
mov dword [ebp - 0x3c], 0x837e3db1
sub dword [ebp - 0x3c], 0x837e3db1
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x4f57d0dd
add eax, 0xb0e8ff6f
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x385c6
push 0
call eax
mov ecx, 0xdbcc4228
sub ecx, 0xdbcbfede
xor edx, edx
add edx, eax
mov ebx, 0xba4c3347
sub ebx, 0xba0a8347
add ebx, dword [ebp - 0x38]
mov esi, 0x91b028b3
mov dword [ebp - 0x18], 0xdfd5b6c3
mov edi, dword [ebx]
mov dword [ebp - 0xc], 0xa825b068
xor edi, esi
add dword [ebp - 0xc], 0x8da35380
mov dword [edx], edi
add dword [ebp - 8], 0x856deec6
add edx, 0x324703a5
add edx, 0xcdb8fc5f
add ebx, 4
loop 0x409548
add eax, 0xfffb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc6249c6a
sub ecx, 0xc5e49c6a
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x403015
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x403024
pop dword [ebp - 0x48]
mov eax, 0x403024
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xe6e5d6e4
sub dword [ebp - 0x58], 0x98939199
mov dword [ebp - 0x54], 0xc23e79a9
add dword [ebp - 0x54], 0x6ff4d29c
mov dword [ebp - 0x50], 0xaf09edee
add dword [ebp - 0x50], 0x9d425640
mov dword [ebp - 0x4c], 0xa1a0e5ae
sub dword [ebp - 0x4c], 0xa1a0e5ae
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8f5967e7
add eax, 0x70e71891
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xe7262764
add dword [ebp - 0x58], 0x8d4c41f2
mov dword [ebp - 0x54], 0x295c3dda
add dword [ebp - 0x54], 0x1810239b
mov dword [ebp - 0x50], 0xf86af1bd
sub dword [ebp - 0x50], 0x94fb8551
mov dword [ebp - 0x4c], 0x2d80403d
add dword [ebp - 0x4c], 0xd27fbfc3
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf182cceb
add eax, 0xebdb391
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x38ae0
push 0
call eax
mov ecx, 0xb9910a30
sub ecx, 0xb990bb9f
mov esi, eax
mov edi, 0x1c82529c
add edi, 0xe3c33f64
add edi, dword [ebp - 0x48]
mov ebx, 0x21718b3a
add ebx, 0xc0c43155
add dword [ebp - 0x3c], 0x3e943ec2
mov edx, dword [edi]
sub dword [ebp - 0x24], esi
xor edx, ebx
add dword [ebp - 0x1c], esi
mov dword [esi], edx
xor dword [ebp - 0xc], edi
add esi, 0xb5cf6fb
sub esi, 0xb5cf6f7
add edi, 0x4663b858
sub edi, 0x4663b854
loop 0x403141
add eax, 0xb4edabe9
sub eax, 0xb4ec7ed2
mov ebx, eax
add eax, 5
mov ecx, 0x9b503cfb
add ecx, 0x64efc305
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403203
pop dword [ebp - 0x3c]
mov eax, 0x9b6e002e
sub eax, 0x9b2dce2b
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x293d4240
add dword [ebp - 0x4c], 0x2515030b
mov dword [ebp - 0x48], 0x8110fe80
add dword [ebp - 0x48], 0xb1224dc5
mov dword [ebp - 0x44], 0x5f0ca561
sub dword [ebp - 0x44], 0x12c06133
mov dword [ebp - 0x40], 0xdc6fc420
sub dword [ebp - 0x40], 0xdc6fc420
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xa57039d2
sub eax, 0xa52fb946
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xda7e2064
add dword [ebp - 0x4c], 0x99f448f2
mov dword [ebp - 0x48], 0x60226ee4
sub dword [ebp - 0x48], 0x1eb60d6f
mov dword [ebp - 0x44], 0xaf9f9cc
sub dword [ebp - 0x44], 0xa78a8d60
mov dword [ebp - 0x40], 0x58c3a548
add dword [ebp - 0x40], 0xa73c5ab8
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x36bc9
push 0
call eax
mov ecx, 0xf475178d
sub ecx, 0xf474cefb
xor esi, esi
add esi, eax
mov edi, 0x38cabdbf
add edi, 0xc7765241
add edi, dword [ebp - 0x3c]
mov ebx, 0x2d5da5dc
add ebx, 0xfb8a993b
mov edx, dword [edi]
sub dword [ebp - 0x38], edi
sub edx, ebx
xor dword [ebp - 0x34], 0xa7779c56
mov dword [esi], edx
xor dword [ebp - 0x10], eax
add esi, 4
add edi, 0x30678bd4
add edi, 0xcf987430
loop 0x403322
add eax, 0x91e2a5f8
add eax, 0x6e1e6f23
mov ebx, eax
add eax, 0x36f574d7
sub eax, 0x36f574d2
mov ecx, 0x92f963fe
sub ecx, 0x92b963fe
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x10008d07
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x100210e4]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 4]
or eax, 0x2001f
mov dword [esp + 0x10], ebx
push eax
push ecx
push dword [edi]
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.100090e6
mov esi, eax
test esi, esi
je 0x10008d6d
cmp dword [esp + 0xc], ebx
je 0x10008d66
push dword [esp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
jmp 0x10008dfc
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ebx
mov ebx, dword [sym.imp.advapi32.dll_RegEnumKeyExW]
jmp 0x10008db1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.100090e6
mov esi, eax
test esi, esi
jne 0x10008e13
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x28]
mov dword [esp + 0x38], 0x100
call ebx
test eax, eax
je 0x10008d88
cmp dword [esp + 0xc], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10008ddb
push dword [esp + 0xc]
call esi
and dword [esp + 0xc], 0
push dword [esp + 0x1c]
and dword [esp + 0x14], 0
mov ecx, edi
call fcn.100090e6
cmp dword [esp + 0xc], 0
mov edi, eax
je 0x10008dfa
push dword [esp + 0xc]
call esi
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100158fe
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], 0
jmp 0x10008d5a
Function at 0x10009943
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x100174bf
call fcn.10016e93
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100099c0
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100099c0
call fcn.100080da
mov esi, eax
jmp 0x10009ac6
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x100099e3
call fcn.100080da
jmp 0x10009ab9
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100099d9
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10009a16
mov esi, 0x8007000e
jmp 0x10009abb
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10009ae9
jb 0x10009a31
cmp eax, 0xffffffff
ja 0x10009ae9
cmp eax, 0x400
jbe 0x10009a46
push eax
lea ecx, [ebp - 0x418]
call fcn.100090e6
jmp 0x10009a68
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10009a68
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10009a0c
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100099d9
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.100090e6
mov esi, eax
test edi, edi
je 0x10009ac6
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009adf
lea ecx, [ebp - 0x418]
call fcn.100080a2
mov eax, esi
call fcn.10016de8
ret 0x10
push 0x80070216
call fcn.100090e6
int3