joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6521b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00652140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00652140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00652140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00652140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x652230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6522d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x6522ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00652230
mov esi, eax
add esp, 8
test esi, esi
jne 0x6522ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x65227e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x6522ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x652bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x652c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x66487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x652c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x652c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x4001e9
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call dword [sym.imp.Kernel32.dll_GetCommandLineW]
push 0x400238
push eax
call dword [sym.imp.Shell32.dll_CommandLineToArgvW]
cmp dword [0x400238], 2
mov dword [0x400234], eax
jne 0x400224
push dword [eax + 4]
push 0
call dword [sym.imp.User32.dll_FindWindowW]
test eax, eax
je 0x40021f
mov ecx, eax
call fcn.0040018c
mov eax, dword [0x400234]
push eax
call dword [sym.imp.Kernel32.dll_LocalFree]
push 0
call dword [sym.imp.Kernel32.dll_ExitProcess]
Function at 0x40886b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e718]
jne 0x408875
repz ret
jmp fcn.0041010c

Function at 0x411e87
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.00409fed
and dword [ebp - 4], 0
cmp dword [0x8107a0], 0
mov ebx, eax
jne 0x411f38
push 0x40392c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411fe9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403920
push edi
call esi
test eax, eax
je 0x411fe9
push eax
call fcn.00409f7b
mov dword [esp], 0x403910
push edi
mov dword [0x8107a0], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038fc
push edi
mov dword [0x8107a4], eax
call esi
push eax
call fcn.00409f7b
mov dword [esp], 0x4038e0
push edi
mov dword [0x8107a8], eax
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x8107b0], eax
test eax, eax
je 0x411f38
push 0x4038c8
push edi
call esi
push eax
call fcn.00409f7b
pop ecx
mov dword [0x8107ac], eax
mov eax, dword [0x8107ac]
cmp eax, ebx
je 0x411f90
cmp dword [0x8107b0], ebx
je 0x411f90
push eax
call fcn.00409ff6
push dword [0x8107b0]
mov esi, eax
call fcn.00409ff6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x411f90
test edi, edi
je 0x411f90
call esi
test eax, eax
je 0x411f87
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x411f87
test byte [ebp - 0xc], 1
jne 0x411f90
or dword [ebp + 0x10], 0x200000
jmp 0x411fc9
mov eax, dword [0x8107a4]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411fc9
mov eax, dword [0x8107a8]
cmp eax, ebx
je 0x411fc9
push eax
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fc9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8107a0]
call fcn.00409ff6
pop ecx
test eax, eax
je 0x411fe9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411feb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xe79f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a000]
push edi
jmp 0xe79faa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe79fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe79fa0
mov eax, 1
add ebx, ebx
jne 0xe79fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe79fd4
jne 0xe79ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe79ff3
dec eax
add ebx, ebx
jne 0xe79fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe79fb8
add ebx, ebx
jne 0xe79fef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe7a045
xor ecx, ecx
sub eax, 3
jb 0xe7a00b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe7a07a
sar eax, 1
mov ebp, eax
jmp 0xe7a016
add ebx, ebx
jne 0xe7a016
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe79fe4
inc ecx
add ebx, ebx
jne 0xe7a024
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe79fe4
add ebx, ebx
jne 0xe7a031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe7a026
jne 0xe7a042
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe7a026
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe7a064
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe7a056
jmp 0xe79fa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe7a064
add edi, ecx
jmp 0xe79fa6
pop esi
mov edi, esi
mov ecx, 0x10ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe7a082
cmp byte [edi], 0xc
jne 0xe7a082
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 0xe7a087
lea edi, [esi + 0x56000]
mov eax, dword [edi]
or eax, eax
je 0xe7a0ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x665e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x66704]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe7a0b4
mov ecx, edi
jns 0xe7a0e3
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 + 0x6670c]
or eax, eax
je 0xe7a0f9
mov dword [ebx], eax
add ebx, 4
jmp 0xe7a0d1
call dword [esi + 0x66708]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xe7a130
cmp al, 0xef
ja 0xe7a123
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xe7a105
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xe7a112
mov ebp, dword [esi + 0x66710]
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 0xe7a164
sub esp, 0xffffff80
jmp 0xe43d3e
Function at 0x406740
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41599b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404a14
call fcn.004073a1
push 4
mov dword [esp + 0x18], 0
call fcn.00408043
mov edi, eax
add esp, 4
test edi, edi
je 0x4067b4
push ebx
call fcn.00407279
mov dword [edi], eax
call fcn.00407038
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407362
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4067a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040738a
pop ebx
jmp 0x4067b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408ab1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419510]
jne 0x408abb
repz ret
jmp fcn.0040cddc
Function at 0x4110f2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419510]
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.0040ad81
and dword [ebp - 0x14], 0
cmp dword [0x81610c], 0
mov dword [ebp - 0x18], eax
jne 0x4111a5
push 0x4038cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41124d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038c0
push ebx
call edi
test eax, eax
je 0x41124d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4038b0
push ebx
mov dword [0x81610c], eax
call edi
push eax
call esi
push 0x40389c
push ebx
mov dword [0x816110], eax
call edi
push eax
call esi
push 0x403880
push ebx
mov dword [0x816114], eax
call edi
push eax
call esi
mov dword [0x81611c], eax
test eax, eax
je 0x4111a5
push 0x403868
push ebx
call edi
push eax
call esi
mov dword [0x816118], eax
mov eax, dword [0x816118]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4111fe
cmp dword [0x81611c], ecx
je 0x4111fe
push eax
call esi
push dword [0x81611c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4111fe
test ebx, ebx
je 0x4111fe
call edi
test eax, eax
je 0x4111f5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4111f5
test byte [ebp - 8], 1
jne 0x4111fe
or dword [ebp + 0x10], 0x200000
jmp 0x411231
mov eax, dword [0x816110]
cmp eax, dword [ebp - 0x18]
je 0x411231
push eax
call esi
test eax, eax
je 0x411231
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411231
mov eax, dword [0x816114]
cmp eax, dword [ebp - 0x18]
je 0x411231
push eax
call esi
test eax, eax
je 0x411231
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x81610c]
call esi
test eax, eax
je 0x41124d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41124f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ab1
leave
ret
Function at 0x4135e0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004119d0
cmp dword [0xb99ea4], 0x37
jne 0x41367a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0xb9ae98]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x81aef4]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x413900
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb99ea4]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x81aef4]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x413aff
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x413936
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0xb99ea4], 0x1c
jne 0x41394d
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x811d78]
mov ebx, dword [0x811d80]
mov ebp, dword [0x811d84]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x811d7c]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x413996
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0xb99e14], edi
mov eax, dword [esp + 0x1c]
add dword [0xb99e14], eax
mov eax, dword [0xb99e14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0xb99ea4], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x413a2d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0xb99ea4], 0x979
mov dword [0xb99e18], 0xff6b3619
mov dword [0xb99e1c], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413a77
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0xb99ea4]
cmp eax, 0x93
je 0x413a9d
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x413990
cmp eax, 0x8d4
jne 0x413ab4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0xb99ea4], 0x17
jne 0x413aee
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x404070
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x413930
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x409470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40948a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409480
mov eax, 1
add ebx, ebx
jne 0x4094a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4094b4
jne 0x4094d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4094d3
dec eax
add ebx, ebx
jne 0x4094c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x409498
add ebx, ebx
jne 0x4094cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x409525
xor ecx, ecx
sub eax, 3
jb 0x4094eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40955a
sar eax, 1
mov ebp, eax
jmp 0x4094f6
add ebx, ebx
jne 0x4094f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4094c4
inc ecx
add ebx, ebx
jne 0x409504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4094c4
add ebx, ebx
jne 0x409511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x409506
jne 0x409522
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409506
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409544
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409536
jmp 0x409486
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409544
add edi, ecx
jmp 0x409486
pop esi
mov edi, esi
mov ecx, 0x1600
jmp 0x409587
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409587
cmp ecx, 4
jb 0x40958c
mov eax, dword [edi]
sub al, 0
jne 0x409587
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jae 0x409564
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x4095d4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x92f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409592
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x92f8]
or eax, eax
je 0x4095ce
mov dword [ebx], eax
add ebx, 4
jmp 0x4095af
call dword [esi + 0x92f4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x409605
cmp al, 0xef
ja 0x4095f8
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4095da
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4095e7
mov ebp, dword [esi + 0x92fc]
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 0x409639
sub esp, 0xffffff80
jmp 0x4019c6
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and dword [ecx - 0x560a988], 0xc
sub byte [ebp + 0x786a8805], cl
push es
push esi
call fcn.004086e0
mov ecx, dword [ebp - 0x23]
mov edx, dword [0xe940c0c8]
push eax
push ecx
enter 0x40c2, 0x68
lodsb al, byte [esi]
aam 0x40
jge 0x401ebd
call dword [0x4cc1c8]
mov eax, dword [0x5ae4ac]
add esp, 0x14
test eax, eax
pop edx
invalid
adc eax, 0xf0270ba4

Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp - 0xb]
mov al, byte [esi + 0x2c]
test byte [ebx], al
sysenter
mov esi, 0x8b000038
dec esi
dec eax
xor eax, eax
push ebx
sub ebp, 1
outsb dx, byte [esi]
mov dword [ebp - 4], eax
adc dword [ebp + 0x7b], eax
jne 0x40b395
mov edi, dword [esi + 0x3c]
cmp edi, eax
je 0x40b395
mov ebx, dword [esi + 0x3b]
cmp edi, 0xffffffff
fiadd dword [0xebffc8e6]
out dx, al
mov eax, edi
mov edx, dword [esi + 4]
lea ecx, [ebp - 4]
push 0
push ecx
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b363
mov eax, dword [ebp - 4]
loop 0x40b384
push eax
mov ecx, 0xec03544e
adc ecx, 0
sub edi, eax
fstpnce st(0), st(0)
popfd
push esi
push eax
test ebx, eax
mov dword [esi - 0x13], ecx
ja 0x40b307
int 0x45
or byte [edi + 0xd], bl
cmp dword [eax + eax], 0
add byte [eax], al
mov word [esi - 0x75], ds
loop 0x40b3b2
cld
sbb al, byte [eax]
mov eax, dword [ebp - 0x68]
ror byte [eax + eax - 0x3f7a2801], 0x75
add eax, 0xeb254589
or edi, edi
xlatb
add eax, 0xafc80
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x7e]
mov edx, dword [esi + 0x50]
mov eax, dword [edx + 0x6b]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x50], edx
adc ecx, 0
test eax, eax
mov dword [edi - 0x38f88a8c], ebx
inc esi
cmp al, 0
add byte [eax], al
add byte [ebx - 0x73a0f7bb], cl
mov esp, ebp
pop ebp
mov eax, dword [ebp + 8]
pop edi
mov word [edi - 0x75], fs
in eax, 0x5d
ret 4
and al, 0x8b
mov dl, 0x50
lea ecx, [eax + 2]
pop esi
cmp edx, dword [ebp + 0x55]
push ebp
imul ecx
mov bl, 0xca
shr ecx, 0x1f
add esp, dword [ebx - 0x5c6afbf4]
add byte [eax], al
add byte [ebp - 0x3e], bl
add al, 0
nop
nop
nop
nop
xchg ebp, eax
nop
nop
nop
nop
nop
xchg byte [eax - 0x74cea570], dl
clc
mov eax, dword [ebp - 0x42b2eff0]
mov edx, dword [ebp + 8]
loope 0x40b43f
push edx
sub al, 0xc
add byte [eax], al
add byte [ebp - 0x3e], bl
pop ecx
add byte [eax - 0x6f6f6f70], dl
jmp 0x8b9644d3
xor edx, edx
xor ebx, ebx
mov dl, byte [edi + esi]
sbb dword [ebx], 0xfffffff6
rcr esi, 2
xor al, 0x8a
xor byte [eax], bl
mov dword [eax], 0x8a375088
push esp
aaa
std
invalid
add al, 0xb
sal dword [edi - 0x78], cl
inc eax
mov dl, byte [edx + 0x40c718]
mov byte [eax - 1], dl
mov bh, byte [edx]
aaa
cmpsb byte [esi], byte es:[edi]
mov bl, byte [ebx - 1]
inc ebx
loop 0x40b468
rcl dword [edx], 2
or eax, 0xc60b062f
inc eax
outsb dx, byte [esi]
xchg edx, eax
or edi, eax
inc eax
add byte [eax + 0x5417a650], cl
mov byte [eax - 0x5a], dl
pop ss
push esp
aaa
inc dword [ebx + 0x3b403fe2]
int1
pop ds
xchg edx, eax
sbb bh, al
inc eax
mov byte fs:[eax - 1], dl
jl 0x40b418
mov edx, dword [ebp + 0x10]
jl 0x40b477
jge 0x40b4e6
invalid
not byte [ebp + 8]