joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b20
Capabilities:
Access peb ldr_data
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47e0b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [esp + 0x1c], 0
push 0xffffffffffffffff
push eax
push ecx
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.004035e0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0xc]
call fcn.00411430
mov eax, dword [esp + 0x1c]
cmp eax, 2
jbe 0x446c6c
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
mov edx, dword [esp + 0xc]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x446bd4
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 2], 0x5c
jne 0x446bd4
mov bl, 1
jmp 0x446cdc
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x446bf9
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x446cda
push 0x5c
mov edx, 0x2f
lea ecx, [esp + 0x10]
call fcn.004112a0
mov edx, dword [esp + 0x10]
mov eax, ecx
mov ecx, dword [esp + 0x24]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
jmp 0x446cc3
jne 0x446cda
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
mov edx, dword [esp + 0xc]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x446cda
cmp ecx, 8
lea eax, [esp + 0xc]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x446cda
push 0x48dd5c
lea ecx, [esp + 0x10]
call fcn.00406690
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x446cda
shr eax, 4
mov bl, 1
and al, 1
mov byte [esi], al
jmp 0x446cdc
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x446cf7
push dword [esp + 0xc]
call fcn.00461b75
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00461397
add esp, 0x28
ret
Function at 0x449e40
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.004653d0
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449e9c
cmp dword [esp + 4], 6
jb 0x449e9c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00461397
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.00461397
add esp, 0x118
ret

Function at 0x449ec0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x483f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x154]
xorps xmm0, xmm0
mov edi, dword [esp + 0x150]
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x148], 0
lea eax, [esp + 0x28]
push 0x110
push 0
push eax
mov dword [esp + 0x30], 0x114
call fcn.004653d0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449f84
cmp dword [esp + 0x28], 6
jb 0x449f84
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0044a090
jmp 0x449f8d
lea ecx, [esp + 0x18]
call fcn.0044a630
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jne 0x449f9d
xor bl, bl
jmp 0x44a01b
mov ecx, eax
mov eax, 0x4ec4ec4f
sub ecx, esi
imul ecx
sar edx, 5
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
je 0x44a015
mov ebx, esi
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x44a00b
lea ecx, [ecx]
mov edx, esi
mov ecx, ebx
call fcn.0044a590
test al, al
jne 0x449fd7
add esi, 0x68
cmp esi, dword [edi + 4]
jne 0x449fc0
jmp 0x44a00b
mov ecx, dword [esp + 0x14]
push esi
call fcn.0044a9d0
push dword [esp + 0x14]
mov edx, dword [edi + 4]
lea ecx, [esi + 0x68]
push esi
call fcn.0044af70
mov edx, dword [edi + 4]
add esp, 8
push dword [esp + 0x14]
lea ecx, [edx - 0x68]
push ecx
call fcn.0044b010
add esp, 8
add dword [edi + 4], 0xffffff98
add ebx, 0x68
dec ebp
jne 0x449fb6
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [esp + 0x148], 0xffffffff
test esi, esi
je 0x44a059
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, esi
call fcn.0044b010
push esi
call fcn.00461b75
add esp, 0xc
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00461397
add esp, 0x138
ret 8
Function at 0x44b9b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x48437e
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [esp + 0xc], esi
call fcn.00461bc5
mov dword [esi + 4], eax
push 0x11c
push 0
mov byte [eax], 0
lea eax, [esp + 0x18]
push eax
call fcn.004653d0
add esp, 0x10
mov dword [esp + 0xc], 0x11c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x44ba33
cmp dword [esp + 0x10], 6
mov ecx, dword [esi + 4]
setae dl
mov byte [ecx], dl
mov dword [esp + 0x134], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00461397
add esp, 0x130
ret

Function at 0x44bd50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x482d46
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov byte [esi], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esp + 0x18], eax
lea ecx, [esi + 0x1c]
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], eax
mov word [esi + 0x1c], ax
call fcn.004035e0
mov byte [esp + 0x18], 1
cmp dword [esi + 0x2c], 0
jne 0x44bdcb
push 3
push 0x48fd5c
lea ecx, [esi + 0x1c]
call fcn.00403a40
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x44cc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4845d2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.0045db4e
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x44cd08
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.004636b9
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x49e1c8
push eax
call fcn.004654eb
push edi
push esi
call fcn.0045d94f
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00461397
add esp, 0x24
ret 4

Function at 0x44d640
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x484860
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push 0
push dword [esp + 0x5c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403440
mov dword [esp + 0x4c], 0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0044d4e0
add esp, 0x20
mov dword [esp + 0x34], 1
cmp dword [eax + 0x14], 0x10
jb 0x44d6c5
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [esp + 0x3c]
push eax
call fcn.004636b9
mov byte [esp + 0x34], 2
mov dword [esi], vtable.std::runtime_error.0
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 0x10
jb 0x44d6f8
push dword [esp + 0x10]
call fcn.00461b75
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 0xc
Function at 0x44da70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4849e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x452300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482259
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
cmp byte [edx], 0
jne 0x45233c
xor esi, esi
jmp 0x45234a
mov esi, edx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x452341
sub esi, ecx
push esi
push edx
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00452820
push eax
mov ecx, edi
call fcn.00432b40
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 1
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x4552b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x485a9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
jne 0x455323
push 0x10
call fcn.0045d6c6
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
test eax, eax
je 0x455316
push 0x453420
push 0x453410
push 3
lea esi, [eax + 4]
mov dword [eax], 3
push 4
push esi
call fcn.004649b5
jmp 0x455318
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x455337
cmp byte [ecx + eax - 1], 0xa
jne 0x455337
dec eax
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [edi + 0xc]
lea ecx, [ecx + eax*4]
call fcn.00453430
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x459350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4861b0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov eax, dword [0x49f750]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x4c]
xorps xmm0, xmm0
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x28], 0
movq qword [esp + 0x2c], xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x44], 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
movq qword [esp + 0xc], xmm0
cmp eax, edx
je 0x4593f5
push 0xffffffffffffffff
push 0
push edx
mov ecx, eax
call fcn.00403440
lea eax, [esp + 0xc]
mov dword [esp + 0x30], edi
push eax
lea ecx, [esi + 0x14]
call fcn.004597c0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00407380
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00461397
add esp, 0x3c
ret 0xc
Function at 0x4740dd
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.004675ab
mov dword [ebp - 0x14], eax
cmp dword [0x4a24d8], esi
jne 0x4741d0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47415d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4742b0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4742b0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4742b0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a24d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a24dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a24e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a24e8], eax
test eax, eax
je 0x4741cd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a24e4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4741f5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4741e8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x47420a
push 4
pop eax
jmp 0x4742b2
cmp dword [ebp - 0x14], esi
je 0x47420a
push dword [0x4a24d8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4741ef
mov eax, dword [0x4a24e4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x474268
cmp dword [0x4a24e8], edi
je 0x474268
push eax
call ebx
push dword [0x4a24e8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x474268
test eax, eax
je 0x474268
call ecx
test eax, eax
je 0x47425d
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 0x47425d
test byte [ebp - 8], 1
jne 0x474268
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x474298
mov eax, dword [0x4a24dc]
cmp eax, edi
je 0x474295
push eax
call ebx
test eax, eax
je 0x474295
call eax
mov esi, eax
test esi, esi
je 0x474295
mov eax, dword [0x4a24e0]
cmp eax, edi
je 0x474295
push eax
call ebx
test eax, eax
je 0x474295
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a24d8]
call ebx
test eax, eax
je 0x4742b0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4742b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461397
mov esp, ebp
pop ebp
ret
Function at 0x4219d5
Capabilities:
Get common file path
Set current directory

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

Function at 0x426abb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042693a

Function at 0x42af70
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ac30

Function at 0x4337f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x433812
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x433819
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x433808
mov eax, 1
add ebx, ebx
jne 0x43382b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x433820
jne 0x43383c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x433820
xor ecx, ecx
sub eax, 3
jb 0x433850
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4338c2
mov ebp, eax
add ebx, ebx
jne 0x43385b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x433868
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43388c
inc ecx
add ebx, ebx
jne 0x433878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43386d
jne 0x433889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43386d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4338ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43389d
jmp 0x43380e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4338ac
add edi, ecx
jmp 0x43380e
pop esi
mov edi, esi
mov ecx, 0x463
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4338ca
cmp byte [edi], 0
jne 0x4338ca
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 eax, ebx
loop 0x4338cf
lea edi, [esi + 0x31000]
mov eax, dword [edi]
or eax, eax
je 0x43393e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36da8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36e20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4338fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36e24]
or eax, eax
je 0x433938
mov dword [ebx], eax
add ebx, 4
jmp 0x433919
call dword [esi + 0x36e28]
popal
jmp 0x40a5b0
Function at 0x2e4980
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x30b01c]
push edi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x9c048a
nop
push eax
nop
call 0x77c4e026
mov ebx, eax
push 0x314fb0
mov dword [ebp - 4], ebx
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
mov byte [ebx + edi], 0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x2e4a9a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x760b43d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x314fb0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x2e4a26
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
push 0x314fb0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x9c048f
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x2e6e30
Capabilities:
Parse pe header

Disassembly:
cmp dword [ebx + 4], 0x40
jb 0x2e6ed1
mov eax, dword [ebx]
push 0x40
push eax
push esi
call 0x760a9910
nop
mov ecx, 0x5a4d
add esp, 0xc
cmp word [esi], cx
jne 0x2e6f00
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x2e6f00
lea edx, [eax + 0xf8]
cmp edx, dword [ebx + 4]
ja 0x2e6ed1
mov ecx, dword [ebx]
push edi
push 0xf8
add ecx, eax
push ecx
lea edi, [esi + 0x40]
push edi
nop
call 0x760a9910
add esp, 0xc
cmp dword [edi], 0x4550
pop edi
jne 0x2e6f00
mov edx, 0x10b
cmp word [esi + 0x58], dx
jne 0x2e6f00
movzx eax, word [esi + 0x46]
test ax, ax
je 0x2e6f00
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
push 8
mov dword [esi + 0x140], eax
call dword [fcn.005190f4]
push eax
call dword [fcn.00519088]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x2e6ed7
mov eax, 3
ret
mov eax, 1
ret
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
lea ecx, [ecx + edx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call fcn.002e74d0
add esp, 0x10
neg eax
sbb eax, eax
inc eax
ret
mov eax, 2
ret
Function at 0x7df010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
cmp byte [0x30d014], al
je 0x7df02d
inc eax
cmp byte [eax + 0x30d014], 0
jne 0x7df023
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
inc eax
call fcn.007bda40
mov dword [esi], eax
test eax, eax
je 0x7df04b
push 0x30d014
push eax
call dword [fcn.00519134]
mov esi, dword [0x518aa4]
xor eax, eax
cmp byte [esi], al
je 0x7df05e
inc eax
cmp byte [esi + eax], 0
jne 0x7df057
inc eax
call fcn.007bda40
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x7df075
push esi
push ebx
call dword [fcn.00519134]
lea eax, [ebp - 0x24]
push eax
call dword [0x519044]
mov eax, dword [ebp - 0x16]
xor edi, edi
lea esi, [eax + eax*4]
mov word [0x518ec0], si
cmp dword [ebp + 0xc], edi
jle 0x7df0e9
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx ecx, si
mov dword [ebp - 4], eax
mov edi, edi
mov eax, ecx
shr eax, 2
xor eax, ecx
shr eax, 1
xor eax, ecx
shr eax, 2
xor eax, ecx
and eax, 1
mov dword [0x518ec4], eax
shl eax, 0xf
shr si, 1
or si, ax
movzx ecx, si
xor edx, edx
mov ebx, 0xb
mov eax, ecx
div ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
inc edi
mov dl, byte [edx + ebx]
mov byte [eax + edi - 1], dl
cmp edi, dword [ebp + 0xc]
jl 0x7df0a0
mov word [0x518ec0], si
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx], 0
test ebx, ebx
je 0x7df161
mov ecx, dword [ebx - 8]
lea eax, [ebx - 0x10]
mov dword [eax], 1
test ecx, ecx
je 0x7df131
cmp dword [ecx], 0
je 0x7df131
cmp dword [0x5191c4], ecx
jne 0x7df11b
mov dword [0x5191c4], eax
mov esi, dword [ecx + 4]
add dword [eax + 4], esi
mov esi, dword [ecx + 8]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x7df131
mov dword [ecx + 0xc], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x7df161
cmp dword [ecx], 0
je 0x7df161
cmp dword [0x5191c4], eax
jne 0x7df14b
mov dword [0x5191c4], ecx
mov esi, dword [eax + 4]
add dword [ecx + 4], esi
mov esi, dword [eax + 8]
mov dword [ecx + 8], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x7df161
mov dword [eax + 0xc], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret