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

Disassembly:
jmp 0x113a8c76
pushal
call 0x113a8c7c
pop ebp
sub ebp, 0x10
sub ebp, 0x3a8c6c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x113a8ca0
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x113a8ca9
mov eax, 0x3a8c6c
add eax, ebp
add eax, 0x63
mov ecx, 0x5f8
mov edx, 0xf344aabf
xor byte [eax], dl
inc eax
dec ecx
jne 0x113a8cc0
jmp 0x113a8cd3
xor al, 0x72
xor al, 0x36
cmp dword [edi + 0x7e3ebfbf], 0x47
mov edi, 0x72bcbfbf
pop es
mov ebx, 0x5bfbfbf
xchg edi, eax
mov edi, 0x5d48bfbf
mov esp, 0xb33e3477
mov edi, 0x7abcbfbf
out dx, eax
xor bl, bl
wait
inc ebx
mov ebx, 0xc5bbd79b
mov cl, 0xbf
xlatb
fldcw word [ebp - 0x6c41406d]
wait
xlatb
push eax
loope 0x113a8d43
test al, 0x57
mov edx, 0x56bfbfbf
xchg edi, eax
mov edi, 0x34eabfbf
push ebx
xor al, 0x3a
mov bh, 0xbf
mov edi, 0xb32a34bf
mov edi, 0x3234bfbf
scasd eax, dword es:[edi]
mov edi, 0x567ebfbf
mov ebp, 0x7d3cbd8e
mov ebx, 0x4b3ab0f6
inc eax
inc eax
inc eax
loop 0x113a8dc0
mov bl, 0xbf
xor al, 0x33
wait
mov ebx, 0xd7bfbfbf
mov ebx, 0xd7bfb1c5
fldcw word [ebp - 0x6c41406d]
xchg ebx, eax
wait
out dx, al
push edi
mov edx, 0x56bfbfbf
cli
mov ebp, 0xebeabfbf
loop 0x113a8da8
retf 0x40b3
mov al, 0x3b
scasb al, byte es:[edi]
mov edi, 0x3ed9bfbf
inc esp
inc eax
lcall 0xbfbf, 0xbfaa3bb0
invalid
xrelease xchg byte [esi + 0x3cba7e3c], bh
push edi
mov ebx, 0x40400256
inc eax
xchg esi, eax
jmp 0x113a8d57
Function at 0x100010b0
Capabilities:
Encode data using xor

Disassembly:
maxps xmm5, xmm3
cld
pop edi
popal
cmp al, 0xda
and dword [ebx + ecx*4 - 0x14], esp
mov ebp, esp
in al, dx
inc ebp
ja 0x100010bb
inc ecx
lea esi, [ebx]
imul ebx, dword [0x79e2dfbd], 0x3c
aad 0x62
xchg dword [edx + 0xced0229], ecx
out 0xd7, eax
inc ebx
cmp dword [ebp - 0x76], ebx
mov ebx, 0x41926cfd
xchg edx, eax
inc ecx
xor cl, byte [eax + edi*8 + 0x4481b4f]
pop ecx
and cl, byte [ebp - 0x35]
adc edx, ecx
fbstp tbyte [ecx - 0x3eb182ac]
popal
inc edx
dec esp
das
jge 0x100010da
fdivr qword [edx - 0x63118d9d]
fiadd word [ecx + 0x353b65f7]
push 0xffffffffffffffbb
mov dl, 2
or al, 0x4d
push esi
push ss
inc edi
ja 0x10001187
xchg dh, cl
stc
push edx
jecxz 0x100010ba
cmp esi, dword [eax]
dec esp
imul esi, ebx, 0xceb18ef2
loop 0x10001190
xchg ebx, eax
mov dword [0xec851828], eax
add dword [esp + ecx + 0x4d], 0xffffff86
jle 0x1000110a
fisub dword [edx + 0x47]
inc esi
mov al, byte [0x2cdb2ff1]
in al, dx
dec ebx
mov dword fs:[0xd112939b], eax
wait
xchg ebx, eax
adc dl, cl
mov esp, 0xd21984d3
dec ebx
mov al, byte [0x117b4621]
call 0x9551c398
call 0x9551c398

Function at 0x110bf9c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x110bfa6
pushal
call 0x110bfac
pop ebp
sub ebp, 0x10
sub ebp, 0xd0bf9c
jmp 0x110bfc2
mov eax, 0xd0bf9c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5be
mov edx, 0x43c98803
xor byte [eax], dl
inc eax
dec ecx
jne 0x110bfd9
jmp 0x110bfec
mov dh, cl
mov byte [edx + 0x303033f], cl
add dl, 0xfb
add eax, dword [ebx]
add eax, dword [eax]
into
mov ebx, 0x3030305
mov ecx, 0x303032b
hlt
Function at 0x6ad2c0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dh, dl
bsr edx, edx
sub esp, 0x18
xchg dh, al
jmp 0x6ad2eb
mov al, dh
lea edx, [esi + edi]
xchg dx, di
mov di, 0x4a7e
push word [esp + 0x1a]
cld
jmp 0x6ad331
pop edi
bswap edi
lea eax, [ecx + edx]
xchg byte [esp + 0x18], al
mov dx, 0x1a0d
jmp 0x6adbfc
mov eax, 0x8977443d
rdtsc
rdtsc
lea edx, [ecx + edx]
mov ax, di
push word [esp + 5]
jmp 0x6ad2ff
mov edi, dword [esp + 0xc]
setge al
mov di, ax
mov ah, byte [esp + 6]
pop edi
mov word [esp + 8], dx
call fcn.006ad385
sub esp, 4
xchg dword [esp], edx
lea eax, reloc.WINMM.dll_midiStreamOut
mov edi, ecx
std
jmp 0x6ad4ff
lea edx, [ebp*4]
xchg byte [esp + 0xa], al
call fcn.006ad483
xchg esi, eax
add eax, eax
cmp dword [edx], 0x15
setnp ah
xor ah, 0xc6
shl ah, cl
mov edi, dword [esp + 0xa]
mov dl, bh
xchg dx, ax
jmp 0x6ad424
mov eax, esi
xchg dword [esp], edx
sub esp, 0x13
pop edx
lea edx, [edx + edx]
neg edi
jmp 0x6ad43a
bts edi, ebp
sets dl
setle dh
mov dh, byte [esp + 2]
not eax
push word [esp + 2]
jmp 0x6ad45d
mov ax, bx
mov eax, dword [esp + 3]
xor eax, 0x56c3bf20
mov ah, byte [esp + 3]
lea edx, [esp + edi]
mov dh, byte [esp + 3]
jmp 0x6ad4bc
bsf edx, edi
not dx
bsf dx, dx
std
mov ah, 0x41
mov byte [esp + 4], bl
jmp 0x6ad3e0
mov di, word [esp + 0x18]
shl dh, cl
mov dx, bx
pop dword [esp + 6]
xchg edx, edi
rdtsc
jmp 0x6ad840

Function at 0x930274
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x93027a
pop ebp
sub ebp, 6
sub ebp, 0x530274
jmp 0x9302d8
jmp 0x9302e1
mov eax, 0x530274
add eax, ebp
add eax, 0x93
mov ecx, 0x633
mov edx, 0xce3fa3eb
xor byte [eax], dl
inc eax
dec ecx
jne 0x9302f8
jmp 0x93030b
sub dword [ebx - 0x1404147d], 0x27eb83eb
invalid
Function at 0x42684e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x42685d
pop dword [ebp - 0x4c]
mov eax, 0x93272d2e
add eax, 0x6d1b3b2f
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4d6bd
push 0
mov eax, 0x783f4dd0
sub eax, 0x77fa9b20
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xecc1ec8b
sub ecx, 0xecc1af52
mov edi, eax
mov ebx, 0xd048f300
sub ebx, 0xd0019500
add ebx, dword [ebp - 0x4c]
mov esi, 0x72ae106f
add esi, 0x4d05cdf2
add dword [ebp - 0x30], 0xa09eabb2
mov edx, dword [ebx]
sub dword [ebp - 0x40], 0xef8d247f
xor edx, esi
mov dword [ebp - 0x38], 0xb7284a12
mov dword [edi], edx
add dword [ebp - 0xc], ecx
add edi, 0xd136b884
sub edi, 0xd136b880
add ebx, 4
loop 0x4268bc
add eax, 0x41556074
sub eax, 0x415478bd
xor ebx, ebx
add ebx, eax
add eax, 0x9bdc79b9
add eax, 0x6423864c
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x426a65
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 7
pop ecx
lea edi, [ebp - 0x20]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call dword [sym.imp.advapi32.dll_ControlService]
test eax, eax
jne 0x426ad2
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x426aae
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x426ab5
mov esi, 0x80004005
push esi
push 0x1fc
push str.c:_agent_work138_s_src_burnenginemsuengine.cpp
call fcn.004038f5
push str.Failed_to_stop_wusa_service.
push esi
call main
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042de30
leave
ret 4

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40e1c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x424d28
cmp edx, dword [eax]
je 0x40e1eb
add eax, 8
inc ecx
cmp eax, 0x424db8
jl 0x40e1dc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x424d28]
jne 0x40e319
mov eax, dword [0x4276f0]
cmp eax, 1
je 0x40e2f3
test eax, eax
jne 0x40e21c
cmp dword [0x424704], 1
je 0x40e2f3
cmp edx, 0xfc
je 0x40e319
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40e253
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040e450
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040d7c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40e296
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040d7c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x420be4
push edi
call fcn.00410110
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040e450
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040e460
lea eax, [ebp - 0xa0]
push 0x420bc4
push eax
call fcn.0040e460
push dword [esi + 0x424d2c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040e460
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041007b
add esp, 0x2c
pop edi
jmp 0x40e319
lea eax, [ebp + 8]
lea esi, [esi + 0x424d2c]
push 0
push eax
push dword [esi]
call fcn.0040d7c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x4149a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040ada0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x414a6b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x414a6b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x414a1e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x414a29
or bh, 8
and edi, 0x8000000
je 0x414a44
mov eax, dword [0x428e7c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x414a6b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x414e6b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x414e8f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x414eaa
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x418ced
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x418d2f
call fcn.0041bc13
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x418d2f
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x418d26
xor eax, eax
jmp 0x418d37
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00418d3d
pop edi
pop esi
pop ebx
ret 4

Function at 0x41c2ef
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41c31d
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x41c33b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041c255
jmp 0x41c33b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41c33b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041c255
test edi, edi
mov eax, edi
jne 0x41c325
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409c90
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409c90
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409c90
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409c90
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409c90
mov dword [0x41203c], eax
call fcn.00409c90
test eax, eax
jge 0x402550
push 8
call fcn.00409c90
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409c90
pop ecx
push 1
call fcn.00409c90
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409c90
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409c90
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409c90
jmp 0x402495

Function at 0x409c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x409c9f
pop dword [ebp - 0xc]
mov eax, 0xf93fe228
add eax, 0x700ba77
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x37282
push 0
mov eax, 0xae57a594
sub eax, 0xae16c4bc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3fd5
mov edi, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0xc]
mov edx, 0xf5286da6
sub edx, 0x13955e0
xor dword [ebp - 4], esi
mov esi, dword [ebx]
xor dword [ebp - 8], edx
sub esi, edx
sub dword [ebp - 8], 0xc270c1f4
mov dword [edi], esi
add dword [ebp - 8], 0xa5e749
add edi, 0xaca6c090
sub edi, 0xaca6c08c
add ebx, 0x2a9c58b4
add ebx, 0xd563a750
loop 0x409cf2
add eax, 0xf227
xor ebx, ebx
add ebx, eax
add eax, 0xeaca7b01
add eax, 0x15358504
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x10001d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1002b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
xor eax, eax
push esi
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push edi
mov ecx, 0x3d69a9dc
lea eax, [ebp - 0x218]
mov dword [ebp - 0x244], 0
call fcn.10019f90
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
sete al
test al, al
je 0x10001df3
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x10023830
sub edi, 0x7e80af00
lea esi, [ebp - 0x230]
call fcn.1001a010
lea edx, [ebp - 0x108]
push edx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x234], eax
jmp 0x10001e21
mov ecx, 0x3d69a9dc
lea eax, [ebp - 0x218]
call fcn.10019f90
push eax
call esi
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov word [ebp - 0x210], ax
cmp dword [ebp - 0x234], 0
jne 0x10001e58
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x23c]
mov dword [ebx], edx
mov dword [ebx + 4], eax
pop edi
mov dword [ebx + 8], ecx
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001dcc5
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x238]
push edx
call esi
mov edi, 0x4bddc679
lea esi, [ebp - 0x230]
mov dword [ebp - 0x238], eax
call fcn.1001a050
push eax
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x238]
push 0xc
lea ecx, [ebp - 0x244]
mov esi, eax
xor eax, eax
push ecx
push edx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x21c], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp - 0x23c]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [ebx + 8], edx
mov eax, ebx
pop esi
call fcn.1001dcc5
mov esp, ebp
pop ebp
ret 4

Function at 0x10002cf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push eax
push 4
push esi
mov dword [esi], ecx
call ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10027a58
push 0x1001e309
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1002b018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], 0
lea eax, [edi + 5]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push 0x40
lea eax, [edi + 5]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x20]
push ecx
push 0x40
lea eax, [edi + 5]
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.MSVCR100.dll_memcpy
add esp, 0xc
add esi, edi
mov byte [esi], 0xe9
mov eax, ebx
sub eax, esi
lea ecx, [eax + edi - 5]
mov dword [esi + 1], ecx
lea edx, [ebp - 0x1c]
push edx
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [ebx], 0xe9
mov eax, dword [ebp + 8]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
sub esi, edi
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10002e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 0xf
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf
push edi
call ebx
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0xf
push 0x10014130
call ebx
mov edx, dword [esi]
mov dword [edi], edx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov cx, word [esi + 8]
mov word [edi + 8], cx
lea eax, [ebp - 4]
push eax
add edi, 0xa
push 0x40
mov edx, esi
sub edx, edi
push 0xa
add edx, 5
push esi
mov byte [edi], 0xe9
mov dword [edi + 1], edx
call ebx
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, 0x10014130
sub ecx, esi
push 0xa
sub ecx, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], ecx
call ebx
push 0xa
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [edi - 0xa]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002ef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 8]
push esi
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_memmove]
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push eax
push esi
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop ebx
mov esp, ebp
pop ebp
ret 4