joyce8/EMBER2024-capa huggingface dataset:
Function at 0x577ce0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov edx, dword [eax + 8]
mov ecx, esi
call fcn.005810a0
mov dword [ebp - 0x10], edx
mov edi, eax
push eax
call sub.KERNEL32.dll_GetDriveTypeW
mov ebx, eax
cmp eax, 7
mov dword [ebp - 0x14], eax
jb 0x577d4a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], 0x605464
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x42bbb0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x34]
push eax
call fcn.0044fbf0
add esp, 4
xor ebx, ebx
cmp dword [ebp - 0x10], 0
mov word [edi], 0
je 0x577d64
mov eax, dword [0x607460]
push edi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
je 0x577d7c
mov eax, dword [0x607460]
push esi
push 0
push dword [eax]
call sub.KERNEL32.dll_HeapFree
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x58be10
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00586890
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00586890
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x58be70
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x632b30]
test esi, esi
jle 0x58bf90
mov eax, dword [0x632b34]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x58bea4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x58bf27
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x58be90
mov dword [esp], ebx
call fcn.0058c860
mov edi, eax
test eax, eax
je 0x58bfb7
mov eax, dword [0x632b34]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0058c9a0
mov edx, dword [0x632b34]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x58bf97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x58bf20
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x58bf30
add dword [0x632b30], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x632b34]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x58bf20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0058be10
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x58beae
mov eax, dword [0x632b34]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0058be10
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0058be10
lea esi, [esi]
nop
Function at 0x58c4d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x632b4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x632b44]
sub esp, 4
test ebx, ebx
je 0x58c525
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x58c51e
test esi, esi
je 0x58c51e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x58c500
mov dword [esp], 0x632b4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x58c860
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x58c885
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x58c890
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x58c885
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x58c8d8
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x58c8ce
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x58c8da
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x58c8c0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x40e37a
Capabilities:
Terminate process

Disassembly:
call fcn.00575000
jmp 0x40e37a
push 0x58
push 0x410eb8
call fcn.0040edb8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x413df0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40e3cc
cmp eax, esi
jne 0x40e3bf
xor esi, esi
inc esi
mov edi, esi
jmp 0x40e3cf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e3a3
xor esi, esi
inc esi
cmp dword [0x413df4], esi
jne 0x40e3e1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x40e41b
cmp dword [0x413df4], ebx
jne 0x40e415
mov dword [0x413df4], esi
push 0x402db8
push 0x402dac
call fcn.0040e559
pop ecx
pop ecx
test eax, eax
je 0x40e41b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e549
mov dword [0x413644], esi
cmp dword [0x413df4], esi
jne 0x40e43e
push 0x402da8
push 0x402d94
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x413df4], 2
test edi, edi
jne 0x40e44b
xor eax, eax
mov ecx, 0x413df0
xchg dword [ecx], eax
cmp dword [0x413e00], 0
je 0x40e477
push 0x413e00
call fcn.0040ec10
pop ecx
test eax, eax
je 0x40e477
push ebx
push 2
push ebx
mov esi, dword [0x413e00]
mov ecx, esi
call dword [0x4144bc]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x40e4d5
test cl, cl
je 0x40e4a4
test edi, edi
jne 0x40e4d5
test cl, cl
je 0x40e4a4
cmp cl, 0x20
ja 0x40e4a4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x40e493
test byte [ebp - 0x3c], 1
je 0x40e4b0
movzx eax, word [ebp - 0x38]
jmp 0x40e4b3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x413640], eax
cmp dword [0x413658], 0
jne 0x40e52e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x40e4e6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x40e4f9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40e484
cmp dword [0x413644], 0
jne 0x40e542
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x413640]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40eaf4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x410f58
call fcn.0040edb8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40eb54
cmp eax, 0xffffffff
je 0x40eb54
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40eb4d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40eb4d
cmp edx, 0x10000000
jae 0x40eb4d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40eb4a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1001f5a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1001f5be
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1001f5b3
pop esi
ret
Function at 0x1005008a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1005023a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x10050188
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1005012b
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x1005016e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x10050142
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x1005015d
test al, 0x40
je 0x10050154
mov ecx, dword [edi + 0x20]
jmp 0x1005015b
test al, 0x80
je 0x1005016e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x1005016e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100500fa
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1007e010
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x1007e048
jmp 0x1007e02c
lea esp, [esp + 4]
jmp 0x1007dff3
jmp 0x1007e064
jmp 0x1007e080
push ebx
jmp 0x1007e09c
jmp 0x1007e0b8
push ebp
jmp 0x1007e0d4
jmp 0x1007e0f0
push esi
jmp 0x1007e10c
jmp 0x100b2924
push edi
movzx edx, byte [eax]
jmp 0x100b2dbb
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x10087990]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x10087990]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10087990]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x10087990]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.1009f1c8
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x10087990]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x10087990]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x10087990]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x10087990]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x100891b8
jne 0x100b2eb9
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10080154
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x100b4eb0
lea esp, [esp + 4]
jmp fcn.100b4e83

Function at 0x100947b7
Capabilities:
Encode data using xor

Disassembly:
push 0x95d45
call fcn.10095a47
xchg edx, eax
sbb al, 0xb2
aad 0x24
rcl dl, 0x7d
adc eax, 0xa2681334
push 0x962a2
invalid
jno 0x100947e6
add byte [eax], al
push dword [eax - 0x1a]
xor dword [eax - 0x6e], 0x65c0684f
or dword [eax], eax
call fcn.10095a47
cmc
add ch, dh
jg 0x100947d9
mov bh, byte [ecx + 0x6e]
lodsd eax, dword [esi]
and byte [esi - 0x342bdf2f], dh
pop edi
iretd

Function at 0x100a15f9
Capabilities:
Encode data using base64

Disassembly:
call 0x1007f135
jmp 0x1007f30e

Function at 0x100a1ed6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x100800d0
jmp 0x1008014f

Function at 0x100a213a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100814d7
jmp 0x10081623

Function at 0x100ad4d3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x100ad54a
xor eax, eax
pop ebp
ret
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100ad4e4
xor edx, edx
mov ecx, 0x10b
jmp 0x100ad51c

Function at 0x100adcf5
Capabilities:
Enumerate pe sections

Disassembly:
pop edi
pop esi
pop ebx
pop ebp
ret
inc edx
add eax, 0x28
cmp edx, esi
jb 0x100add1e
jmp 0x100adc20
xor eax, eax
jmp 0x100ad5c7
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x100adc20
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x100ad60b
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x100ad5c7
jmp 0x100ad60b
Function at 0x44c8d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push esi
mov dword [eax + 0x34], 0
lea esi, [eax + 0x60]
mov word [eax + 0x1e], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], 0xffffffff
mov dword [eax + 0x30], 0x20
mov byte [eax + 0x1d], 1
mov dword [eax + 0x48], 4
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x44c916
pop esi
pop ebp
ret

Function at 0x44e710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0046b091
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x44e73b
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x4540bd
Capabilities:
Parse pe header

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

Function at 0x45d305
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 9], 0xbf
call fcn.0045cf71
push eax
push esi
push dword [ebp + 8]
call fcn.0045cf26
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
invalid
inc ebp
invalid
Function at 0x402430
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x10], ax
lea eax, [esp + 0x12]
push eax
mov esi, ecx
call fcn.0040a890
add esp, 0xc
lea eax, [esp + 4]
push eax
push 0x1a
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40249e
lea eax, [esp + 8]
push eax
push dword [esp + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4024b6
mov eax, dword [esp + 4]
test eax, eax
je 0x40249e
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00408f2b
add esp, 0x418
ret
cmp word [esp + 8], 0
jne 0x4024c2
xor ecx, ecx
jmp 0x4024df
lea ecx, [esp + 8]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4024d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00401a30
mov eax, dword [esp + 4]
test eax, eax
je 0x4024fb
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x418]
pop esi
xor ecx, esp
mov al, 1
call fcn.00408f2b
add esp, 0x418
ret
Function at 0x4029b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x412268
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x41b230]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push esi
push edi
mov eax, dword [0x41b230]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
lea eax, [esp + 0x28]
push eax
call fcn.00402900
mov dword [esp + 0x8c], 0
cmp dword [esp + 0x38], 0
je 0x402b14
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x58]
push ecx
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x402b14
mov esi, dword [esp + 0x78]
test esi, esi
je 0x402b14
cmp esi, 0x2800
ja 0x402b14
cmp dword [esp + 0x3c], 8
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x402b14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x17]
push eax
lea eax, [esi + 8]
mov byte [esp + 0x90], 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f], 0
call fcn.004037e0
push 0
lea eax, [esp + 0x1c]
push eax
push esi
mov esi, dword [esp + 0x28]
push esi
push edi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b00
push esi
lea ecx, [esp + 0x44]
call fcn.00401770
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x90], 2
call fcn.004027b0
push ebx
push ecx
lea eax, [esp + 0x48]
push eax
call fcn.00402630
lea ecx, [esp + 0x40]
call fcn.00401850
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x402b14
push esi
call fcn.0040978e
add esp, 4
cmp dword [esp + 0x3c], 8
jb 0x402b27
push dword [esp + 0x28]
call fcn.0040978e
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00408f2b
add esp, 0x80
ret 4
Function at 0x4043a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x412350
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x41b230]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push ecx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004012a0
test eax, eax
je 0x404427
push str.ImageLoaderMain
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404427
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push esi
call eax
add esp, 0x10
mov edi, eax
jmp 0x404429
xor edi, edi
mov dword [esp + 0x28], 2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x404499
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x41d2cc]
mov dword [esp + 0xc], 0
test al, 1
jne 0x404477
or eax, 1
push 0x4123f0
mov dword [0x41d2cc], eax
mov dword [0x41d2c4], 0
mov byte [0x41d2c8], 0
call fcn.004096a9
add esp, 4
call fcn.004044f0
call fcn.00405985
mov ecx, eax
call fcn.004055e7
mov dword [0x41d2c4], 0
mov byte [0x41d2c8], 0
mov dword [esp + 0x28], 0xffffffff
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4044b9
mov ecx, esi
call fcn.00403070
push esi
call fcn.0040978e
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x404850
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x4048a3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4048a3
test al, 0x10
jne 0x4048a3
call fcn.00405985
push edi
mov ecx, eax
call fcn.004055d9
test al, al
jne 0x4048a9
push esi
call fcn.00405985
push 1
push 0x418d18
mov esi, eax
push 0x418d48
push 0x418dc0
mov ecx, esi
call fcn.00406897
push edi
mov ecx, esi
call fcn.00406264
pop esi
xor eax, eax
pop edi
ret 4
push 8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
pop edi
ret 4

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

Disassembly:
push 0x1c
mov eax, 0x411e12
call fcn.0040aaf2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403480
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0x24
push eax
call fcn.00407807
cmp dword [ebp - 0x14], 8
pop ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0
cmp eax, 0xffffffff
push 1
lea ecx, [ebp - 0x28]
setne bl
call fcn.004018e0
mov al, bl
call fcn.0040aab0
ret