joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a504cb0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a5e4008], 0x8088405
inc edx
mov dword [ebx + 0x4a5e4008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4a50643c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.4a5066d8
mov byte [esp], al
cmp byte [esp], 0
jne 0x4a5065c6
test edi, edi
je 0x4a5065c6
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4a506506
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4a5064e1
cmp edi, 0xffffffff
je 0x4a5064a1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4a5064a1
mov byte [esp], 0
jmp 0x4a5065c6
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4a5064e1
test ebx, ebx
jne 0x4a5064d3
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4a5064d3
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4a5065c6
lea eax, [esp + 0xc]
call fcn.4a5061d0
dec ebp
test ebp, ebp
jg 0x4a506486
cmp edi, 0xffffffff
je 0x4a506506
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4a506504
mov byte [esp], 0
jmp 0x4a5065c6
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4a50644a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4a506506
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.4a506634
mov edx, eax
mov ebx, dword [0x4a5ee8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4a50656a
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4a506568
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4a50656a
xor edi, edi
cmp byte [esp], 0
je 0x4a506590
mov ebx, dword [esi]
test bl, 1
jne 0x4a5065a6
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4a506570
mov byte [esp + 1], 1
jmp 0x4a5065a6
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4a506590
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4a50651d
cmp byte [esp], 0
je 0x4a5065c6
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a506fdc
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, 0x4a5f0b14
cmp dword [ebp + 0xc], 2
jl 0x4a506ff0
mov ebx, 0x4a5f0b44
mov esi, ebx
lea edi, [ebp - 0x40]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop dword [ebx + 0x20]
pop dword [ebx + 0x1c]
pop dword [ebx + 0x18]
mov dword [ebx + 0x14], ebp
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], edx
lea ecx, [ebp - 0x40]
mov dword [ebx], ecx
call sub.kernel32.dll_GetCurrentThreadId
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x4a507028
mov ecx, dword [eax]
mov dword [ebx + 0xc], ecx
mov eax, 0x4a502b80
mov dword [0x4a5ee01c], eax
mov eax, 0x4a502b88
mov dword [0x4a5ee020], eax
mov eax, ebx
call fcn.4a506ec0
mov eax, dword [ebp + 0xc]
inc eax
mov byte [ebx + 0x28], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [ebx + 0x24], edx
je 0x4a50705d
cmp al, 3
jge 0x4a50705d
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4a50706e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x4a507079
call dword [ecx + eax*4]
cmp dword [0x4a5ee03c], 0
jne 0x4a50708f
mov byte [0x4a5ee044], 1
fnstcw word [0x4a5e4028]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.4a507320
call fcn.4a506f70
ret 4

Function at 0x4a507288
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a5ee054], 0
je 0x4a5072ef
cmp word [0x4a5ee340], 0xd7b2
jne 0x4a5072b1
cmp dword [0x4a5ee348], 0
jbe 0x4a5072b1
mov eax, 0x4a5ee33c
call dword [0x4a5ee358]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4a50731c
call fcn.4a507f78
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a5e4032], 0
jne 0x4a50730b
push 0
push 0x4a5e49c2
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

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

Disassembly:
mov esi, dword [esp + 8]
test esi, esi
jne fcn.4a508410
xor eax, eax
pop esi
ret

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

Disassembly:
mov eax, dword [esi + 0x3c]
push ebx
push ebp
push edi
mov ebx, dword [eax + esi + 0x78]
xor edi, edi
add ebx, esi
mov ebp, dword [ebx + 0x20]
add ebp, esi
cmp dword [ebx + 0x18], edi
jbe 0x4a508444
mov eax, dword [ebp + edi*4]
push dword [esp + 0x18]
add eax, esi
push eax
call fcn.4a5084a1
pop ecx
pop ecx
test al, al
jne 0x4a50844b
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x4a508428
xor eax, eax
pop edi
pop ebp
pop ebx
pop esi
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x4a508446
Function at 0x4a508462
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
add esi, 0xc
mov esi, dword [esi]
cmp dword [esi + 0x30], 0
je 0x4a508474
test edi, edi
je 0x4a508485
mov eax, dword [esi + 0x28]
mov dword [edi], eax
cmp dword [esp + 0xc], 0
je 0x4a50849b
push dword [esi + 0x30]
call fcn.4a5084e7
push ebx
add byte [eax], al
add byte [ecx + 0x39], bl
inc esp
and al, 0xc
jne 0x4a508474
mov eax, dword [esi + 0x18]
pop edi
pop esi
ret

Function at 0x4a508547
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
push dword [0x4a5e7b82]
call fcn.4a508462
push dword [0x4a5e7bbe]
mov dword [esp + 0x2c], eax
push eax
call fcn.4a508403
mov ebp, eax
mov dword [esp + 0x28], ebx
and al, 0x28

Function at 0x4a508570
Capabilities:
Get file size
Read file on windows

Disassembly:
and al, 0x28
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.4a508462
add esp, 0x18
push dword [0x4a5e7b7e]
push ebx
call dword [sym.imp.kernel32.dll_LocalAlloc]
push dword [0x4a5e7b7e]
mov esi, eax
push esi
call fcn.4a508513
mov eax, dword [esp + 0x20]
mov edi, ebx
pop ecx
pop ecx
cmp word [eax], bx
je 0x4a5085be
movzx edx, word [eax]
mov ecx, ebx
inc edi
mov word [ecx + esi], dx
lea ecx, [edi + edi]
movzx edx, word [ecx + eax]
test dx, dx
jne 0x4a5085ad
mov ecx, dword [str._J0c_JxmV]
mov eax, ebx
cmp word [esi], bx
je 0x4a5085d2
inc eax
cmp word [esi + eax*2], bx
jne 0x4a5085cb
push 0x5c
pop edi
jmp 0x4a5085de
xor edx, edx
mov word [esi + eax*2], dx
dec eax
cmp word [esi + eax*2 - 2], di
jne 0x4a5085d7
cmp byte [ecx], bl
je 0x4a5085fd
lea edx, [esi + eax*2]
mov al, byte [ecx]
inc ecx
cbw
mov word [edx], ax
lea edx, [edx + 2]
mov al, byte [ecx]
test al, al
jne 0x4a5085ee
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, 0xffffffff
jne 0x4a508622
push ebx

Function at 0x4a508620
Capabilities:
Get file size
Read file on windows

Disassembly:
call ebp
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
push 4
push 0x1000
push dword [0x4a5e7bc2]
mov esi, eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualAlloc]
push ebx
mov edi, eax
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x20]
push eax
push esi
push edi
push dword [esp + 0x34]
call dword [sym.imp.kernel32.dll_ReadFile]
Function at 0x4a509b54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a509cb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.4a507618
cmp si, word [0x4a5e4a00]
jb 0x4a509bec
cmp si, word [0x4a5e4c00]
ja 0x4a509bec
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4a509bec
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4a5e4a00]
jae 0x4a509bc6
mov edi, ebx
dec edi
jmp 0x4a509be7
cmp si, word [ebx*8 + 0x4a5e4a00]
jbe 0x4a509bd6
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4a509be7
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4a5e4a04]
call fcn.4a509a74
jmp 0x4a509bec
cmp edi, dword [ebp - 8]
jae 0x4a509bb0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4a509c9b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4a509c9b
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.4a5083a4
push dword [ebp - 0x160]
push 0x4a509cd4
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.4a5083a4
push dword [ebp - 0x164]
push 0x4a509ce4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.4a5083a4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.4a508570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a509cc0
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.4a507678
ret
Function at 0x4a509e6c
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a509f70
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a5f0b84
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4a5f0b9c]
jne 0x4a509eb8
mov eax, esi
mov edx, 0x4a5f0b9e
mov ecx, 0x55
call fcn.4a5083a4
push 0x4a5f0b84
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4a509f5a
push 0x4a5f0b84
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.4a507618
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4a509f27
cmp byte [0x4a5f0b80], 0
je 0x4a509eec
mov edx, esi
mov eax, ebx
call fcn.4a509d50
jmp 0x4a509f27
mov edx, esi
mov eax, ebx
call fcn.4a509b54
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4a509f27
cmp dword [esi], 0
je 0x4a509f10
mov eax, esi
mov edx, 0x4a509f88
call fcn.4a508490
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.4a509b54
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.4a508490
push 0x4a5f0b84
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4a5f0b9c], bx
mov eax, dword [esi]
call fcn.4a5082f8
mov ecx, eax
mov eax, 0x4a5f0b9e
mov edx, 0xaa
call fcn.4a5099d4
push 0x4a5f0b84
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a509f77
lea eax, [ebp - 4]
call fcn.4a507618
ret
Function at 0x4a50a1a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.4a5076fc
xor eax, eax
push ebp
push 0x4a50a3c5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4a50a1e0
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x4a50a1fa
mov eax, dword [ebp - 4]
call fcn.4a5082f8
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.4a5099d4
cmp word [ebp - 0x21a], 0
je 0x4a50a3af
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a3d4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4a50a2c9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a3d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4a50a2c9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a410
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4a50a2c9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a410
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4a50a2c9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a444
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x4a50a2c9
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4a50a478
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4a50a3af
xor eax, eax
push ebp
push 0x4a50a3a8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.4a509fb0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4a50a338
mov eax, dword [ebp - 0x10]
call fcn.4a5048c0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.4a508350
jmp 0x4a50a383
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x4a50a4b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4a50a383
mov eax, dword [ebp - 0x10]
call fcn.4a5048c0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x4a50a4b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.4a508350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a50a3af
cmp dword [ebp - 8], 0
je 0x4a50a39e
mov eax, dword [ebp - 8]
call fcn.4a5048dc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a50a3cc
lea eax, [ebp - 4]
call fcn.4a507618
ret
Function at 0x4a5489fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4a548a35
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.4a507780
jmp 0x4a548a3e
mov eax, ebx
mov edx, esi
call fcn.4a5079d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a548a48
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x4a548a6a
movzx eax, word [esp]
jmp 0x4a548a6c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4a549d64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4a549e89
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.4a549b6c
mov esi, eax
mov eax, dword [0x4a5ed564]
cmp byte [eax], 0
je 0x4a549e31
mov eax, dword [0x4a5ed3c4]
call fcn.4a505178
call fcn.4a504a44
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4a549d34]
call fcn.4a509478
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4a549ea4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4a549e6d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4a5ed38c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a5f0c4c]
call fcn.4a509674
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a549e90
lea eax, [ebp - 4]
mov edx, dword [0x4a549d34]
call fcn.4a50959c
ret
Function at 0x4a5dc70c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor edx, edx
push ebp
push 0x4a5dc814
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, eax
add dword [ebx + 0x20], 1
adc dword [ebx + 0x24], 0
cmp dword [ebx + 0x28], 0
je 0x4a5dc7ee
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x4a5dc830
call fcn.4a507dac
mov esi, dword [ebp - 4]
mov eax, esi
add eax, 8
mov edx, dword [ebx + 0x20]
mov dword [eax], edx
mov edx, dword [ebx + 0x24]
mov dword [eax + 4], edx
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x28]
call fcn.4a544fe4
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.4a5dc588
test al, al
je 0x4a5dc7c8
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebx + 0x28]
call fcn.4a5082f8
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a5dc7d6
mov eax, esi
test eax, eax
je 0x4a5dc7af
sub eax, 4
mov eax, dword [eax]
push 0
lea edx, [ebp - 8]
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
jmp 0x4a5dc7d6
mov eax, dword [ebx + 0x28]
call fcn.4a5082f8
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x4a5dc844
mov edx, 0x4a5dc85c
mov eax, 0x80000001
call fcn.4a5dc0d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5dc81b
lea eax, [ebp - 0x10]
call fcn.4a507618
lea eax, [ebp - 0xc]
call fcn.4a50763c
lea eax, [ebp - 4]
call fcn.4a50763c
ret

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

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

Disassembly:
jg 0x4715bf
or eax, 0x9a7716e4
push 0x5b7bc56d
out dx, eax
dec edx
mov dh, 0x3f
mov esp, 0x635e53b9
in al, 0x2c
push eax
jnp 0x4715df
mov ecx, 0x7a160f66
jne 0x471576
invalid
inc esp
sbb eax, 0xcf7f4d96
or edi, edi
stosd dword es:[edi], eax
sub al, 0x81
inc ebx
pushfd
out 0x7b, eax
xchg ebx, eax
invalid
mov ecx, 0xf87893ca
test eax, 0xf7dc6863
inc ebx
add dword [ecx - 0x3ad34f33], edi
sub al, 0xc5
cmp eax, 0x6dc1af0d
xor al, 0x51
ja 0x4715a6
out 0xec, al
in al, dx
mov ecx, 0x66757289
dec esp
xchg ebp, eax
xlatb
sub eax, 0xca805a2c
add byte [esi], al
in al, dx
pushal
jbe 0x4715e2
push eax
jnp 0x47164f
aaa
inc ebx
mov dword [eax], esi
loopne 0x4715b5
jae 0x4715ff
std
pop ecx
jmp [eax - 0x381f8357]
out dx, al
invalid
invalid
wait
les esp, [eax - 0x4bd7787]
inc edx
sub dword [eax + edx*8 + 0x60], eax
inc esp
shl byte [eax + 7], 1
pop es
or ah, byte [ebp - 8]
pop esp
sub eax, 0xa56af470
ror dword [esi - 0xf00c3dd], 0x7b
push ss
or esi, dword [ecx + 0x2d]
inc esp
xor dword [esi + 0x3b], edi
mov fs, word [ebx]
cmp al, 0xff
invalid
sub eax, 0x3b7e3144
jno 0x47165d
dec eax
sti
xchg esi, eax
mov ebx, 0x7df0ebe1
cmp edi, 0x771129f2
push cs
wait
cmp bh, dh
add ebx, dword [edx + 0x31]
mov dh, 0x93
loope 0x471666
je 0x471609
and byte [eax], cl
bound ebx, qword [ebp + 0xae442db]
jbe 0x471646
fcomi st(7)
jbe 0x471652
fisttp dword [ebp - 0x5b8e8f4a]
adc byte [0x4622478c], dh
mov word [ebp - 0x79f04b74], fs
cmp dword [ecx - 0x96], 0x17af7bf0
xor ah, byte [ebx - 0x62]
dec eax
invalid
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call fcn.1000106f
Function at 0xae1bdd
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae1bdd
ret

Function at 0x414b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x414b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b80
mov eax, 1
add ebx, ebx
jne 0x414ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b98
jne 0x414bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b98
xor ecx, ecx
sub eax, 3
jb 0x414bc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c3a
mov ebp, eax
add ebx, ebx
jne 0x414bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414c04
inc ecx
add ebx, ebx
jne 0x414bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414be5
jne 0x414c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414be5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414c15
jmp 0x414b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414c24
add edi, ecx
jmp 0x414b86
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c42
cmp byte [edi], 5
jne 0x414c42
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 0x414c47
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19be8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414c74
mov ecx, edi
jns 0x414ca3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19c2c]
or eax, eax
je 0x414cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x414c91
call dword [esi + 0x19c28]
mov ebp, dword [esi + 0x19c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414cf3
sub esp, 0xffffff80
jmp 0x401150