joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d340
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.004c2d90
test al, al
jne 0x4c3469
mov ecx, str.IE_21
call fcn.004c65c0
jmp 0x4c3604
push 0x104
push 0
push 0x5c0d00
call fcn.00431a30
add esp, 0xc
push str..bin
push dword [ebp + 8]
push 0x559f58
push 0x104
push 0x5c0d00
call fcn.004230f0
add esp, 0x14
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push 0x5c0d00
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c357c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x4c3570
mov esi, dword [0x5c7754]
inc esi
mov dword [0x5c7754], esi
push 0x104
push 0
push 0x5c0d00
call fcn.00431a30
add esp, 0xc
push str..bin
push esi
push dword [ebp + 8]
push str._s__d_s
push 0x104
push 0x5c0d00
call fcn.004230f0
add esp, 0x18
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push 0x5c0d00
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c357c
cmp dword [0x5c1260], 0
jne 0x4c3604
push 0x5c0d00
push str.__WARNING___opening_file_2nd_attempt:__ls_n
push 0x1388
push 0x5ae050
call fcn.00424a70
add esp, 0x10
mov ecx, 0x5ae050
call fcn.004c65c0
jmp 0x4c3604
push 0x5c0d00
push str.__WARNING___opening_file__ls_n
jmp 0x4c354f
mov dword [ebp - 0x1c], 0
push ecx
mov edx, edi
mov ecx, ebx
call fcn.004c32e0
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
cmovne edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4c35b7
push 0x5c0d00
push str.__WARNING___write_file_failed:__ls_n
jmp 0x4c354f
cmp dword [ebp - 0x1c], ebx
je 0x4c35c8
mov ecx, str.__WARNING___dwBytesWritten___dwBytesToWrite_n
call fcn.004c65c0
jmp 0x4c3604
mov ecx, dword [ebp - 0x20]
call fcn.004c33b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c3fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
push esi
push 0x554b7c
push 0
push 9
call fcn.00454e70
lea eax, [esi - 3]
add esp, 0x10
mov cl, 1
cmp eax, 0x3e
ja case.0x4c3ffd.4
movzx eax, byte [eax + 0x4c4034]
jmp dword [eax*4 + 0x4c4028]
xor cl, cl
xor dl, dl
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c6c20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d4a8
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov bh, dl
mov edi, ecx
xor bl, bl
push 0x96
push 0
lea eax, [ebp - 0xb8]
push eax
call fcn.004d7120
add esp, 0xc
mov dword [ebp - 4], 0
test edi, edi
je 0x4c6ca0
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6c75
sub ecx, edx
cmp ecx, 0x96
jbe 0x4c6ca0
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bh, bh
je 0x4c6d1c
mov dl, 1
mov ecx, edi
call fcn.004c66d0
mov dword [ebp - 0x20], eax
mov esi, dword [0x5c55a4]
mov esi, dword [esi]
cmp esi, dword [0x5c55a4]
je 0x4c6d1c
push eax
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4c6cee
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4c6d10
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4c6d09
cmp esi, dword [eax + 8]
jne 0x4c6d09
mov esi, eax
jmp 0x4c6cf7
mov esi, eax
mov eax, dword [ebp - 0x20]
jmp 0x4c6cb8
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4c6d0b
jmp 0x4c6d10
cmp byte [0x5c774c], 0
jne 0x4c6d4c
push 0x96
push 0x5c7760
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4c6d45
mov ecx, str.IE_36
call fcn.004c65c0
jmp 0x4c6d4c
mov byte [0x5c774c], 1
push 0x53d618
push edi
call fcn.004d5370
add esp, 8
test eax, eax
jne 0x4c6ded
push edi
push 0x5c7760
push str._s_s
lea eax, [ebp - 0xb8]
push eax
call fcn.00468890
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.004c7060
test eax, eax
jne 0x4c6e59
push 0x55a750
lea eax, [ebp - 0xb8]
push eax
call fcn.004d5370
add esp, 8
test eax, eax
jne 0x4c6df8
push str..dll
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x4c6df8
push str..dll
lea eax, [ebp - 0xb8]
push eax
push 0x55a740
push eax
call fcn.00468890
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.004c7060
test eax, eax
je 0x4c6df8
mov bl, 1
jmp 0x4c6e72
mov ecx, edi
call fcn.004c7060
test eax, eax
jne 0x4c6e59
push 0x96
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.004d7120
add esp, 0xc
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6e13
sub ecx, edx
test ecx, ecx
jle 0x4c6c86
push ecx
push edi
mov edx, 0x96
lea ecx, [ebp - 0x150]
call fcn.004c2cf0
lea ecx, [ebp - 0x150]
call fcn.004c6650
push str.api_ms_win_appmodel_runtime
lea eax, [ebp - 0x150]
push eax
call fcn.004d5370
add esp, 0x10
test eax, eax
je 0x4c6e75
mov bl, 1
jmp 0x4c6e72
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7060
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d4e8
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4c70c4
cmp eax, 0xffffffff
je 0x4c70e3
test al, 0x10
jne 0x4c70e3
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d2330
Capabilities:
Terminate process

Disassembly:
push ecx
push str._n_Malwarebytes_Scanner_
call fcn.004572d0
add esp, 4
push 0x55ab20
push str.Version:__s_____PRODUCTION___n_n
call fcn.004572d0
add esp, 8
cmp byte [0x5c1251], 0
jne 0x4d2382
push 0x55a814
push str._s_options__file.exe___n
call fcn.004572d0
push str.__version______Print_out_version_number_n
call fcn.004572d0
add esp, 0xc
push str.__timer__ms____Stop_execution_via_timer_n
call fcn.004572d0
add esp, 4
push 1
call fcn.004e5620
int3

Function at 0x4d2390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e930
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 4], 0
push 0x5c1254
push 0
push dword [0x5c1258]
push 0x4614b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5c1018], eax
test eax, eax
jne 0x4d23f5
push ecx
lea ecx, [eax + 0x38]
call fcn.004c3fd0
add esp, 4
mov eax, dword [0x5c1018]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [0x5c1265], 1
push 0
push 0x69
call fcn.004c3f70
add esp, 8
jmp 0x4d2425
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d28d0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
call fcn.004d2440
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, 0xfffffffe
je 0x4d292e
push 0x35
push 0x554b7c
push 0
push 9
call fcn.00454e70
add esp, 0x10
xor dl, dl
mov cl, 1
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 0x35
push eax
call ebx
push eax
call edi
push esi
push 0x104
push 0x5b0598
call fcn.004e3f8e
add esp, 0xc
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push 0xffffffffffffffff
push 0x5b0598
push 0x104
push 0x5afc30
push eax
call fcn.004d9d38
mov eax, dword [esp + 0x20]
add esp, 0x14
test eax, eax
jne 0x4d297d
mov ecx, str.IE_34
call fcn.004c65c0
mov eax, dword [esp + 0xc]
dec eax
push 0x105
mov dword [0x5c103c], eax
call fcn.004da034
add esp, 4
mov dword [0x5affe0], eax
test eax, eax
jne 0x4d29c2
push 0x29
push 0x554b7c
push eax
push 9
call fcn.00454e70
add esp, 0x10
xor dl, dl
mov cl, 1
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 0x29
push eax
call ebx
push eax
call edi
push 0x20a
call fcn.004da034
add esp, 4
mov dword [0x5affe4], eax
test eax, eax
jne 0x4d2a01
push 0x29
push 0x554b7c
push eax
push 9
call fcn.00454e70
add esp, 0x10
xor dl, dl
mov cl, 1
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 0x29
push eax
call ebx
push eax
call edi
push 0x5afc30
push 0x104
push dword [0x5affe0]
call fcn.004d97bd
add esp, 0xc
push 0x5b0598
push 0x104
push dword [0x5affe4]
call fcn.004e3f8e
add esp, 0xc
lea eax, [esp + 0x10]
push 0x104
push 0
push eax
call fcn.004d7120
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call fcn.004c6a90
push eax
call fcn.0050c68a
add esp, 4
test eax, eax
je 0x4d2a91
push 0x2c
push 0x554b7c
push 0
push 9
call fcn.00454e70
add esp, 0x10
xor dl, dl
mov cl, 1
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 0x2c
push eax
call ebx
push eax
call edi
mov eax, dword [0x5c0f18]
lea ecx, [esp + 0x10]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d2ac0
test dl, dl
je 0x4d2abc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d2ac0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d2aa0
xor eax, eax
jmp 0x4d2ac5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4d2af3
push 0x49
push 0x554b7c
push 0
push 9
call fcn.00454e70
add esp, 0x10
xor dl, dl
mov cl, 1
call fcn.004c3d20
mov eax, dword [0x5ab0dc]
or eax, 0x49
push eax
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d34f0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e960
push 0x51bf78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov edi, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edi], ax
je 0x4d3572
push ecx
mov ecx, 0xa
call fcn.004c3fd0
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x28], esi
cmp dword [esi], 0x4550
jne 0x4d3547
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
shr eax, 0x10
mov edx, dword [ebp - 0x40]
test eax, 0x4000
je 0x4d35bc
push 0
movzx eax, word [esi + 0x5c]
push eax
mov ecx, 0x280
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
mov eax, 0x14c
cmp dx, ax
jne 0x4d370e
movzx eax, word [esi + 0x5c]
cmp eax, 2
je 0x4d35e6
cmp eax, 3
je 0x4d35e6
cmp eax, 1
je 0x4d35e6
test ax, ax
jne 0x4d370e
mov dword [0x5aff88], 1
mov ecx, dword [ebp - 0x2e]
test ecx, 0x2000
je 0x4d3648
mov edx, esi
mov ecx, edi
call fcn.00426400
test al, al
jne 0x4d36a6
mov eax, 0x1000
test word [esi + 0x5e], ax
je 0x4d3635
push 0
movzx eax, word [esi + 0x5c]
push eax
mov edx, 0x14c
lea ecx, [edx + 0x34]
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
mov byte [0x5b07a0], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x4d374c
test cl, 2
je 0x4d36f4
mov ecx, 0x10b
cmp word [esi + 0x18], cx
jne 0x4d36f4
lea eax, [ebp - 0x24]
push eax
push 0x5b0598
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x4d36c6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4d3699
push eax
movzx eax, word [esi + 0x5c]
push eax
mov edx, 0x14c
mov ecx, 0x200
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
mov edx, esi
mov ecx, edi
call fcn.00426400
test al, al
je 0x4d363c
push 0
movzx eax, word [esi + 0x5c]
push eax
mov edx, 0x14c
mov ecx, 0x240
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
mov edx, esi
call fcn.004d3420
test eax, eax
jne 0x4d363c
push eax
movzx eax, word [esi + 0x5c]
push eax
mov edx, 0x14c
mov ecx, 0x300
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
push 0
push eax
mov edx, 0x14c
lea ecx, [edx + 0x74]
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
push 0
movzx eax, word [esi + 0x5c]
push eax
mov ecx, 0x100
call fcn.004d3160
add esp, 4
mov ecx, eax
jmp 0x4d354d
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x511b9a
Capabilities:
Read file on windows

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

Function at 0x511ba5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005119cb
Function at 0x512c90
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005127dd
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x1291c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x12a2b94
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x12aa014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x1388
call dword [0x12a3004]
push 1
mov dword [ebp - 4], 0
call fcn.01292057
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
push 0x3b9aca00
mov byte [ebp - 4], 1
call fcn.01296289
add esp, 4
test eax, eax
je 0x1291da3
push 0x3b9aca00
push 0xd5
push eax
call fcn.012932a0
add esp, 0xc
xor edx, edx
nop dword [eax]
mov eax, edx
and eax, 3
mov al, byte [eax + 0x12a8bcc]
xor byte [edx + 0x12aa8c0], al
inc edx
cmp edx, 0x22400
jb 0x1291d00
push 7
push 2
push 0x12a8b44
call fcn.01291c10
add esp, 0xc
xor edx, edx
nop dword [eax]
mov eax, edx
and eax, 3
mov al, byte [eax + 0x12a8bcc]
xor byte [edx + 0x12cccc0], al
inc edx
cmp edx, 0x77e
jb 0x1291d30
push 0
push 1
push 0
push 0x12a8bbc
mov dword [ebp - 0x18], 0
call fcn.01291c10
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x77e
push 0x12cccc0
call dword [str.E_b_tX]
mov dword [ebp - 0x18], 0x12cce42
mov edx, 0x12aa8c0
push edx
xor edx, edx
mov edi, edx
push 0
lea esi, [0x12aa8b0]
push esi
mov edx, dword [esp]
mov edx, dword [edx]
pop esi
push edx
pop esi
push esi
mov eax, dword [ebp - 0x18]
dec eax
call eax
push 1
push ebx
call fcn.01292087
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.01292049
mov esp, ebp
pop ebp
ret

Function at 0x129253c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x12a3030]
test eax, eax
je 0x129257b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x129257b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x129257b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x129257b
cmp dword [ecx + 0x74], 0xe
jbe 0x129257b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x416000
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
pushal
push 0x416031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x41603a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x416047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp loc.0040b63a

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x16763e7f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x68de32a1
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402f40
Capabilities:
Create mailslot

Disassembly:
push ecx
cmp dword [0x2b8167c], 3
jne 0x402f66
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [esp], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
xor dword [esp], eax
mov eax, dword [esp]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
pop ecx
ret 0xc

Function at 0x403170
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x2b8167c]
mov ecx, dword [0x2b7e588]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x403243
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleCount]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x2b8167c], 0x959
jne 0x403225
push 0
call esi
push 0
lea eax, [esp + 0x1c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00402fb0
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4031b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x408d50
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ac30]
jne 0x408d5a
repz ret
jmp fcn.0040b86c

Function at 0x40b037
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004051e7
and dword [ebp - 4], 0
cmp dword [0x42bfc4], 0
mov ebx, eax
jne 0x40b0e8
push 0x402ab4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b199
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402aa8
push edi
call esi
test eax, eax
je 0x40b199
push eax
call fcn.00405175
mov dword [esp], 0x402a98
push edi
mov dword [0x42bfc4], eax
call esi
push eax
call fcn.00405175
mov dword [esp], 0x402a84
push edi
mov dword [0x42bfc8], eax
call esi
push eax
call fcn.00405175
mov dword [esp], 0x402a68
push edi
mov dword [0x42bfcc], eax
call esi
push eax
call fcn.00405175
pop ecx
mov dword [0x42bfd4], eax
test eax, eax
je 0x40b0e8
push 0x402a50
push edi
call esi
push eax
call fcn.00405175
pop ecx
mov dword [0x42bfd0], eax
mov eax, dword [0x42bfd0]
cmp eax, ebx
je 0x40b140
cmp dword [0x42bfd4], ebx
je 0x40b140
push eax
call fcn.004051f0
push dword [0x42bfd4]
mov esi, eax
call fcn.004051f0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b140
test edi, edi
je 0x40b140
call esi
test eax, eax
je 0x40b137
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b137
test byte [ebp - 0xc], 1
jne 0x40b140
or dword [ebp + 0x10], 0x200000
jmp 0x40b179
mov eax, dword [0x42bfc8]
cmp eax, ebx
je 0x40b179
push eax
call fcn.004051f0
pop ecx
test eax, eax
je 0x40b179
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b179
mov eax, dword [0x42bfcc]
cmp eax, ebx
je 0x40b179
push eax
call fcn.004051f0
pop ecx
test eax, eax
je 0x40b179
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42bfc4]
call fcn.004051f0
pop ecx
test eax, eax
je 0x40b199
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b19b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret