joyce8/EMBER2024-capa huggingface dataset:
Function at 0x701920
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x7122e4]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push 0x110
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call sub.vcruntime140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x114
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_GetVersionExW]
push dword [esp + 0x14]
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0x7074dc
call fcn.00702520
add esp, 0x10
cmp dword [esp + 0x14], 2
jne 0x7019c8
mov eax, dword [esp + 8]
cmp eax, 6
jne 0x70199e
cmp dword [esp + 0xc], 1
jne 0x7019bb
push 0x707504
call fcn.00702520
mov esi, 3
jmp 0x7019b8
cmp eax, 0xa
jne 0x7019bb
cmp dword [esp + 0xc], esi
jne 0x7019bb
push 0x707528
call fcn.00702520
mov esi, 5
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [0x71230c], eax
test esi, esi
jne 0x7019d5
push 0x70754c
call fcn.00702520
add esp, 4
push 0x707568
call fcn.00702520
mov ecx, dword [esp + 0x11c]
add esp, 4
mov dword [0x712308], esi
mov eax, esi
pop esi
xor ecx, esp
call fcn.007062b2
add esp, 0x118
ret
Function at 0x702a30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
cmp dword [0x712310], 0
je 0x702a42
xor eax, eax
add esp, 0x20
ret
push ebx
push ebp
push esi
push edi
push 1
push 0
push 0
call fcn.00702ca0
add esp, 0xc
push 0
call dword [sym.imp.user32.dll_GetDC]
mov esi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov edi, eax
push 0xe
push edi
call esi
push 0xc
push edi
call esi
push edi
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x702a92
push 0x10
push 0
push 0
push 0
push ebp
push 0
call dword [sym.imp.user32.dll_LoadImageW]
jmp 0x702aa6
push 0x192
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.user32.dll_LoadBitmapW]
mov ebx, eax
test ebx, ebx
jne 0x702ab7
pop edi
pop esi
pop ebp
lea eax, [ebx + 2]
pop ebx
add esp, 0x20
ret
lea eax, [esp + 0x18]
push eax
push 0x18
push ebx
call dword [sym.imp.gdi32.dll_GetObjectW]
mov esi, dword [sym.imp.user32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
sub edi, dword [esp + 0x1c]
mov ecx, eax
sub ecx, dword [esp + 0x20]
mov eax, edi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov edi, dword [sym.imp.user32.dll_SetWindowPos]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
test ebp, ebp
jne 0x702b9f
push 0xfffffffffffffffc
push dword [0x71231c]
call dword [sym.imp.user32.dll_GetWindowLongW]
push 0x7028c0
push 0xfffffffffffffffc
push dword [0x71231c]
mov dword [0x712318], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
push 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
push 0
push dword [0x71231c]
push 0
push 0
push 0
push 0
push 0x54000000
push 0x70756c
push 0x707570
push 0
call dword [sym.imp.user32.dll_CreateWindowExW]
push 1
push 0x11
mov dword [0x712314], eax
call dword [sym.imp.gdi32.dll_GetStockObject]
push eax
push 0x30
push dword [0x712314]
call esi
mov eax, dword [esp + 0x1c]
push 0x34
push 0x1e
add eax, 0xffffff6a
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xffffffc9
push eax
push 0xf
push 0
push dword [0x712314]
call edi
jmp 0x702bdb
mov eax, dword [0x712314]
test eax, eax
je 0x702bdb
push eax
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, dword [0x712318]
mov dword [0x712314], 0
test eax, eax
je 0x702bdb
push eax
push 0xfffffffffffffffc
push dword [0x71231c]
call dword [sym.imp.user32.dll_SetWindowLongW]
mov dword [0x712318], 0
push 0x15
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0
push dword [0x71231c]
call edi
push ebx
push 0
push 0x172
push dword [0x71231c]
call esi
push 5
push dword [0x71231c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x71231c]
call dword [sym.imp.user32.dll_BringWindowToTop]
mov dword [0x712310], 1
call fcn.00702920
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x703420
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.007062d0
mov eax, dword [0x7122e4]
xor eax, esp
mov dword [esp + 0x2000], eax
mov eax, dword [esp + 0x2008]
push ebx
mov ebx, dword [esp + 0x2010]
push esi
push 0x5c
push eax
call sub.vcruntime140.dll_wcsrchr
add esp, 8
mov esi, eax
lea eax, [esp + 0x1008]
push 0x7ff
push eax
push 0x70d904
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
jle 0x703514
test esi, esi
je 0x703514
xor eax, eax
nop
movzx ecx, word [esp + eax + 0x1008]
lea eax, [eax + 2]
mov word [esp + eax + 6], cx
test cx, cx
jne 0x703480
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x7034a0
mov eax, dword [0x70d900]
lea edx, [esi + 2]
mov dword [edi], eax
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7034c0
lea edi, [esp + 0xc]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7034d4
mov ecx, edx
lea eax, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.00703350
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.007062b2
add esp, 0x2004
ret
mov ecx, dword [esp + 0x2008]
or eax, 0xffffffff
pop esi
pop ebx
xor ecx, esp
call fcn.007062b2
add esp, 0x2004
ret
Function at 0x705bd0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
xor edi, edi
xor esi, esi
test ebp, ebp
jle 0x705c19
mov eax, dword [esp + 0x70]
mov edx, dword [eax + esi*4]
mov eax, edx
lea ebx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x705bf0
sub eax, ebx
sar eax, 1
inc eax
push 0x20
push edx
add edi, eax
call sub.vcruntime140.dll_wcschr
add esp, 8
test eax, eax
je 0x705c14
add edi, 2
inc esi
cmp esi, ebp
jl 0x705be3
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x705c37
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x705c26
sub ecx, edx
sar ecx, 1
add edi, ecx
lea eax, [edi*2 + 2]
push eax
call sub.ucrtbase.dll_malloc
mov esi, eax
add esp, 4
mov edx, esi
xor edi, edi
mov dword [esp + 0x10], edx
test ebp, ebp
jle 0x705cdb
mov ebx, dword [esp + 0x70]
nop dword [eax]
push 0x20
push dword [ebx + edi*4]
call sub.vcruntime140.dll_wcschr
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x705c7e
mov eax, 0x22
mov word [esi], ax
add esi, 2
mov ecx, dword [ebx + edi*4]
mov edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x705c83
mov ecx, dword [ebx + edi*4]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x705ca0
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
test ebp, ebp
je 0x705cc1
mov eax, 0x22
mov word [esi], ax
add esi, 2
mov eax, 0x20
inc edi
mov word [esi], ax
add esi, 2
cmp edi, dword [esp + 0x6c]
jl 0x705c60
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x10]
test ebx, ebx
je 0x705cf3
mov ecx, esi
sub ecx, ebx
movzx eax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx + ebx - 2], ax
test ax, ax
jne 0x705ce3
xor eax, eax
xorps xmm0, xmm0
mov word [esi], ax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
movlpd qword [esp + 0x2c], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x4c], 0x44
movups xmmword [esp + 0x3c], xmm0
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
jne 0x705d7f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0x70dd60
call fcn.00702520
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
push dword [esp + 0x14]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [esp + 0x18]
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x58
ret

Function at 0x705da0
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, dword [sym.imp.kernel32.dll_SleepEx]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor esi, esi
push ebp
push dword [esp + 0x18]
call sub.ucrtbase.dll__wrename
mov edi, eax
add esp, 8
test edi, edi
je 0x705dd2
push 0
push 0x3e8
call ebx
inc esi
cmp esi, 3
jl 0x705db0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401029
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x43eef0]
and dword [ebp - 8], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x43eef4]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.00401022
mov eax, dword [0x43eef8]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x43eefc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x245c8cc]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x18]
cmp eax, 0xfa9
jne 0x40109f
mov dword [0x245c8c8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ad
and dword [0x245c354], 0
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, ecx
sub edi, eax
cmp dword [0x245c8cc], 0xc
mov dword [0x245c8c4], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010fd
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
lea eax, [ebp - 0x828]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x1c]
add ecx, edi
xor eax, ecx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401076
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret

Function at 0x40113b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x245c8cc]
mov ecx, dword [0x245c358]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011f6
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x245c8cc], 0x959
jne 0x4011e5
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.Yimu_givexohipalipen
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401163
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014a2
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
push esi
xor esi, esi
cmp dword [0x245c8cc], 0x400
push edi
jne 0x4014ff
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
call fcn.00401639
push esi
push esi
call fcn.0040176f
push esi
call fcn.00401d81
push esi
push esi
call fcn.00401bcc
push esi
call fcn.00401e17
push esi
push esi
call fcn.00401673
add esp, 0x24
xor edi, edi
cmp edi, 0x16d2a
jge 0x401517
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x40153c
inc edi
cmp edi, 0x3011b
jl 0x401501
mov eax, dword [0x43f33c]
mov dword [0x245c8cc], eax
call fcn.004011f9
mov edi, 0x3078f
cmp dword [0x245c8cc], 0x51f
jne 0x40156a
push esi
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec edi
jne 0x401550
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e678]
jne 0x405e25
repz ret
jmp fcn.00407c5a
Function at 0x407460
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e678]
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.00404a33
and dword [ebp - 0x14], 0
cmp dword [0x449e90], 0
mov dword [ebp - 0x18], eax
jne 0x407513
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4075bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4075bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x449e90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x449e94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x449e98], eax
call edi
push eax
call esi
mov dword [0x449ea0], eax
test eax, eax
je 0x407513
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x449e9c], eax
mov eax, dword [0x449e9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40756c
cmp dword [0x449ea0], ecx
je 0x40756c
push eax
call esi
push dword [0x449ea0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40756c
test ebx, ebx
je 0x40756c
call edi
test eax, eax
je 0x407563
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407563
test byte [ebp - 8], 1
jne 0x40756c
or dword [ebp + 0x10], 0x200000
jmp 0x40759f
mov eax, dword [0x449e94]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40759f
mov eax, dword [0x449e98]
cmp eax, dword [ebp - 0x18]
je 0x40759f
push eax
call esi
test eax, eax
je 0x40759f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x449e90]
call esi
test eax, eax
je 0x4075bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4075bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405e1b
leave
ret
Function at 0x42c1d3
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x435770
call fcn.0042c958
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x436574
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x42c218
cmp eax, esi
jne 0x42c20b
xor esi, esi
inc esi
mov edi, esi
jmp 0x42c21b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42c1ef
xor esi, esi
inc esi
cmp dword [0x436578], esi
jne 0x42c22d
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x42c267
cmp dword [0x436578], ebx
jne 0x42c261
mov dword [0x436578], esi
push 0x40141c
push 0x401410
call fcn.0042c34c
pop ecx
pop ecx
test eax, eax
je 0x42c267
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42c33c
mov dword [0x436124], esi
cmp dword [0x436578], esi
jne 0x42c28a
push 0x40140c
push 0x4013f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x436578], 2
test edi, edi
jne 0x42c297
xor eax, eax
mov ecx, 0x436574
xchg dword [ecx], eax
cmp dword [0x43657c], 0
je 0x42c2c3
push 0x43657c
call fcn.0042c7b0
pop ecx
test eax, eax
je 0x42c2c3
push ebx
push 2
push ebx
mov esi, dword [0x43657c]
mov ecx, esi
call dword [0x437220]
call esi
push dword [0x436130]
push dword [0x43612c]
push dword [0x436128]
call fcn.0040d66e
add esp, 0xc
mov dword [0x436120], eax
cmp dword [0x436138], 0
jne 0x42c321
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x436124], 0
jne 0x42c335
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x436120]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.004c8000
jmp 0x42c1d3

Function at 0x42c6a4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x435790
call fcn.0042c958
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x42c704
cmp eax, 0xffffffff
je 0x42c704
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x42c6fd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x42c6fd
cmp edx, 0x10000000
jae 0x42c6fd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x42c6fa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42c760
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x42c79e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42c796
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42c7a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42c786
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x52362857
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str.f_z
nop
mov ebx, 0x4304d8
mov ecx, 0x22da3b66
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x825058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8251a8
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 0x82507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82506a
add dl, dl
jne 0x825089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8250dc
xor eax, eax
add dl, dl
jne 0x825096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x82517d
add dl, dl
jne 0x8250a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8250b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8250bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8250c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8250d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x825075
mov eax, 1
add dl, dl
jne 0x8250ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8250f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8250e1
sub eax, ebx
mov ebx, 1
jne 0x825128
mov ecx, 1
add dl, dl
jne 0x82510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x825119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x825105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x825075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x82513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x82514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x825136
cmp eax, 0x7d00
jae 0x82516d
cmp eax, 0x500
jb 0x825168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x825075
cmp eax, 0x7f
ja 0x825170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x825075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x82519e
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 0x825075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x901960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x315000]
push edi
jmp 0x90197a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x901981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x901970
mov eax, 1
add ebx, ebx
jne 0x901993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9019a4
jne 0x9019c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9019c3
dec eax
add ebx, ebx
jne 0x9019b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x901988
add ebx, ebx
jne 0x9019bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x901a15
xor ecx, ecx
sub eax, 3
jb 0x9019db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x901a4a
sar eax, 1
mov ebp, eax
jmp 0x9019e6
add ebx, ebx
jne 0x9019e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9019b4
inc ecx
add ebx, ebx
jne 0x9019f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9019b4
add ebx, ebx
jne 0x901a01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9019f6
jne 0x901a12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9019f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x901a34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x901a26
jmp 0x901976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x901a34
add edi, ecx
jmp 0x901976
pop esi
mov edi, esi
mov ecx, 0xdb44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x901a52
cmp byte [edi], 0x22
jne 0x901a52
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 0x901a57
lea edi, [esi + 0x4f1000]
mov eax, dword [edi]
or eax, eax
je 0x901ac6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51a5e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51a610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x901a84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x51a614]
or eax, eax
je 0x901ac0
mov dword [ebx], eax
add ebx, 4
jmp 0x901aa1
call dword [esi + 0x51a624]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x901af7
cmp al, 0xef
ja 0x901aea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x901acc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x901ad9
mov ebp, dword [esi + 0x51a618]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x901b2b
sub esp, 0xffffff80
jmp 0x58e8f2