joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1644
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4f165b
add esp, 0xfffffff0
call fcn.00405c74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0044be74
mov eax, dword [0x5a3b74]
cmp byte [eax], 0
jne 0x4f1688
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5a4190]
cmp word [eax + 2], 0
jne 0x4f16a2
mov eax, dword [0x5a4190]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f370c
mov eax, dword [0x5a43b4]
cmp word [eax + 2], 0
jne 0x4f16bc
mov eax, dword [0x5a43b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004f3910
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x456330]
call fcn.0045c894
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4f3e88
mov dl, 1
mov eax, dword [0x434200]
call fcn.00405714
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x434200]
call fcn.00405714
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x45aa2c]
call fcn.00465db4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4f189c
mov eax, dword [0x5a3f28]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00466248
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4f4170
mov dl, 1
mov eax, dword [0x434200]
call fcn.00405714
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5a3f28]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041e8a4
test eax, eax
je 0x4f17cd
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041e604
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041e888
test eax, eax
je 0x4f17e5
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407c18
push ebx
push 0x4f30f8
call fcn.004e7434
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5a3b74]
cmp byte [eax], 0
jne 0x4f1836
mov eax, ebx
call fcn.004f1a10
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004f439c
mov eax, ebx
call fcn.004f4fcc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4f1893
call fcn.00405ccc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f1cdc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4f1d7e
cmp dword [ebx + 0x94], 0
jne 0x4f1d78
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4f1c28
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4f1d78
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4f1d3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4f1d78
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043f6c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4f1d4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4f1f9c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5aa2b4]
cmp dword [eax + 0x170], 0
je 0x4f2101
test bl, bl
jne 0x4f204f
cmp dword [esi + 0x9c], 0
jne 0x4f2044
mov eax, esi
call fcn.004f4e1c
push eax
push 0x4f1ea8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4f2015
mov eax, dword [0x5aa2b4]
cmp byte [eax + 0xd3], 0
je 0x4f2015
mov eax, dword [esi + 0xd8]
call fcn.00408b94
mov edi, eax
cmp edi, 0
jl 0x4f2015
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4f1ffe
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4f2044
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f6c8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4f2024
inc dword [esi + 0x9c]
jmp 0x4f2101
cmp dword [esi + 0x9c], 0
jle 0x4f2101
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4f2101
cmp dword [esi + 0x44], 0
je 0x4f20ac
mov eax, dword [0x5aa2b4]
cmp byte [eax + 0xd3], 0
je 0x4f20ac
mov eax, dword [esi + 0xd8]
call fcn.00408b94
mov edi, eax
cmp edi, 0
jl 0x4f20ac
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4f2095
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4f20db
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043f6c8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4f20bb
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4e530c]
call fcn.00408d54
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4f2d44
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4f2daf
cmp byte [ebx + 0xd3], 0
jne 0x4f2daf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004072cc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4f2d9c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4f2dbc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407524
jmp 0x4f2dbc
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00407524
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4f4584
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4f45f2
mov eax, esi
call fcn.00483a04
test al, al
je 0x4f45f2
mov eax, dword [ebx + 0x84]
call fcn.00483658
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f45f2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4f45e6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00483658
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047a5d4
jmp 0x4f45f2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004f43bc
pop esi
pop ebx
ret
Function at 0x4fe640
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4fe66e
mov eax, ebx
call fcn.004ff0f4
cmp dword [ebx + 0x40], 0
je 0x4fe667
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4fe6df
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4fe6d1
cmp dword [ebx + 8], 0
je 0x4fe690
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4fe6a2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4fe6d1
cmp dword [ebx + 8], 0
je 0x4fe683
cmp eax, 3
je 0x4fe6b5
dec eax
jne 0x4fe683
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4fe683
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4fe683
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4fe6fd
cmp dword [ebx + 0x14], 0xcc
je 0x4fe6fd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004fe708
pop ebx
ret
Function at 0x510848
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x510850
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x510985
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00404770
mov eax, dword [ebp - 0x14]
call fcn.00407b7c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x510954
mov eax, esi
call fcn.004043e8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00404770
mov eax, dword [ebp - 0x18]
call fcn.00407b7c
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x510994
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0041da70
push dword [ebx]
push 0x5109a4
mov eax, dword [edi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0041da70
push dword [ebp - 0x1c]
mov eax, ebx
mov edx, 3
call fcn.00407e50
mov eax, dword [edi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0041da70
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00407d70
mov eax, dword [edi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0041da70
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00407d70
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.00404404
jmp 0x51096a
mov ecx, 0x5109b4
mov dl, 1
mov eax, dword [0x41879c]
call fcn.00422d80
call fcn.004068b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51098c
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004071c4
ret
Function at 0x510a14
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407248
xor eax, eax
push ebp
push 0x510b4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x510b68
call fcn.00407524
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407b7c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x510b1e
mov eax, esi
call fcn.004043e8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x510b6c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0041da70
push dword [ebx]
push 0x510b7c
mov eax, dword [edi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.0041da70
push dword [ebp - 0x18]
mov eax, ebx
mov edx, 3
call fcn.00407e50
mov eax, dword [edi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0041da70
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.00407d70
mov eax, dword [edi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0041da70
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.00407d70
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00404404
jmp 0x510b2a
mov eax, ebx
mov edx, 0x510b8c
call fcn.00407524
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510b54
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004071c4
lea eax, [ebp - 4]
call fcn.00407164
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], eax
mov edi, 0x5aa334
mov byte [esp + 4], 0
xor ebx, ebx
mov ebp, edx
test ebp, ebp
jle 0x5114d9
push 9
mov eax, dword [esp + 4]
call fcn.00483658
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esp]
call fcn.00483658
push eax
call sub.user32.dll_SetForegroundWindow
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
cmp byte [edi], 1
je 0x5114d6
cmp byte [edi], 2
je 0x5114de
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x5a433c]
mov eax, dword [eax]
call fcn.004f32d0
mov eax, ebx
sub eax, esi
cmp eax, 0x3e8
jbe 0x5114ae
dec ebp
jne 0x511488
mov byte [esp + 4], 1
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5114ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, eax
mov esi, 0x5aa334
mov byte [esp], 0
xor ebx, ebx
mov byte [esi], 1
test edx, edx
jle 0x51156d
mov dword [esp + 4], edx
push 9
mov eax, ebp
call fcn.00483658
push eax
call sub.user32.dll_ShowWindow
mov eax, ebp
call fcn.00483658
push eax
call sub.user32.dll_SetForegroundWindow
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
cmp byte [esi], 2
je 0x511571
cmp byte [esi], 0
jne 0x511544
mov edx, 0x270f
mov eax, ebp
call fcn.0051146c
cmp byte [esi], 1
jne 0x511550
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x5a433c]
mov eax, dword [eax]
call fcn.004f32d0
mov eax, ebx
sub eax, edi
cmp eax, 0x3e8
jbe 0x51152e
dec dword [esp + 4]
jne 0x51150b
mov byte [esp], 1
movzx eax, byte [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x525350
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x525478
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0052523c
mov eax, dword [esi]
call fcn.00408b8c
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416fb4]
call fcn.00408d54
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004045b4
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004045b4
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00408b8c
mov dword [ebp - 0xc], eax
mov eax, dword [0x5a45e8]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00514ca0
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00404cb0
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00408b8c
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.00514c7c
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.00514a34
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00514c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52547f
lea eax, [ebp - 4]
mov edx, dword [0x416fb4]
call fcn.00408d60
ret
Function at 0x54ffa8
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00407cf0
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x54ffcd
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00407b7c
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x54ffec
mov eax, ebx
mov edx, dword [esp]
call fcn.00407cf0
pop ecx
pop edx
pop ebx
ret
Function at 0x131f9030
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x10a128eb
mov esi, 0x4122eb70
aam 0x6d
add ebp, dword [eax]
inc esi
mov al, 0x7b
lcall 0x10a0, 0x468069ec
adc al, 0x69
mov byte [0x2f8005e], al
dec ebp
je 0x131d094d
adc al, 0x26
inc ecx
pop eax
movsb byte es:[edi], byte [esi]
xchg ebp, eax
inc esi
test eax, 0xf7b6eb34
or al, 0xb4
xchg edx, eax
xchg byte [edx - 0x5b], dl
in al, dx
or ebx, dword [edi - 5]
invalid
invalid
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7d000]
mov dword [edi + 0x917b0], 0xfdaf2edd
push edi
or ebp, 0xffffffff
jmp 0x131f905a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x131f9061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x131f9050
mov eax, 1
add ebx, ebx
jne 0x131f9073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x131f9084
jne 0x131f90a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x131f90a3
dec eax
add ebx, ebx
jne 0x131f9090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x131f9068
add ebx, ebx
jne 0x131f909f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x131f90f5
xor ecx, ecx
sub eax, 3
jb 0x131f90bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x131f912a
sar eax, 1
mov ebp, eax
jmp 0x131f90c6
add ebx, ebx
jne 0x131f90c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x131f9094
inc ecx
add ebx, ebx
jne 0x131f90d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x131f9094
add ebx, ebx
jne 0x131f90e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x131f90d6
jne 0x131f90f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x131f90d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x131f9114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x131f9106
jmp 0x131f9056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x131f9114
add edi, ecx
jmp 0x131f9056
pop esi
mov edi, esi
mov ecx, 0x4d84
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x131f9132
cmp byte [edi], 0x1f
jne 0x131f9132
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 0x131f9137
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x131f91a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb9764]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb9958]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x131f9164
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb995c]
or eax, eax
je 0x131f91a0
mov dword [ebx], eax
add ebx, 4
jmp 0x131f9181
call dword [esi + 0xb996c]
mov ebp, dword [esi + 0xb9960]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x131f91da
sub esp, 0xffffff80
jmp 0x131d08b4
Function at 0x403174
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405054
test esi, esi
jne 0x4031aa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405144
jmp 0x4031c8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403078
mov edi, eax
test esi, esi
je 0x4031c8
cmp dword [ebx], 0
je 0x4031c8
dec esi
jmp 0x4031b1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x404040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ad020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4040d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4040b8
xor eax, eax
push ebp
push 0x4040b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4040f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4040b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4ad020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ad020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ed4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b104c], 0
je 0x404f35
cmp word [0x4b1220], 0xd7b2
jne 0x404efd
cmp dword [0x4b1228], 0
jbe 0x404efd
mov eax, 0x4b121c
call dword [0x4b1238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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
push 0x404f5c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad02c], 0
jne 0x404f51
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret