joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov dword [ebp - 0x10], esp
push 0
call esi
push 0
push str.C:Program_FilesOutLook_
call dword [0x414dc0]
push 0
call esi
push 0
mov dword [ebp - 0x28], 0x1b7740
call esi
push 0
call esi
push 0
call esi
mov eax, dword [ebp + 8]
push eax
call fcn.00402e80
add esp, 4
test eax, eax
je 0x4034e3
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], 0x47
push ecx
push 0x41411c
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x46
mov byte [ebp - 0x30], 0x69
mov byte [ebp - 0x2f], 0x6c
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x53
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x7a
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push 0x414dd8
mov ebx, eax
call dword [0x414dc8]
mov edi, eax
cmp edi, 0xffffffff
je 0x4034e3
push str.ReadFile
push 0x414650
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
call ebx
mov ebx, eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x18], eax
push 0
call esi
push 0
call esi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push 0
push edx
push ebx
push eax
push edi
call dword [ebp - 0x20]
push 0
call esi
push 0
call esi
push edi
call dword [0x414dd0]
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x44], 0x44
push 0
mov byte [ebp - 0x43], 0x68
mov byte [ebp - 0x42], 0x6c
mov byte [ebp - 0x41], 0x4d
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x3f], 0x6d
mov byte [ebp - 0x3e], 0x56
mov byte [ebp - 0x3d], 0x65
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x3b], 0x73
mov byte [ebp - 0x3a], 0x67
mov byte [ebp - 0x39], 0x74
mov byte [ebp - 0x38], 0
call esi
push 0
call esi
push 0
call esi
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov edx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00403180
add esp, 8
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0xb
push 0x412068
push eax
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00404680
mov dword [ebp - 0x18], eax
add esp, 4
mov eax, 0x4033f1
ret
push 0
call esi
push 0x414dd8
push str.4jNnIiz7Ac1fwwlGWtVkPKVsa5yx2zalv73FTuDI
call fcn.00402ee0
add esp, 8
test eax, eax
je 0x403510
push 0
call esi
push 0
call esi
mov eax, 0x14
push eax
jmp 0x403269
mov eax, dword [ebp - 0x28]
push eax
jmp 0x403269
Function at 0x403780
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40f448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push str.._formula.ini
lea ecx, [esp + 0xc]
call fcn.0040e3e8
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0x96
push str.OverTime
push str.Formula
mov dword [esp + 0x24], 0
call edi
mov ecx, dword [esp + 8]
mov dword [esi + 0x60], eax
push ecx
push 0x64
push str.Errand
push str.Formula
call edi
mov edx, dword [esp + 8]
mov dword [esi + 0x64], eax
push edx
push 0xa
push str.Late
push str.Formula
call edi
mov dword [esi + 0x68], eax
mov eax, dword [esp + 8]
push eax
push 0x32
push str.Absent
push str.Formula
call edi
push 0
mov ecx, esi
mov dword [esi + 0x6c], eax
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403796
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40f448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push str.._formula.ini
lea ecx, [esp + 0xc]
call fcn.0040e3e8
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0x96
push str.OverTime
push str.Formula
mov dword [esp + 0x24], 0
call edi
mov ecx, dword [esp + 8]
mov dword [esi + 0x60], eax
push ecx
push 0x64
push str.Errand
push str.Formula
call edi
mov edx, dword [esp + 8]
mov dword [esi + 0x64], eax
push edx
push 0xa
push str.Late
push str.Formula
call edi
mov dword [esi + 0x68], eax
mov eax, dword [esp + 8]
push eax
push 0x32
push str.Absent
push str.Formula
call edi
push 0
mov ecx, esi
mov dword [esi + 0x6c], eax
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404870
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x404931
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x4048db
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x40490f
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [0x414ee0]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40490f
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [0x414ee0]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40489e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x404940
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
xor ecx, ecx
push edi
mov ebx, dword [eax]
mov dword [esp + 8], 0
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], 0
lea edi, [ecx + ebx + 0x18]
jbe 0x404a25
push ebp
push esi
add edi, 0x24
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4049a0
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x404a03
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov ebp, dword [edx*4 + 0x4147f8]
je 0x4049ba
or ebp, 0x200
mov esi, dword [edi - 0x14]
test esi, esi
jne 0x4049d1
test al, 0x40
je 0x4049ca
mov esi, dword [ebx + 0x20]
jmp 0x4049d1
test al, 0x80
je 0x4049d1
mov esi, dword [ebx + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
push 0
call ebx
test esi, esi
jbe 0x404a03
push 0
call ebx
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x14]
push eax
push ebp
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x404a03
push eax
call ebx
push 0
call ebx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
xor ecx, ecx
inc eax
mov ebx, dword [edx]
add edi, 0x28
mov dword [esp + 0x10], eax
mov cx, word [ebx + 6]
cmp eax, ecx
jl 0x40496d
pop esi
pop ebp
pop edi
pop ebx
add esp, 8
ret
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437008]
jne 0x401010
repz ret
jmp fcn.00401916

Function at 0x40510a
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.004038c7
and dword [ebp - 4], 0
cmp dword [0x4393f0], 0
mov ebx, eax
jne 0x4051bb
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40526c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40526c
push eax
call fcn.00403855
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4393f0], eax
call esi
push eax
call fcn.00403855
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4393f4], eax
call esi
push eax
call fcn.00403855
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4393f8], eax
call esi
push eax
call fcn.00403855
pop ecx
mov dword [0x439400], eax
test eax, eax
je 0x4051bb
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403855
pop ecx
mov dword [0x4393fc], eax
mov eax, dword [0x4393fc]
cmp eax, ebx
je 0x405213
cmp dword [0x439400], ebx
je 0x405213
push eax
call fcn.004038d0
push dword [0x439400]
mov esi, eax
call fcn.004038d0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405213
test edi, edi
je 0x405213
call esi
test eax, eax
je 0x40520a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40520a
test byte [ebp - 0xc], 1
jne 0x405213
or dword [ebp + 0x10], 0x200000
jmp 0x40524c
mov eax, dword [0x4393f4]
cmp eax, ebx
je 0x40524c
push eax
call fcn.004038d0
pop ecx
test eax, eax
je 0x40524c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40524c
mov eax, dword [0x4393f8]
cmp eax, ebx
je 0x40524c
push eax
call fcn.004038d0
pop ecx
test eax, eax
je 0x40524c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4393f0]
call fcn.004038d0
pop ecx
test eax, eax
je 0x40526c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40526e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ddd0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x2a7401c], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x2a73e60], eax
jne 0x42de11
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401006
add esp, 0x404
ret

Function at 0x42de40
Capabilities:
Get hostname

Disassembly:
sub esp, 0xc18
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0xc14], eax
push esi
xor esi, esi
cmp dword [esp + 0xc20], esi
mov dword [esp + 0xc], edx
jle 0x42df2f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push edi
mov edi, dword [esp + 0x18]
jmp 0x42de80
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 5
mov dword [esp + 0x1c], 0
call fcn.0042de30
mov eax, dword [esp + 0x1c]
add eax, 0x46
mov dword [esp + 0x10], eax
nop
sub dword [esp + 0x10], 0x46
movsx eax, byte [edx + esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0x14], eax
cmp dword [esp + 0xc2c], 0xf
mov cl, byte [esp + 0x14]
mov byte [edx + esi], cl
jne 0x42df1e
push 0
push 0
call ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.gomomokukowumipusaxevu
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea ecx, [esp + 0x428]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push edi
push str.wowohasare
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov edx, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0xc2c]
jl 0x42de80
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc20], 0x2d
pop esi
jne 0x42df4e
mov dword [0x2a74150], 0xa62e7790
mov dword [0x2a74154], 0xffffffff
mov ecx, dword [esp + 0xc14]
xor ecx, esp
call fcn.00401006
add esp, 0xc18
ret

Function at 0x42df70
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc04
mov eax, dword [0x437008]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x437fe0]
push esi
mov esi, dword [0x2a7401c]
push edi
mov edi, dword [0x2a73e64]
push eax
call fcn.0042ddd0
add esp, 4
cmp dword [0x2a7401c], 0x2f
jne 0x42dfaf
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
mov edx, edi
call fcn.0042de40
add esp, 4
cmp dword [0x2a7401c], 0x568
pop edi
pop esi
jne 0x42dfe9
push 0
push 0
lea ecx, [esp + 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00401006
add esp, 0xc04
ret
Function at 0x543fa0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xef000]
push edi
jmp 0x543fba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x543fc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543fb0
mov eax, 1
add ebx, ebx
jne 0x543fd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x543fe4
jne 0x544003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x544003
dec eax
add ebx, ebx
jne 0x543ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x543fc8
add ebx, ebx
jne 0x543fff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x544055
xor ecx, ecx
sub eax, 3
jb 0x54401b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54408a
sar eax, 1
mov ebp, eax
jmp 0x544026
add ebx, ebx
jne 0x544026
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543ff4
inc ecx
add ebx, ebx
jne 0x544034
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x543ff4
add ebx, ebx
jne 0x544041
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x544036
jne 0x544052
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x544036
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x544074
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x544066
jmp 0x543fb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x544074
add edi, ecx
jmp 0x543fb6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x544092
cmp byte [edi], 0x11
jne 0x544092
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 0x544097
lea edi, [esi + 0x13c000]
mov eax, dword [edi]
or eax, eax
je 0x54410f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1aef10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1af08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5440c4
mov ecx, edi
jns 0x5440f3
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 + 0x1af090]
or eax, eax
je 0x544109
mov dword [ebx], eax
add ebx, 4
jmp 0x5440e1
call dword [esi + 0x1af0a0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x544140
cmp al, 0xef
ja 0x544133
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x544115
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x544122
mov ebp, dword [esi + 0x1af094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x544174
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x4097c8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
jmp 0x409871
cmp dword [esi + 0x10], 0x1000
jne 0x40985d
test byte [esi + 0x15], 1
jne 0x40985d
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40981c
cmp eax, 2
je 0x40981c
cmp eax, 0x10
je 0x40981c
cmp eax, 0x20
jne 0x409831
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409831
mov bl, 1
xor ebp, ebp
jmp 0x409842
mov eax, dword [esi]
add eax, ebp
call fcn.004097c0
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409835
test bl, bl
je 0x40985d
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40987c
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4097f4
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4a670981
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4f6f3fb7
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x128
mov eax, dword [0x41b004]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
mov esi, 0x7ffe0300
mov dword [esp + 0x14], 0x7efdd0c0
mov dword [0x41c7b4], 0xffffffff
call fcn.00415e40
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [esp + 4], 0
je 0x4010cc
mov eax, dword fs:[0xc0]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
jmp 0x401128
mov eax, dword [esp + 0x10]
sub eax, 5
je 0x4010e8
sub eax, 1
jne 0x40112d
mov ecx, dword [0x7ffe0300]
mov dword [0x41c7b4], ecx
jmp 0x40112d
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x40110e
cmp word [esp + 0x120], 2
jae 0x401104
mov dword [0x41c7b4], esi
jmp 0x40113a
mov edx, dword [esi]
mov dword [0x41c7b4], edx
jmp 0x40112d
cmp eax, 2
jne 0x40112d
cmp word [esp + 0x120], 1
jae 0x401126
mov dword [0x41c7b4], esi
jmp 0x40113a
mov eax, dword [esi]
mov dword [0x41c7b4], eax
cmp dword [0x41c7b4], 0xffffffff
je 0x4011f5
push str.ntdll.dll
mov dword [0x41c7b0], 0x412880
mov dword [0x41c7bc], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtReadFile
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4011f5
mov eax, dword [0x41c7b4]
mov ecx, dword [eax]
push 0x41c7b8
push 0x40
mov dword [0x41c7c0], ecx
mov edx, dword [eax + 4]
push 8
push eax
mov dword [0x41c7c4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esp + 4], 0
je 0x4011da
mov eax, dword [0x41c7b4]
mov dword [eax], 0xb8
mov ecx, dword [0x41c7b4]
mov dword [ecx + 1], 0x401000
mov eax, dword [0x41c7b4]
mov edx, 0xd0ff
mov word [eax + 5], dx
call esi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00412955
add esp, 0x128
ret
mov ecx, dword [0x41c7b4]
mov dword [ecx], 0x68
mov edx, dword [0x41c7b4]
mov dword [edx + 1], 0x401000
call esi
mov ecx, dword [esp + 0x128]
pop esi
xor ecx, esp
call fcn.00412955
add esp, 0x128
ret
Function at 0x4127b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push 0xdb0d
push 8
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x4127d5
xor al, al
pop ebx
add esp, 8
ret
mov edx, 0x4015f0
mov ecx, 0x4015f0
test edx, edx
je 0x4127ee
inc ecx
cmp dword [ecx], 0xdeadbeaf
jne 0x4127e3
jmp 0x4127f4
mov ecx, 0x4015f0
inc ecx
add ecx, 4
cmp byte [ecx], 0x68
jne 0x412877
mov edx, dword [ecx + 1]
inc ecx
push esi
add ecx, 4
mov dword [eax], edx
cmp byte [ecx], 0x68
lea esi, [eax + 4]
mov dword [esp + 8], esi
jne 0x412876
mov edx, dword [ecx + 1]
inc ecx
cmp edx, 0xdeadbabe
je 0x412837
mov dword [esi], edx
add ecx, 4
add esi, 4
cmp byte [ecx], 0x68
je 0x412812
mov dword [esp + 8], esi
pop esi
mov al, bl
pop ebx
add esp, 8
ret
mov dword [esp + 8], esi
xor ecx, ecx
lea ecx, [ecx]
xor byte [ecx + eax], 0xd0
inc ecx
cmp ecx, 0xdaed
jb 0x412840
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00401500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax], edx
mov bl, 1
pop esi
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x4128b0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [0x41c7c8]
test esi, esi
je 0x4128fe
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004127b0
add esp, 8
test al, al
je 0x4128fe
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4128fc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
call fcn.00401050
pop edi
pop ebx
pop esi
add esp, 0xc
ret