joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ff10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
push edi
or ebp, 0xffffffff
jmp 0x49ff32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49ff39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ff28
mov eax, 1
add ebx, ebx
jne 0x49ff4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49ff5c
jne 0x49ff7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ff7b
dec eax
add ebx, ebx
jne 0x49ff68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49ff40
add ebx, ebx
jne 0x49ff77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49ffcd
xor ecx, ecx
sub eax, 3
jb 0x49ff93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a0002
sar eax, 1
mov ebp, eax
jmp 0x49ff9e
add ebx, ebx
jne 0x49ff9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ff6c
inc ecx
add ebx, ebx
jne 0x49ffac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ff6c
add ebx, ebx
jne 0x49ffb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49ffae
jne 0x49ffca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ffae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49ffec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49ffde
jmp 0x49ff2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49ffec
add edi, ecx
jmp 0x49ff2e
pop esi
mov edi, esi
mov ecx, 0x242
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a000a
cmp byte [edi], 5
jne 0x4a000a
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 0x4a000f
lea edi, [esi + 0x9d000]
mov eax, dword [edi]
or eax, eax
je 0x4a0087
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa08e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa0924]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a003c
mov ecx, edi
jns 0x4a006b
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 + 0xa0928]
or eax, eax
je 0x4a0081
mov dword [ebx], eax
add ebx, 4
jmp 0x4a0059
call dword [esi + 0xa0930]
mov ebp, dword [esi + 0xa092c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4a00bb
sub esp, 0xffffff80
jmp 0x402970
Function at 0x4bb830
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
or ebp, 0xffffffff
jmp 0x4bb852
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bb859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb848
mov eax, 1
add ebx, ebx
jne 0x4bb86b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bb87c
jne 0x4bb89b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb89b
dec eax
add ebx, ebx
jne 0x4bb888
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bb860
add ebx, ebx
jne 0x4bb897
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bb8ed
xor ecx, ecx
sub eax, 3
jb 0x4bb8b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bb922
sar eax, 1
mov ebp, eax
jmp 0x4bb8be
add ebx, ebx
jne 0x4bb8be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb88c
inc ecx
add ebx, ebx
jne 0x4bb8cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb88c
add ebx, ebx
jne 0x4bb8d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bb8ce
jne 0x4bb8ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bb8ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bb90c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bb8fe
jmp 0x4bb84e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bb90c
add edi, ecx
jmp 0x4bb84e
pop esi
mov edi, esi
mov ecx, 0x6c2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bb92a
cmp byte [edi], 0xb
jne 0x4bb92a
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 0x4bb92f
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bb9a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbb85c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xbb898]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bb95c
mov ecx, edi
jns 0x4bb98b
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 + 0xbb89c]
or eax, eax
je 0x4bb9a1
mov dword [ebx], eax
add ebx, 4
jmp 0x4bb979
call dword [esi + 0xbb8ac]
mov ebp, dword [esi + 0xbb8a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x4bb9db
sub esp, 0xffffff80
jmp 0x405fd4
Function at 0x4070d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4070e3
pop dword [ebp - 0x38]
mov eax, 0x8ace870a
add eax, 0x7571e9d9
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x82c179c1
add dword [ebp - 0x48], 0xcb90cb8a
mov dword [ebp - 0x44], 0x41257ca1
sub dword [ebp - 0x44], 0xef2305c
mov dword [ebp - 0x40], 0xdfffd366
sub dword [ebp - 0x40], 0x93b38f38
mov dword [ebp - 0x3c], 0xfaa09588
add dword [ebp - 0x3c], 0x55f6a78
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x5d8b53cb
sub dword [ebp - 0x48], 0xe918ea75
mov dword [ebp - 0x44], 0xdbf8f6a0
sub dword [ebp - 0x44], 0x9a8c952b
mov dword [ebp - 0x40], 0x8ec9564e
add dword [ebp - 0x40], 0xd4a6161e
mov dword [ebp - 0x3c], 0xc7fc6631
sub dword [ebp - 0x3c], 0xc7fc6631
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x2e895415
add eax, 0xd1b72ceb
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x391a0
push 0
call eax
mov ecx, 0x502d
xor edx, edx
add edx, eax
mov ebx, 0x450400
add ebx, dword [ebp - 0x38]
mov edi, 0x5db9045c
add edi, 0x53b78d33
add dword [ebp - 0x28], ecx
mov esi, dword [ebx]
xor dword [ebp - 0x2c], 0x180c27b
xor esi, edi
mov dword [ebp - 0x1c], 0xe00cc687
mov dword [edx], esi
sub dword [ebp - 0x34], 0xd1c01b2d
add edx, 4
add ebx, 4
loop 0x4071f6
add eax, 0x95e36656
sub eax, 0x95e232cf
mov ebx, eax
add eax, 0xbf75e36f
sub eax, 0xbf75e36a
mov ecx, 0x4d8b98ff
sub ecx, 0x4d4b98ff
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40f197
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419794]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a16b
mov dword [ebp - 0x14], eax
cmp dword [0x72193c], esi
jne 0x40f28a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40f217
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40f36a
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40f36a
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40f36a
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x72193c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x721940], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x721944], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x72194c], eax
test eax, eax
je 0x40f287
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x721948], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40f2af
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40f2a2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push 4
pop eax
jmp 0x40f36c
cmp dword [ebp - 0x14], esi
je 0x40f2c4
push dword [0x72193c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40f2a9
mov eax, dword [0x721948]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40f322
cmp dword [0x72194c], edi
je 0x40f322
push eax
call ebx
push dword [0x72194c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40f322
test eax, eax
je 0x40f322
call ecx
test eax, eax
je 0x40f317
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40f317
test byte [ebp - 8], 1
jne 0x40f322
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40f352
mov eax, dword [0x721940]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
call eax
mov esi, eax
test esi, esi
je 0x40f34f
mov eax, dword [0x721944]
cmp eax, edi
je 0x40f34f
push eax
call ebx
test eax, eax
je 0x40f34f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x72193c]
call ebx
test eax, eax
je 0x40f36a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40f36c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040482b
mov esp, ebp
pop ebp
ret
Function at 0x4017c7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x4030d6
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4018eb
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x4018c1
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
mov ecx, 0x526e29d6
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x50507f6d
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401877
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4022d8
call fcn.00401e20
push 1
call fcn.00401905
pop ecx
test al, al
je 0x401861
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004018d3
mov byte [ebp - 0x24], al
mov eax, dword [0x403020]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x401861
test eax, eax
jne 0x40177f
mov dword [0x403020], ecx
push 0x40101c
push 0x40100c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x401762
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401851
push 0x401008
push section..text
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x403020], 2
jmp 0x401784
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00401a59
pop ecx
call fcn.00401be7
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4017b5
push esi
call fcn.004019c5
pop ecx
test al, al
je 0x4017b5
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x4040e8]
call esi
call fcn.00401bed
mov esi, eax
cmp dword [esi], edi
je 0x4017d3
push esi
call fcn.004019c5
pop ecx
test al, al
je 0x4017d3
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov edi, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
push edi
push esi
push dword [eax]
call main
add esp, 0xc
mov esi, eax
call fcn.00401d13
test al, al
je 0x401868
test bl, bl
jne 0x401806
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push 0
push 1
call fcn.00401a76
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x401851
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00401bf3
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call 0x572000
jmp 0x4016f5

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 0x4013fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406020]
jne 0x401406
repz ret
jmp fcn.00401994

Function at 0x40187b
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0xeebd068f
or al, ah
push 0x1ff1a4
adc ch, 0xb4
imul edi, ecx
mov eax, 0x7610fe43
imul ecx, ebp
test edi, ecx
jno 0x40183f
mov ah, al
adc al, 0x10
xchg ebp, ecx
add edx, 0x8d7d
js 0x401853
sbb eax, 0x965efb44
imul edi, ebx, 0xd82a26b5
add edx, 0xcc1
add edx, 0xcc1
inc ebp
mov bh, al
dec edx
test esi, edi
jno 0x401869
mov eax, 0xc952af7a
mov eax, ebx
movsx ecx, ax
xchg edx, ebx
call 0x401873
mov edi, 0
mov cl, 0x87
or al, 0x7f
xchg ah, dh
add edi, 0xc35
inc ebp
xchg ch, ch
test edi, ebp
sub edi, 0xc34
inc eax
mov ebx, eax
adc ah, bh
sub eax, ebx
xor eax, 0xc8233fba
mov ah, 0x1e
dec ecx
cmp edi, 0x2b5
jb 0x401878
pop edx
imul eax, ecx, 0x8ea33161
sub eax, edx
sbb eax, 0xfd0ab06c
and al, 0x53
inc edi
test esi, edi
inc ch
mov edi, esi
ja 0x4018d1
movzx edi, si
dec eax
mov esi, ebp
dec ecx
mov bl, bh
cmp ebp, 0xc3df
jne 0x4018e3
mov cl, cl
and al, 0xcb
inc ebp
add edx, 0xc7b8
movsx ebp, dx
test bh, 0x60
mov eax, 0x394c9c16
sub edx, 0x13
movzx ebx, dx
test edx, 0xb0c37a15
imul ebp, ecx
mov ebp, ebx
sbb eax, 0x22ca5d7b
mov ah, ch
inc edi
test esi, edx
mov ah, bl
xchg esi, esi
imul edi, ebp, 0xb66f60c1
cmp eax, 0x21adb4c
push edx
inc ebx
lea ebx, [0xe2be158c]
mov esi, 0xfd088e2
mov dh, 0xf6
mov al, cl
inc ebx
or eax, 0x2577bc38
sub ecx, eax
imul ebp, eax
cmp ebp, 0x96e3
jbe 0x40194e
xchg ah, bl
test edx, 0xf63909f0
ret
Function at 0x402000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40316c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x406020]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 0xd], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x402130
mov dword [ebp - 0x144], 0x128
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x402126
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x148]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14c]
add ecx, 8
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MFC80.DLL_Ordinal_1486]
test eax, eax
jne 0x4020f3
mov eax, dword [ebp - 0x14c]
movzx ecx, byte [eax + 0xc]
cmp ecx, 1
je 0x4020cf
mov edx, dword [ebp - 0x13c]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.00401f30
movzx eax, al
test eax, eax
je 0x4020f3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x13c]
mov dword [ecx], edx
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
jmp 0x402126
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x402126
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40206d
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004013fc
mov esp, ebp
pop ebp
ret 4
Function at 0x402570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00402000
movzx ecx, al
test ecx, ecx
je 0x4025e0
mov edx, dword [ebp - 4]
push edx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4025e0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4025be
mov byte [ebp - 5], 1
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x4025cf
mov dword [ebp - 0x14], 0x4044c0
jmp 0x4025d6
mov dword [ebp - 0x14], str._fails
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

Function at 0x402750
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4032af
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x406020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 0
mov dword [ebp - 0x68], 0x20
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push ecx
call sub.Environment.dll_public:_static_int___cdecl_CSystemInfo::GetRuntimePath_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____
add esp, 4
test eax, eax
jne 0x40281f
mov edx, dword [str.SDDManager.exe__startup]
push edx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
mov eax, dword [ebp - 0x70]
movzx ecx, byte [eax + 0xd3]
test ecx, ecx
je 0x4027e4
mov edx, dword [str.__nopreloadclose]
push edx
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
mov eax, dword [ebp - 0x6c]
push eax
push str.SDDManagerController.exe_Call_CreateProcess_with_command___s_
call sub.Environment.dll_int___cdecl_MonPrintf_char_const__
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x64]
push edx
push 0
push 0
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x40282c
push str.SDDManagerController.exe_Cannot_call_CreateProcess_as_CSystemInfo::GetRuntimePath_fails
call sub.Environment.dll_int___cdecl_MonPrintf_char_const__
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40c720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40c742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c738
mov eax, 1
add ebx, ebx
jne 0x40c75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c750
jne 0x40c76c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c750
xor ecx, ecx
sub eax, 3
jb 0x40c780
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c7f2
mov ebp, eax
add ebx, ebx
jne 0x40c78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c7bc
inc ecx
add ebx, ebx
jne 0x40c7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c79d
jne 0x40c7b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c79d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c7dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c7cd
jmp 0x40c73e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c7dc
add edi, ecx
jmp 0x40c73e
pop esi
mov edi, esi
mov ecx, 0xa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c7fa
cmp byte [edi], 1
jne 0x40c7fa
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 0x40c7ff
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c877
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc8e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc920]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c82c
mov ecx, edi
jns 0x40c85b
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 + 0xc924]
or eax, eax
je 0x40c871
mov dword [ebx], eax
add ebx, 4
jmp 0x40c849
call dword [esi + 0xc92c]
mov ebp, dword [esi + 0xc928]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x40c8ab
sub esp, 0xffffff80
jmp 0x401348