joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fac2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
push 0x44c
call fcn.00463051
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x23c], 0
mov dword [ebx + 0x240], 0
test esi, esi
je 0x4304bd
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430490
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00463554
add esp, 4
mov dword [ebx + 0x23c], eax
sub eax, esi
nop dword [eax]
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [eax + esi - 1], cl
test cl, cl
jne 0x4304b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebx], 0
jne 0x43058b
cmp dword [ebx + 4], 0xffffffff
jne 0x43058b
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4304f0
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x430527
cmp eax, 0x2f
je 0x430527
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x430514
mov eax, dword [0x48bdd0]
mov dword [edi], eax
push 0x20
call fcn.00463051
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x18], ecx
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.0042ec20
mov dword [ebx], eax
test eax, eax
jne 0x430587
push ecx
mov ecx, ebx
mov dword [0x4a3d80], 0x200
call fcn.004305e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x430590
mov eax, 0x1000000
mov dword [0x4a3d80], eax
test eax, eax
je 0x4305b5
push ecx
mov ecx, ebx
call fcn.004305e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.00463051
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435d80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x435dc8
lock inc dword [eax + 8]
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea ecx, [edi + 8]
mov dword [ebp + 8], ecx
lea esi, [ecx + 0xc]
movq xmm0, qword [ebx + 8]
movq qword [ecx], xmm0
mov eax, dword [ebx + 0x10]
mov dword [ecx + 8], eax
lea ecx, [esi + 4]
mov dword [ebp + 8], esi
mov al, byte [ebx + 0x14]
mov byte [esi], al
lea eax, [ebx + 0x18]
push eax
mov dword [ebp - 0x14], ecx
call fcn.004046e0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x1c]
push eax
mov dword [ebp - 0x14], ecx
call fcn.004046e0
mov eax, dword [ebx + 0x48]
mov dword [esi + 0x34], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4536f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4816c0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x45372e
mov eax, dword [esi]
xor ecx, ecx
push ecx
mov word [eax], cx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x453889
mov edi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 0xd
call edi
test eax, eax
je 0x453801
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x453883
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x453883
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00404890
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x4537c0
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00404890
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x453883
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4538a5
jmp 0x453879
push 1
call edi
test eax, eax
je 0x453883
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
cmp edi, 0xffffffff
je 0x453883
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x453883
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.0042c340
push 0
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043d0a0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x453883
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x453879
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4538aa
push edx
push ecx
call fcn.00463043
add esp, 8
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret
call fcn.00466e0f
call fcn.00466e0f
int3
Function at 0x4538b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x453925
push ebx
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x45391d
mov eax, dword [esi + 0x10]
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x45391d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], eax
jb 0x4538f9
mov esi, dword [esi]
push ebx
push esi
push eax
call fcn.00466690
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
push edi
mov word [ebx + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45f1b0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x49f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test esi, esi
je 0x45f350
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0040ca10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x45f350
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0
jne 0x45f2cd
lea eax, [ecx - 1]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b7b0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45f293
mov ecx, eax
call fcn.00404a30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45f2cd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f2c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f3ce
push edx
push ecx
call fcn.00463043
add esp, 8
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0045f490
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45f310
mov ecx, eax
call fcn.00404a30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45f34a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f3d3
push edx
push ecx
call fcn.00463043
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x45f35f
push 0x3e
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.00404890
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45f3b4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f3aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f3d8
push edx
push ecx
call fcn.00463043
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret
call fcn.00466e0f
call fcn.00466e0f
call fcn.00466e0f
int3
Function at 0x45f890
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481b88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x48]
mov dword [ebp - 0x10], edi
call fcn.0040dd40
test edi, edi
js 0x45f943
call fcn.0040c040
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x45f943
call fcn.0040dd40
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
call fcn.0040dd40
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.0040e3e0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0x18]
call fcn.0040e400
cmp byte [ebp - 0x18], 0
jne 0x45f92f
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
cmp eax, dword [ebx]
jne 0x45f938
mov eax, dword [ebp - 0x10]
inc dword [ebx + 8]
mov dword [ebx + 0xc], eax
test esi, esi
je 0x45f943
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45f960
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e6f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040dd40
call fcn.0040c040
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x45fa0d
mov ecx, dword [edi + 8]
cmp ecx, 1
jl 0x45fa0d
add ecx, 0xffffffff
mov dword [edi + 8], ecx
jne 0x45fa0d
call fcn.0040dd40
mov esi, eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040dd40
lea ecx, [eax + 0x18]
call fcn.0040df40
call fcn.0040dd40
mov edi, dword [ebp - 0x10]
cmp edi, dword [eax + 0x18]
je 0x45f9fc
call fcn.0040dd40
push edi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [eax + 0x18]
call fcn.0040df90
mov dword [ebx], 0xffffffff
test esi, esi
je 0x45fa0d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x49f00c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0x10
jne 0x461a84
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x461b97
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 8
jne 0x461b63
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x30], eax
test eax, eax
je 0x461b97
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call edi
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov esi, dword [ebx + 0xe0]
xor eax, eax
mov word [esp + 0x20], ax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xf4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x25
mov dword [esp + 0x1c], eax
call edi
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [eax + 0xcc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebx + 0xe0], 0
jmp 0x461b97
cmp esi, 0x100
jne 0x461b97
cmp edi, 0x1b
jne 0x461b97
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebx
mov dword [esp + 0x34], 0
call dword [eax + 0x98]
cmp dword [esp + 0x30], 0
jne 0x461b97
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x10]
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.00421830
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00462ae1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4736c2
Capabilities:
Read file on windows

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

Function at 0x473dae
Capabilities:
Create thread
Print debug messages

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

Function at 0x408670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x40868a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408680
mov eax, 1
add ebx, ebx
jne 0x4086a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408698
jne 0x4086b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408698
xor ecx, ecx
sub eax, 3
jb 0x4086c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40873a
mov ebp, eax
add ebx, ebx
jne 0x4086d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4086e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408704
inc ecx
add ebx, ebx
jne 0x4086f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4086e5
jne 0x408701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4086e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408715
jmp 0x408686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408724
add edi, ecx
jmp 0x408686
pop esi
mov edi, esi
mov ecx, 0x26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408742
cmp byte [edi], 0
jne 0x408742
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 0x408747
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4087bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9dac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408774
mov ecx, edi
jns 0x4087a3
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 + 0x9e0c]
or eax, eax
je 0x4087b9
mov dword [ebx], eax
add ebx, 4
jmp 0x408791
call dword [esi + 0x9e08]
mov ebp, dword [esi + 0x9e10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4087f3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x124e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0124e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x124e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x124e06a
add dl, dl
jne 0x124e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x124e0dc
xor eax, eax
add dl, dl
jne 0x124e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x124e17d
add dl, dl
jne 0x124e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x124e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x124e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x124e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x124e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x124e075
mov eax, 1
add dl, dl
jne 0x124e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x124e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x124e0e1
sub eax, ebx
mov ebx, 1
jne 0x124e128
mov ecx, 1
add dl, dl
jne 0x124e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x124e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x124e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x124e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x124e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x124e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x124e136
cmp eax, 0x7d00
jae 0x124e16d
cmp eax, 0x500
jb 0x124e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x124e075
cmp eax, 0x7f
ja 0x124e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x124e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x124e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x124e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401350
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401362
mov eax, dword [0x48308b]
shl eax, 2
mov dword [0x48308f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00463224
pop edx
call fcn.00463188
call fcn.00463264
push 0
call fcn.00464710
pop ecx
push 0x483034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x483093], eax
push 0
jmp fcn.0046aa38

Function at 0x4015d4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
mov eax, dword [0x4830c4]
mov edx, dword [0x4830cc]
mov ecx, dword [0x4830d4]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [0x4830c8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edx
mov edx, dword [0x4830d0]
mov eax, dword [0x4830dc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4830d8]
mov edx, dword [0x4830e4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x4830e0]
mov ecx, dword [0x4830ec]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
mov edx, dword [0x4830e8]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x4830f0]
mov dword [ebp - 0x2c], ecx
push 0
push eax
cmp dword [ebx], 0
je 0x401664
mov edx, dword [ebx]
jmp 0x401669
mov edx, 0x4830f8
push edx
call sub.KERNEL32.DLL_OpenFile
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 8]
push ecx
push edi
call sub.KERNEL32.DLL_GetFileTime
push edi
call sub.KERNEL32.DLL__lclose
push 0
lea eax, [ebp - 0xb8]
push eax
cmp dword [esi], 0
je 0x40169b
mov edx, dword [esi]
jmp 0x4016a0
mov edx, 0x4830f9
push edx
call sub.KERNEL32.DLL_OpenFile
mov edi, eax
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x20]
push ecx
push edi
call sub.KERNEL32.DLL_GetFileTime
push edi
call sub.KERNEL32.DLL__lclose
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x18]
push edx
call sub.KERNEL32.DLL_CompareFileTime
test eax, eax
jle 0x4016f8
push 0
cmp dword [esi], 0
je 0x4016dc
mov ecx, dword [esi]
jmp 0x4016e1
mov ecx, 0x4830fb
push ecx
cmp dword [ebx], 0
je 0x4016eb
mov eax, dword [ebx]
jmp 0x4016f0
mov eax, 0x4830fa
push eax
call sub.KERNEL32.DLL_CopyFileA
jmp 0x4016fa
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret