joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493bb0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5034c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x53806c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
push 0
push 0
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x28]
call fcn.0040e440
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
je 0x493cb5
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004175b0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00417600
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x28]
call fcn.00405220
movzx edx, al
test edx, edx
jne 0x493cb5
lea ecx, [ebp - 0x28]
call fcn.004052a0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00417600
movzx eax, word [eax]
test eax, eax
jne 0x493c89
lea ecx, [ebp - 0x28]
call fcn.004052a0
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e160
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e340
lea ecx, [ebp - 0x40]
call fcn.0040e2f0
push str.microsoft_sharedinkTabTip.exe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0041f410
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040e340
lea ecx, [ebp - 0x58]
call fcn.0040e2f0
lea ecx, [ebp - 0x28]
call fcn.00405220
movzx eax, al
test eax, eax
je 0x493cd1
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.004177b0
push 0xa
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0040e230
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e2f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9f48
mov esp, ebp
pop ebp
ret
Function at 0x4a41d7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.00405220
test al, al
je 0x4a41e7
xor al, al
pop esi
ret
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
pop esi
sete al
ret

Function at 0x4a41fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.00405220
test al, al
jne 0x4a4224
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a4224
test al, 0x10
jne 0x4a4224
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x4a4228
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.00405220
test al, al
jne 0x4a424f
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4a424f
test al, 0x10
je 0x4a424f
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x4a4278
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2cc
mov eax, 0x504080
call fcn.004ba7b7
mov esi, ecx
push 0x522e14
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0041f410
and dword [ebp - 4], 0
lea eax, [ebp - 0x2a8]
push 0x250
push 0
push eax
call fcn.004d66a0
add esp, 0x18
lea eax, [ebp - 0x2a8]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040e230
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, eax
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x27c]
push eax
call fcn.0040e3d0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push 0x51e008
push eax
call fcn.0044d740
pop ecx
pop ecx
test al, al
jne 0x4a4394
lea eax, [ebp - 0x40]
push 0x522e20
push eax
call fcn.0044d740
pop ecx
pop ecx
test al, al
jne 0x4a4394
push 0x51dc48
lea eax, [ebp - 0x2d8]
push esi
push eax
call fcn.0041f410
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004605f0
add esp, 0x18
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 4
call fcn.0040e2f0
lea ecx, [ebp - 0x28]
call fcn.004a4228
lea ecx, [ebp - 0x28]
test al, al
je 0x4a4365
call fcn.004a4278
jmp 0x4a438c
call fcn.0040e230
push eax
lea ecx, [ebp - 0x2c0]
call fcn.0040e3d0
lea ecx, [ebp - 0x2c0]
call fcn.004a4253
lea ecx, [ebp - 0x2c0]
call fcn.0040e2f0
lea ecx, [ebp - 0x28]
call fcn.0040e2f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0040e2f0
test ebx, ebx
jne 0x4a42ca
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
lea ecx, [ebp - 0x58]
setne bl
call fcn.0040e2f0
mov al, bl
call fcn.004ba761
ret
Function at 0x4a43f9
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x5040be
call fcn.004ba7b7
mov esi, ecx
call fcn.00405220
test al, al
je 0x4a441a
xor al, al
jmp 0x4a4509
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a4507
mov ecx, esi
call fcn.0040e230
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x4a4507
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004d66a0
add esp, 0xc
mov ecx, esi
call fcn.0040e230
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e7f14
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040e3d0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4a44f8
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0044d740
pop ecx
pop ecx
test al, al
jne 0x4a44f8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040e3d0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.004a43f9
lea ecx, [ebp - 0x248]
mov bl, al
call fcn.0040e2f0
test bl, bl
je 0x4a44f6
mov ecx, esi
call fcn.004a43d2
mov bl, al
jmp 0x4a44f8
xor ebx, ebx
lea ecx, [ebp - 0x230]
call fcn.0040e2f0
mov al, bl
jmp 0x4a4509
mov al, 1
call fcn.004ba761
ret

Function at 0x4be870
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004be880

Function at 0x4beba0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x50c1a0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x50c1a0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x50c1a0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x50c1a0]
mov eax, edx
pop ebp
ret

Function at 0x4bede0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004bedf0

Function at 0x4c12fd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4ecdbb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004eca62

Function at 0x4ecdc6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ecbec
Function at 0x408710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x407015
lea edi, [esi - 0x6015]
push edi
or ebp, 0xffffffff
jmp 0x408732
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408739
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408728
mov eax, 1
add ebx, ebx
jne 0x40874b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408740
jne 0x40875c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408740
xor ecx, ecx
sub eax, 3
jb 0x408770
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4087e2
mov ebp, eax
add ebx, ebx
jne 0x40877b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4087ac
inc ecx
add ebx, ebx
jne 0x408798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40878d
jne 0x4087a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40878d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4087cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4087bd
jmp 0x40872e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4087cc
add edi, ecx
jmp 0x40872e
pop esi
mov edi, esi
mov ecx, 0x5a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4087ea
cmp byte [edi], 0
jne 0x4087ea
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 al, bl
loop 0x4087ef
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x40885e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x82c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x834c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40881c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8350]
or eax, eax
je 0x408858
mov dword [ebx], eax
add ebx, 4
jmp 0x408839
call dword [esi + 0x8360]
mov ebp, dword [esi + 0x8354]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408892
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, reloc.uxtheme.dll_HitTestThemeBackground
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4a14f4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a15cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a15e8
push ebx
push 0x4a15f8
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040a768
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004077c0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a494
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a1576
mov ax, 0x83
call fcn.004a1118
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a14c8
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a157f
call fcn.004a14c8
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a15d4
lea eax, [ebp - 4]
call fcn.00409a3c
pop eax
jmp eax

Function at 0x4a16e8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a17b1
jmp 0x4a17a5
cmp dword [esi + 0x10], 0x1000
jne 0x4a1793
test byte [esi + 0x15], 1
jne 0x4a1793
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a1744
cmp ebp, 2
je 0x4a1744
cmp ebp, 0x10
je 0x4a1744
cmp ebp, 0x20
jne 0x4a1760
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a1760
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a1771
mov eax, dword [esi]
add eax, ebx
call fcn.004a16e0
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a1764
cmp byte [esp + 4], 0
je 0x4a1793
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov edi, dword [esi]
add edi, dword [esi + 0xc]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a17b1
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a1719
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40147e
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xchg cl, dl
ror al, cl
xor al, cl
xchg cl, dl
xor al, ah
stosb byte es:[edi], al
inc dx
loop 0x401483
ret

Function at 0x401494
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xor al, ah
xchg cl, dl
xor al, cl
rol al, cl
xchg cl, dl
stosb byte es:[edi], al
inc dx
loop 0x401499
ret
Function at 0x11349a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1178e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1192014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x11930ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.011480c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x1192a8c
push eax
call fcn.011480c0
mov esi, dword [0x11930fc]
xor ebx, ebx
mov edi, dword [0x1193100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x1196390], bl
mov eax, ebx
mov ecx, 0x11930ec
cmovae ecx, dword [0x11930ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x11964a0], al
inc ebx
cmp ebx, 0x100
jl 0x1134a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x1196390]
movzx eax, byte [esi + 0x11964a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x1134a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x1196390]
mov byte [esi + 0x1196390], al
inc esi
mov byte [edi + 0x1196390], dl
cmp esi, 0x100
jl 0x1134a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.01134690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1134ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1134abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1134b1f
push edx
push ecx
call fcn.0114d663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x1134b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1134b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1134b1f
push edx
push ecx
call fcn.0114d663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.01166c6a
int3
Function at 0x11370a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x1192014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0xca0a00
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1137289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x1137289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.011640f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0xca0ad3
nop
test eax, eax
je 0x1137289
push 4
push 0x1000
push 4
push 0
call 0xca030b
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x94011e
nop
test eax, eax
je 0x1137289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x1188df8
push dword [esp + 0x30]
call 0x9405b8
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x11371ac
push 0x1188dfc
push 0x1188e14
call 0xb50e16
nop
push eax
call 0x94032d
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x9403f1
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x1137289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0xca08ee
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x1137243
mov dword [esp + 0xc], eax
call fcn.01136ef0
push eax
call 0xb406e9
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0xca08ee
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x11371f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0xca08ee
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x9408d9
nop
push dword [esp + 0x24]
call 0xb50ebe
nop
push 0x8000
push 0
push esi
call 0xca080f
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0114cff1
mov esp, ebp
pop ebp
ret
Function at 0x113af20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1179726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x1192014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.01168b63
push eax
call fcn.01166660
add esp, 8
call fcn.0116663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0116663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0116663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.011345b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x113afd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x113afe6
push 0x40
push 0
push 0x1198560
sub esi, ecx
call fcn.011640f0
add esp, 0xc
mov dword [0x1198554], 0
mov edx, esi
mov dword [0x1198550], 0
lea ecx, [ebp - 0x410]
mov dword [0x1198540], 0x67452301
mov dword [0x1198544], 0xefcdab89
mov dword [0x1198548], 0x98badcfe
mov dword [0x119854c], 0x10325476
call fcn.01135530
call fcn.011355f0
mov ecx, 0x11965a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x113b071
sub ecx, edx
push ecx
push 0x11965a0
lea ecx, [ebp - 0x42c]
call fcn.011480c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x113b0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x113b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x113b18c
push edx
push ecx
call fcn.0114d663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x113b187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.011480c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x113b169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x113b15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x113b18c
push edx
push ecx
call fcn.0114d663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0114cff1
mov esp, ebp
pop ebp
ret
call fcn.01148200
call fcn.01166c6a
int3
Function at 0x114dcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x1070450
nop
test eax, eax
je 0x114dd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x114dd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x114dd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x114dd07
cmp dword [ecx + 0x74], 0xe
jbe 0x114dd07
cmp dword [ecx + 0xe8], 0
je 0x114dd07
mov al, 1
ret
xor al, al
ret
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x3df37b54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3eab3c20
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219