joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406799
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414018]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4067e4
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004069bb
test al, al
jne 0x4067de
sub edx, 2
cmp edx, edi
jne 0x4067c4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406806
lea eax, [edi + 2]
cmp edx, eax
je 0x406806
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004066e5
add esp, 0x10
jmp 0x406900
push esi
lea ecx, [ebp - 0x255]
call fcn.004069bb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406849
push dword [ebp - 0x25c]
jmp 0x4067f6
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x406886
cmp word [ebp - 0x226], 0
je 0x4068a7
cmp word [ebp - 0x226], ax
jne 0x406886
cmp word [ebp - 0x224], 0
je 0x4068a7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004066e5
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4068f3
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406860
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4068db
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406900
push 0x406515
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004094d0
add esp, 0x10
jmp 0x4068d0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a64
leave
ret

Function at 0x4083a3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff44
push 0x40ff3c
push str.FlsAlloc
push 0x1e
call fcn.004082e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4083d7
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e10c]
call esi
jmp 0x4083dd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408421
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff54
push 0x40ff4c
push str.FlsGetValue
push 0x20
call fcn.004082e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408458
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4021c6
sub ebx, 0x422580
mov ax, word [ebx + edi*2 + 0x422580]
mov ecx, esi
xor ax, word [edi*2 + 0x422580]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4021a4
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x4963e0], ebx
jne 0x402d9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402d7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x402d7f
shr eax, 1
dec edx
jne 0x402d70
mov dword [ecx*4 + 0x495fe0], eax
inc ecx
cmp ecx, 0x100
jl 0x402d6b
mov dword [0x4963e0], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402dd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x495fe0]
inc ebx
cmp ebx, esi
jb 0x402db7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403d2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
mov eax, 0x5a4d
mov dword [esp + 0x10], ecx
cmp word [esi], ax
je 0x403d4b
xor eax, eax
jmp 0x403eb9
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi + 0x74], 0x10
jne 0x403d44
mov ecx, dword [eax + esi + 0x7c]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x403d44
push ebx
push ebp
push edi
mov edi, dword [eax + esi + 0x78]
xor ebx, ebx
add edi, esi
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x10], eax
add edx, esi
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebx
je 0x403dcc
xor ebp, ebp
cmp dword [edi + 0x14], ebx
jbe 0x403eb4
mov ecx, dword [edx + ebp*4]
add ecx, esi
call fcn.004020de
cmp eax, dword [esp + 0x28]
je 0x403db7
mov edx, dword [esp + 0x24]
inc ebp
cmp ebp, dword [edi + 0x14]
jb 0x403d98
jmp 0x403eb4
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + ebp*2]
mov ebx, dword [ebx + eax*4]
jmp 0x403ddf
mov ebx, dword [esp + 0x2c]
sub ebx, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jae 0x403e73
mov ebx, dword [eax + ebx*4]
add ebx, esi
cmp ebx, edi
jbe 0x403eb4
lea eax, [ecx + edi]
cmp ebx, eax
jae 0x403eb4
push 0x104
call fcn.0040d223
mov esi, 0x100
mov dword [esp + 0x2c], eax
push esi
call fcn.0040d223
push 0x2e
push ebx
mov ebp, eax
call fcn.0040e640
add esp, 0x10
lea edi, [eax + 1]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
push ebp
call esi
sub edi, ebx
push edi
mov edi, dword [esp + 0x2c]
push ebx
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x423f68
push edi
call esi
push 0x423f6c
push edi
call esi
push 0x423f70
push edi
call esi
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.00403cc5
mov esi, eax
test esi, esi
jne 0x403e77
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0040467d
mov esi, eax
test esi, esi
jne 0x403e77
xor eax, eax
jmp 0x403eb6
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x403e92
cmp byte [ebp], 0x23
jne 0x403e92
movsx eax, byte [ebp + 1]
push eax
push 0
jmp 0x403e9c
push 0
mov ecx, ebp
call fcn.004020de
push eax
push esi
mov ecx, ebx
call fcn.00403d2e
push ebp
mov ebx, eax
call fcn.0040e472
push edi
call fcn.0040e472
pop ecx
pop ecx
mov eax, ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret 0xc

Function at 0x404f88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x404fce
sub ebx, 0x422610
mov ax, word [ebx + edi*2 + 0x422610]
mov ecx, esi
xor ax, word [edi*2 + 0x422610]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404fac
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x404fd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x40501e
sub ebx, 0x422680
mov ax, word [ebx + edi*2 + 0x422680]
mov ecx, esi
xor ax, word [edi*2 + 0x422680]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404ffc
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x405026
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [esp + 0x28]
call fcn.004050eb
push 0x10
pop edi
cmp dword [esp + 0x3c], edi
lea edx, [esp + 0x28]
push dword [esi + 0x10]
cmovae edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.00408036
lea ecx, [esp + 0x40]
call fcn.004080c2
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x98]
mov word [esp + 0x10], ax
movzx eax, byte [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00402bc2
inc esi
dec edi
jne 0x4050a6
push dword [esp + 0x20]
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.0040518c
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.0040199b
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0040176d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x9c
ret
Function at 0x4089da
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a20
sub ebx, 0x422700
mov ax, word [ebx + edi*2 + 0x422700]
mov ecx, esi
xor ax, word [edi*2 + 0x422700]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4089fe
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x408a28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a6e
sub ebx, 0x422760
mov ax, word [ebx + edi*2 + 0x422760]
mov ecx, esi
xor ax, word [edi*2 + 0x422760]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x408a4c
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x40b53a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x40b545
xor eax, eax
jmp 0x40b61d
push ebx
push esi
mov esi, dword [esp + 0xc]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x40b5fe
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
dec edi
jne 0x40b561
pop edi
test esi, esi
je 0x40b617
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4238e0]
inc edx
dec esi
jne 0x40b602
not ecx
pop esi
mov eax, ecx
pop ebx
ret 4

Function at 0x40b620
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x4238e0]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x4238e0]
mov dword [edi + 8], eax
pop edi
pop esi
ret
Function at 0x40c53c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
jne 0x40c551
push 0xffffffffffffff9a
pop eax
jmp 0x40c67a
push ebp
xor ebp, ebp
cmp dword [edi + 0x18], ebp
jne 0x40c55d
push 0xffffffffffffff9a
jmp 0x40c582
cmp dword [edi + 0x7c], ebp
je 0x40c567
call fcn.0040c8b0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
call fcn.0040c39d
test eax, eax
je 0x40c588
push 0xffffffffffffff99
pop eax
jmp 0x40c679
push esi
push 0x7e
call fcn.0040ed82
mov esi, eax
pop ecx
test esi, esi
je 0x40c5b2
push 0x4000
call fcn.0040ed82
mov dword [esi], eax
mov dword [esi + 0x4c], ebp
pop ecx
test eax, eax
jne 0x40c5ba
push esi
call fcn.0040ed0a
pop ecx
push 0xffffffffffffff98
pop eax
jmp 0x40c678
mov dword [esi + 0x40], ebp
xor ecx, ecx
cmp dword [edi + 0x34], ebp
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x54], eax
sete cl
mov dword [esi + 0x50], ebp
mov eax, dword [edi + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], ebp
test ecx, ecx
jne 0x40c602
lea ecx, [esi + 4]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.0040b7f6
test eax, eax
jne 0x40c602
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x40c625
mov al, byte [edi + 0x39]
jmp 0x40c628
mov al, byte [edi + 0x3f]
mov byte [esi + 0x7d], al
xor eax, eax
cmp byte [esi + 0x6c], al
push 0xc
pop ecx
cmovne eax, ecx
mov dword [esi + 0x79], eax
mov dword [esi + 0x6d], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
test ebx, ebx
je 0x40c663
mov dl, byte [ebx]
test dl, dl
je 0x40c663
lea ecx, [esi + 0x6d]
call fcn.0040b620
inc ebx
jne 0x40c652
mov eax, dword [esp + 0x10]
add eax, 0x1e
add eax, dword [edi + 0x78]
and dword [esi + 8], ebp
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [edi + 0x7c], esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0xc
ret
Function at 0x418df4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041487a
mov dword [ebp - 0x14], eax
cmp dword [0x48a8e4], esi
jne 0x418ee7
push 0x800
push esi
push 0x421cd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x418e74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x418fc7
push esi
push esi
push 0x421cd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x418fc7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418fc7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x48a8e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x48a8e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x48a8ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48a8f4], eax
test eax, eax
je 0x418ee4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x48a8f0], eax
mov edi, dword [ebp - 0x18]
call dword [0x424140]
test eax, eax
je 0x418f0c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418eff
push eax
call dword [0x424148]
cmp dword [ebp - 0x14], esi
je 0x418f21
push 4
pop eax
jmp 0x418fc9
cmp dword [ebp - 0x14], esi
je 0x418f21
push dword [0x48a8e4]
call dword [0x42413c]
push 3
jmp 0x418f06
mov eax, dword [0x48a8f0]
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
cmp eax, edi
je 0x418f7f
cmp dword [0x48a8f4], edi
je 0x418f7f
push eax
call ebx
push dword [0x48a8f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x418f7f
test eax, eax
je 0x418f7f
call ecx
test eax, eax
je 0x418f74
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x418f74
test byte [ebp - 8], 1
jne 0x418f7f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x418faf
mov eax, dword [0x48a8e8]
cmp eax, edi
je 0x418fac
push eax
call ebx
test eax, eax
je 0x418fac
call eax
mov esi, eax
test esi, esi
je 0x418fac
mov eax, dword [0x48a8ec]
cmp eax, edi
je 0x418fac
push eax
call ebx
test eax, eax
je 0x418fac
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x48a8e4]
call ebx
test eax, eax
je 0x418fc7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x418fc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f3bd
mov esp, ebp
pop ebp
ret
Function at 0x4014eb
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x28], 1
push eax
push 0x104
mov word [ebp - 0x24], 5
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x25c]
push eax
call esi
xor edi, edi
cmp word [ebp + eax*2 - 0x25e], 0x5c
jne 0x40155a
lea eax, [ebp - 0x25c]
push eax
call esi
mov word [ebp + eax*2 - 0x25e], di
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x25c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
pop edi
neg eax
sbb eax, eax
pop esi
inc eax
leave
ret

Function at 0x401588
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x403040
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x4015a2
pop esi
ret
push edi
push 2
push 0xffffffffffffffd0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov edi, dword [esp + 0x1c]
push 0xc
pop ecx
xor eax, eax
push esi
push 0x30
rep stosd dword es:[edi], eax
push 1
pop edi
push edi
push dword [esp + 0x28]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0x30
je 0x4015d4
xor edi, edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4015e1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0
push dword [esp + 0x1c]
shr ecx, 2
push dword [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x10
cmp eax, 0xffffffff
je 0x401632
push dword [esp + 0x10]
push esi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x40163e
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
jmp 0x401640
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x1ba4620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7a6000]
push edi
or ebp, 0xffffffff
jmp 0x1ba4642
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ba4649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ba4638
mov eax, 1
add ebx, ebx
jne 0x1ba465b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ba466c
jne 0x1ba468b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ba468b
dec eax
add ebx, ebx
jne 0x1ba4678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ba4650
add ebx, ebx
jne 0x1ba4687
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ba46dd
xor ecx, ecx
sub eax, 3
jb 0x1ba46a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ba4712
sar eax, 1
mov ebp, eax
jmp 0x1ba46ae
add ebx, ebx
jne 0x1ba46ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ba467c
inc ecx
add ebx, ebx
jne 0x1ba46bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ba467c
add ebx, ebx
jne 0x1ba46c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ba46be
jne 0x1ba46da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ba46be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ba46fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ba46ee
jmp 0x1ba463e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ba46fc
add edi, ecx
jmp 0x1ba463e
pop esi
mov edi, esi
mov ecx, 0x4cfed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ba471a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1ba471f
lea edi, [esi + 0xca0000]
mov eax, dword [edi]
or eax, eax
je 0x1ba4787
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd20d08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd20e34]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ba4745
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd20e38]
or eax, eax
je 0x1ba4781
mov dword [ebx], eax
add ebx, 4
jmp 0x1ba4762
call dword [esi + 0xd20e48]
mov ebp, dword [esi + 0xd20e3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1ba47bb
sub esp, 0xffffff80
jmp 0x1590e84