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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x64
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x6c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x6c], 0
je 0x402486
push 0
push 0
push 0
push 0
call sub.pdh.dll_PdhGetDataSourceTimeRangeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xc0000000
jbe 0x402481
mov eax, dword [ebp - 8]
add eax, 0x7c
mov dword [ebp - 8], eax
jmp 0x40250e
push 0
push 0
push 4
push 0
push 0
push 2
push 0x407090
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4024f9
push 0x80
call fcn.00403ff3
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x4024f9
push 0
lea edx, [ebp - 8]
push edx
push 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 4
jne 0x4024f9
push 0
lea edx, [ebp - 8]
push edx
push 4
mov eax, dword [ebp - 4]
add eax, 0x520
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.wing.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 8], 0xe0
jne 0x402523
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x6c]
mov dword [eax + 0x58], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x144], 0x406000
mov ecx, dword [ebp - 4]
mov edx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ecx + 0x138], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10c], 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402d23
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4025c8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x40261e
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
jmp 0x40260b
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0xc]
jae 0x40261e
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
jmp 0x4025f9
push 0
push 0
push 0
push 1
push str.A_WinHTTP_Example_Program_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x402651
push 0
call fcn.0040255d
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x4027df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
xor eax, eax
mov ax, word [edx + 8]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], 0x4d42
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*4 + 0xe]
mov eax, dword [ebp - 0x18]
add edx, dword [eax + 0x14]
mov dword [ebp - 0x26], edx
mov word [ebp - 0x22], 0
mov word [ebp - 0x20], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
lea edx, [edx + ecx*4 + 0xe]
mov dword [ebp - 0x1e], edx
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
lea eax, [edx*4 + 0x28]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4028fd
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4028fd
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret
Function at 0x403b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x70], 0x407210
mov ecx, dword [ebp - 0x34]
mov dword [0x4073b8], ecx
mov edx, dword [ebp - 0x34]
mov dword [edx], 0x84
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x64], 0x300
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.ATL.DLL_AtlModuleInit]
cmp dword [ebp + 0x10], 0
je 0x403b6a
push 0x10
mov ecx, dword [ebp + 0x10]
push ecx
push 0x4073a8
call fcn.00404090
add esp, 0xc
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 1
jbe 0x403c4b
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x403bb4
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x20
jge 0x403be1
mov ecx, dword [ebp - 0x28]
and ecx, 0x80000000
test ecx, ecx
je 0x403bc9
jmp 0x403be1
mov edx, dword [ebp - 0x28]
shl edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
shr ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], ecx
jmp 0x403bab
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
shr ecx, 1
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x74], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x74]
lea edx, [ecx*4 + 4]
push edx
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x78], eax
mov dword [ebp - 0x30], 0
jmp 0x403c24
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx + 0x74]
ja 0x403c49
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x30]
mov dword [edx + ecx*4], eax
jmp 0x403c1b
jmp 0x403c5f
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x74], 0
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403d80
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x403d9d
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
jne 0x403de4
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x22
je 0x403dca
mov edx, dword [ebp - 0x4c]
movsx eax, byte [edx]
test eax, eax
jne 0x403da8
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x22
jne 0x403de2
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x403dfe
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
cmp edx, 0x20
jle 0x403dfe
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x403de4
mov ecx, dword [ebp - 0x4c]
movsx edx, byte [ecx]
test edx, edx
je 0x403e22
mov eax, dword [ebp - 0x4c]
movsx ecx, byte [eax]
cmp ecx, 0x20
jg 0x403e22
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x4c], eax
jmp 0x403dfe
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x403e4b
mov edx, dword [ebp - 0x14]
and edx, 0xffff
mov dword [ebp - 0x50], edx
jmp 0x403e52
mov dword [ebp - 0x50], 0xa
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6dd94245
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x589a22f2
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x815058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8151a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x81507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81506a
add dl, dl
jne 0x815089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8150dc
xor eax, eax
add dl, dl
jne 0x815096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x81517d
add dl, dl
jne 0x8150a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8150b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8150bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8150c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8150d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x815075
mov eax, 1
add dl, dl
jne 0x8150ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8150f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8150e1
sub eax, ebx
mov ebx, 1
jne 0x815128
mov ecx, 1
add dl, dl
jne 0x81510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x815119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x815105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x815075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x81513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x81514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x815136
cmp eax, 0x7d00
jae 0x81516d
cmp eax, 0x500
jb 0x815168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x815075
cmp eax, 0x7f
ja 0x815170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x815075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x81519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x815075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10004b65
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
mov eax, dword [ebp - 0x700]
cmp eax, dword [ebp - 0x688]
jae 0x10004bbd
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
movsx ecx, byte [ebp - 8]
xor eax, ecx
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
mov eax, dword [ebp - 0x6f8]
add eax, dword [ebp - 0x700]
movsx eax, byte [eax]
not eax
mov ecx, dword [ebp - 0x6f8]
add ecx, dword [ebp - 0x700]
mov byte [ecx], al
jmp 0x10004b5e
and byte [ebp - 0x714], 0
and byte [ebp - 0x713], 0
mov byte [ebp - 0x712], 0x71
and byte [ebp - 0x711], 0
mov byte [ebp - 0x710], 0xc8
mov byte [ebp - 0x70f], 0xe2
mov byte [ebp - 0x70e], 0xe1
mov byte [ebp - 0x70d], 0xe1
mov byte [ebp - 0x70c], 0xea
mov byte [ebp - 0x70b], 0xc8
mov byte [ebp - 0x70a], 0xe7
mov byte [ebp - 0x709], 0xf6
mov byte [ebp - 0x708], 0xbc
mov byte [ebp - 0x707], 0x8e
call fcn.100033b3
pop esi
push es
and byte [edx - 0x7435a80], 0xff
inc dword [eax]
and byte [ebp - 0x743], 0
mov byte [ebp - 0x742], 2
and byte [ebp - 0x741], 0
mov byte [ebp - 0x740], 0xb1
mov byte [ebp - 0x73f], 0x92
mov byte [ebp - 0x73e], 0x9c
mov byte [ebp - 0x73d], 0x99
mov byte [ebp - 0x73c], 0xb1
mov byte [ebp - 0x73b], 0x94
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.100033c3
pop ecx
push eax
push dword [ebp + 0x18]
Function at 0x10005580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
adc al, 0xba
out dx, al
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.100033b3
insd dword es:[edi], dx
add al, 0x11
cmpsd dword [esi], dword es:[edi]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x100055a0
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x100055a0
call fcn.100033b3
fisubr word [ecx + ecx*4 + 0x7d]
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.100033b3
test eax, 0xff50d88d
jne 0x100055ea
push dword [ebp + 4]
push dword [ebp]
call fcn.10003bb3
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x1000cec4], eax
call esi
mov dword [0x1000cec8], eax
mov eax, dword [0x1000cec4]
test eax, eax
je 0x10005626
in eax, 0xff
jmp [eax + 0x24]
call eax
mov ebx, eax
test ebx, ebx
je 0x10005626
mov eax, dword [0x1000cec8]
test eax, eax
je 0x10005626
push ebx
call eax
mov ebx, eax
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x18]
push ebx
call dword [0x1000cec0]
pop edi
pop esi
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x622c18d1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2abb721b
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0xa0aea8
Capabilities:
Encode data using xor

Disassembly:
mov edi, eax
mov esi, edx
mov eax, 0x41363233
xor al, byte [esi]
call fcn.00a0aedf
mov ebx, eax
xor ah, byte [esi]
call fcn.00a0aedf
shr ecx, 2
mov edx, ecx
xor dword [edi], eax
mov cl, al
add edi, 4
rol ebx, cl
xor eax, ebx
mov cl, bh
ror eax, cl
add ebx, eax
dec edx
jne 0xa0aec6
ret

Function at 0xa0aedf
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edx
xor edx, edx
dec esi
inc esi
xor ah, byte [esi]
xor al, dl
add eax, 0x6e203cc5
add eax, 0x21424a6
mov cl, al
ror eax, cl
xor eax, 0x8372a5a7
dec dx
jne 0xa0aee8
cmp byte [esi], 0
jne 0xa0aee5
pop edx
pop esi
pop ecx
ret

Function at 0xa0af30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
add edx, 0x89421025
bswap edx
mov eax, dword [esi]
sub eax, edx
xor eax, ebx
mov ebx, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
dec ecx
jne 0xa0af44
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0xa0d05a
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
imul eax, dword [ebp + 0x10], 0x9e3779b9
cmp dword [ebp + 0x10], 0
jbe 0xa0d0ba
mov edx, ebx
shl edx, 4
sub ecx, edx
mov edx, dword [esi + 8]
xor edx, ebx
sub ecx, edx
mov edx, ebx
shr edx, 5
xor edx, eax
sub ecx, edx
sub ecx, dword [esi + 0xc]
mov edx, ecx
shl edx, 4
sub ebx, edx
mov edx, dword [esi]
xor edx, ecx
sub ebx, edx
mov edx, ecx
shr edx, 5
xor edx, eax
sub ebx, edx
sub ebx, dword [esi + 4]
sub eax, 0x9e3779b9
dec dword [ebp + 0x10]
jmp 0xa0d070
mov dword [edi], ebx
mov dword [edi + 4], ecx
popal
leave
ret 0xc
Function at 0x406520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x44
call fcn.00406a60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.00406a60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x64
call fcn.00406a60
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0
push 0x28
push 0
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x408923
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x408932
pop dword [ebp - 0x3c]
mov eax, 0xdbcd99e0
sub eax, 0xdb8d10ae
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xe05c1858
add dword [ebp - 0x4c], 0x6df62cf3
mov dword [ebp - 0x48], 0xe1f69fce
sub dword [ebp - 0x48], 0xafc35389
mov dword [ebp - 0x44], 0x3701a79d
sub dword [ebp - 0x44], 0xeab5636f
mov dword [ebp - 0x40], 0x70aebd54
sub dword [ebp - 0x40], 0x70aebd54
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x177dd61f
add eax, 0xe8c2c9ed
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xfdf58712
sub dword [ebp - 0x4c], 0x89831dbc
mov dword [ebp - 0x48], 0x58bd0dc2
sub dword [ebp - 0x48], 0x1750ac4d
mov dword [ebp - 0x44], 0x491679a6
add dword [ebp - 0x44], 0x1a58f2c6
mov dword [ebp - 0x40], 0xa609edf0
sub dword [ebp - 0x40], 0xa609edf0
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 0x36ad3
push 0
call eax
mov ecx, 0x6a2865bd
add ecx, 0x95d7d9a5
xor edx, edx
add edx, eax
mov edi, 0x11072abe
sub edi, 0x10c36cbe
add edi, dword [ebp - 0x3c]
mov esi, 0xf7763ba2
sub esi, 0x9f8c4e1f
xor dword [ebp - 0x1c], 0x74dceab4
mov ebx, dword [edi]
sub dword [ebp - 0x1c], 0xf961782d
add ebx, esi
sub dword [ebp - 0x20], 0xb19b06fb
mov dword [edx], ebx
mov dword [ebp - 0x1c], 0x92191270
add edx, 0x5f097752
add edx, 0xa0f688b2
add edi, 4
loop 0x408a51
add eax, 0x551189a0
add eax, 0xaaef66bb
mov ebx, eax
add eax, 5
mov ecx, 0x860f8c7d
add ecx, 0x7a307383
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x43bc2e
Capabilities:
Parse pe header

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

Function at 0x43cf09
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 0x43cf2a
jl 0x43cf21
test edi, edi
jne 0x43cf2a
xor eax, eax
xor edx, edx
jmp 0x43cfeb
cmp dword [ebx + 0x38], 0
je 0x43cf3f
push eax
push edi
push dword [ebp + 8]
call fcn.0043cff1
jmp 0x43cfeb
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43cf86
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x43cf86
cmp eax, edi
jb 0x43cf60
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0043df50
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 0x43cf8c
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x43cfe0
mov ecx, ebx
call fcn.0043c763
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x43cfcb
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.004470af
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 0x43cfe0
jmp 0x43cf9e
test edx, edx
je 0x43cfe0
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.004470af
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 0x44a2b5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ea748
push 0x5ea740
push str.FlsAlloc
push 0x1f
call fcn.0044a120
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a2e9
push dword [ebp + 8]
mov ecx, esi
call dword [0x45a178]
call esi
jmp 0x44a2ef
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44a333
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ea758
push 0x5ea750
push str.FlsGetValue
push 0x21
call fcn.0044a120
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a36a
push dword [ebp + 8]
mov ecx, esi
call dword [0x45a178]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x44a372
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5ea760
push 0x5ea758
push str.FlsSetValue
push 0x22
call fcn.0044a120
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44a3ac
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x45a178]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]