joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471554
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48a1d0]
cmp byte [eax + 0xc], 0
je 0x4716c1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4716ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48c1c0], 0
jne 0x4715a8
push 0x4716c8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4716d0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1c0], eax
cmp dword [0x486888], 0
jne 0x4716a3
push 0x4716e0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x486888], eax
cmp dword [0x486888], 0
je 0x4716a3
push 0x4716ec
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1c4], eax
push 0x4716fc
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1c8], eax
push 0x471710
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1cc], eax
push 0x471728
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1d0], eax
push 0x471740
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1d4], eax
push 0x471754
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1d8], eax
push 0x47176c
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1dc], eax
push 0x471784
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1e0], eax
push 0x4717a0
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1e4], eax
push 0x4717ac
mov eax, dword [0x486888]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48c1e8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4716c1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x473dac
call fcn.004750f0
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x473dc8
test bl, 1
je 0x473dc8
call fcn.0047b4bc
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x473fac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00474c8c
test byte [ebp + 0xd], 0xc0
jne 0x473fd0
mov eax, dword [0x487658]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x473fdd
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x47400a
je 0x47401c
sub ecx, 0x100
je 0x47402a
sub ecx, 0x100
je 0x474031
sub ecx, 0x100
je 0x474023
jmp 0x474038
sub ecx, 0x600
je 0x474031
sub ecx, 0x100
je 0x47401c
jmp 0x474038
mov edi, 1
jmp 0x47403d
mov edi, 2
jmp 0x47403d
mov edi, 4
jmp 0x47403d
mov edi, 5
jmp 0x47403d
mov edi, 3
test byte [ebp + 0xd], 1
je 0x474064
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4870d0]
test al, 0x80
je 0x47405d
mov ebx, 0x80
jmp 0x474076
mov ebx, 1
jmp 0x474076
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x474076
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x474088
je 0x474091
dec eax
je 0x47409a
jmp 0x4740a3
mov dword [ebp - 4], SysReAllocStringLen
jmp 0x4740b2
mov dword [ebp - 4], 0x40000000
jmp 0x4740b2
mov dword [ebp - 4], 0xc0000000
jmp 0x4740b2
push 1
call fcn.00475084
pop ecx
mov ebx, eax
jmp 0x4741a2
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x4740ce
sub eax, 0x10
je 0x4740d5
sub eax, 0x10
je 0x4740de
sub eax, 0x10
je 0x4740e7
jmp 0x4740e7
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4740ee
mov dword [ebp - 8], 1
jmp 0x4740ee
mov dword [ebp - 8], 2
jmp 0x4740ee
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x47415b
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x474150
test byte [ebp + 0xd], 1
je 0x47414b
mov ebx, 0x50
jmp 0x474150
mov ebx, 2
push ebx
call fcn.00475084
pop ecx
mov ebx, eax
jmp 0x4741a2
mov edi, esi
push edi
call fcn.00473f10
pop ecx
test eax, eax
je 0x47416f
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x47417b
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00474dac
add esp, 8
mov ebx, eax
inc eax
jne 0x4741a2
push 4
call fcn.00475084
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00474cc0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4783a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00472b30
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00472bc0
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00472bc0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x488279
lea ecx, [ebp - 0x200]
push ecx
call fcn.00472b30
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00472bc0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0047953c
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4784b1
push esi
call fcn.00472bc0
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00472bc0
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00472450
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x478488
xor eax, eax
jmp 0x478538
push esi
call fcn.00472bc0
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00472bc0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00472a8c
add esp, 0xc
jmp 0x4784f1
mov edi, dword [ebx + 0x24]
push edi
call fcn.00472bc0
pop ecx
push eax
push esi
call fcn.00472bc0
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00472bc0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00472470
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4784f1
xor eax, eax
jmp 0x478538
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00472b30
add esp, 8
push 0x48827b
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00472b30
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00472b30
add esp, 8
push 0x48827d
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00472b30
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47b454
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x47b4b6
call fcn.0047b404
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00472bc0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00472bc0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47b534
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x488888], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x47b60e
cmp dword [0x488884], 0
jne 0x47b60e
cmp dword [0x488a68], 0
je 0x47b5c8
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0047b304
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47b5ae
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0047b304
add esp, 8
mov ebx, eax
test eax, eax
jne 0x47b5ae
lea ebx, [ebp - 0x84]
jmp 0x47b5af
inc ebx
call fcn.0047b4f0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x47b649
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x48888c
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00472bc0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x48888f
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x47b649
cmp dword [0x488884], 0
je 0x47b628
cmp dword [0x488884], 0xffffffff
je 0x47b649
push esi
call dword [0x488884]
pop ecx
mov eax, dword [0x488888]
test eax, eax
je 0x47b649
cmp dword [0x488888], 0xffffffff
je 0x47b649
cmp byte [eax], 0
je 0x47b649
push esi
push eax
call fcn.0047b454
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47bde0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x48ca50], 0
jne 0x47be61
cmp dword [0x48ca70], 0
jne 0x47be10
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x48ca70], eax
test eax, eax
jne 0x47be10
push str.GetEnvironmentStrings_failed
call fcn.0047b660
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x48ca70]
jmp 0x47be24
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00472bc0
pop ecx
mov edi, eax
test eax, eax
jne 0x47be1c
lea edi, [ebp + 1]
push edi
call fcn.00472450
pop ecx
mov ebx, eax
mov dword [0x48ca54], ebx
test ebx, ebx
jne 0x47be4e
xor eax, eax
jmp 0x47bf24
push edi
mov edx, dword [0x48ca70]
push edx
push ebx
call fcn.00472a1c
add esp, 0xc
jmp 0x47be81
xor esi, esi
mov ebx, dword [0x48ca50]
jmp 0x47be7b
push eax
call fcn.00472bc0
pop ecx
test eax, eax
jne 0x47be77
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47be6b
lea ebx, [esi + 4]
push 4
mov dword [0x48ca58], ebx
inc ebx
push ebx
call fcn.00471f28
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x47bea4
xor eax, eax
jmp 0x47bf24
cmp dword [0x48ca50], 0
jne 0x47bed5
xor esi, esi
mov ebx, dword [0x48ca54]
mov eax, dword [esp]
mov ebp, eax
jmp 0x47bec6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00472bc0
pop ecx
mov edi, eax
test eax, eax
jne 0x47bebc
jmp 0x47bf06
xor esi, esi
mov ebx, dword [0x48ca50]
mov eax, dword [esp]
mov edi, eax
jmp 0x47bf00
push eax
call fcn.00472bc0
pop ecx
test eax, eax
je 0x47bef5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x47bef9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x47bee4
mov eax, dword [0x48ca50]
test eax, eax
je 0x47bf16
push eax
call fcn.00472460
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x48ca50], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x45e2a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x479d40]
jne 0x45e2aa
repz ret
jmp fcn.004663a6

Function at 0x46453c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x479d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045b92c
and dword [ebp - 0x14], 0
cmp dword [0x480034], 0
mov dword [ebp - 0x18], eax
jne 0x4645ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x464697
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d490
push ebx
call edi
test eax, eax
je 0x464697
mov esi, dword [section..data]
push eax
call esi
push 0x46d480
push ebx
mov dword [0x480034], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480038], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48003c], eax
call edi
push eax
call esi
mov dword [0x480044], eax
test eax, eax
je 0x4645ef
push 0x46d438
push ebx
call edi
push eax
call esi
mov dword [0x480040], eax
mov eax, dword [0x480040]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x479004]
cmp eax, ecx
je 0x464648
cmp dword [0x480044], ecx
je 0x464648
push eax
call esi
push dword [0x480044]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x464648
test ebx, ebx
je 0x464648
call edi
test eax, eax
je 0x46463f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x46463f
test byte [ebp - 8], 1
jne 0x464648
or dword [ebp + 0x10], 0x200000
jmp 0x46467b
mov eax, dword [0x480038]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x46467b
mov eax, dword [0x48003c]
cmp eax, dword [ebp - 0x18]
je 0x46467b
push eax
call esi
test eax, eax
je 0x46467b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480034]
call esi
test eax, eax
je 0x464697
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x464699
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045e2a0
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x480d70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
or ebp, 0xffffffff
jmp 0x480d92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x480d99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480d88
mov eax, 1
add ebx, ebx
jne 0x480dab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x480dbc
jne 0x480ddb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480ddb
dec eax
add ebx, ebx
jne 0x480dc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x480da0
add ebx, ebx
jne 0x480dd7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x480e2d
xor ecx, ecx
sub eax, 3
jb 0x480df3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480e62
sar eax, 1
mov ebp, eax
jmp 0x480dfe
add ebx, ebx
jne 0x480dfe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480dcc
inc ecx
add ebx, ebx
jne 0x480e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480dcc
add ebx, ebx
jne 0x480e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x480e0e
jne 0x480e2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x480e0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x480e4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x480e3e
jmp 0x480d8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x480e4c
add edi, ecx
jmp 0x480d8e
pop esi
mov edi, esi
mov ecx, 0x17af
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x480e6a
cmp byte [edi], 0xe
jne 0x480e6a
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 0x480e6f
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x480ee7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8782c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8791c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x480e9c
mov ecx, edi
jns 0x480ecb
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 + 0x87920]
or eax, eax
je 0x480ee1
mov dword [ebx], eax
add ebx, 4
jmp 0x480eb9
call dword [esi + 0x87930]
mov ebp, dword [esi + 0x87924]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x480f1b
sub esp, 0xffffff80
jmp 0x426456
Function at 0x455c50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
or ebp, 0xffffffff
jmp 0x455c72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x455c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455c68
mov eax, 1
add ebx, ebx
jne 0x455c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x455c9c
jne 0x455cac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455cac
dec eax
add ebx, ebx
jne 0x455ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x455c80
xor ecx, ecx
sub eax, 3
jb 0x455cc4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x455d36
sar eax, 1
mov ebp, eax
jmp 0x455ccf
add ebx, ebx
jne 0x455ccf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x455cdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x455d00
inc ecx
add ebx, ebx
jne 0x455cec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x455ce1
jne 0x455cfd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455ce1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x455d20
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x455d11
jmp 0x455c6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x455d20
add edi, ecx
jmp 0x455c6e
pop esi
mov edi, esi
mov ecx, 0x19ef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x455d3e
cmp byte [edi], 5
jne 0x455d3e
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 0x455d43
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x455dbb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56ab0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x56aec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x455d70
mov ecx, edi
jns 0x455d9f
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 + 0x56af0]
or eax, eax
je 0x455db5
mov dword [ebx], eax
add ebx, 4
jmp 0x455d8d
call dword [esi + 0x56af4]
popal
jmp 0x4028d8
Function at 0x401000
Capabilities:
Timestomp file

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push 0xc0000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
jne 0x401028
xor eax, eax
jmp 0x40105d
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], edi
lea ecx, [eax + 0x1a]
push ecx
lea ecx, [eax + 0x12]
push ecx
je 0x401047
add eax, 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x401052
add eax, 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x401060
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
push 0x3a
push ebp
call edi
pop ecx
test eax, eax
pop ecx
je 0x401086
inc eax
inc eax
jmp 0x401088
mov eax, ebp
push 0x5c
push eax
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__mkdir]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x4010d6
lea eax, [esp + 0x10]
push ebp
push eax
call sub.MSVCRT.dll_strcpy
mov eax, esi
sub eax, ebp
and byte [esp + eax + 0x18], 0
lea eax, [esp + 0x18]
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x4010c8
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0x11
jne 0x401115
inc esi
push 0x5c
push esi
call edi
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x40109b
push ebp
call ebx
test eax, eax
pop ecx
je 0x401134
call dword [sym.imp.MSVCRT.dll__errno]
cmp dword [eax], 0x11
je 0x401134
cmp dword [0x403710], 0
jne 0x401110
mov dword [0x403708], str.Z:work_v3zipmisc.c
mov dword [0x40370c], 0x3a
mov dword [0x403710], 1
push 2
pop eax
jmp 0x401136
cmp dword [0x403710], 0
jne 0x401110
mov dword [0x403708], str.Z:work_v3zipmisc.c
mov dword [0x40370c], 0x32
jmp 0x401106
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret