joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e2250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f6808
push 0x6e6288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x6e2329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x6e2329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006e51d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x6e2329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x6e2329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x6e232c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.006e2351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6e2d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6e2d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x6e2d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6e2d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6e2d94
push eax
push esi
call fcn.006e520b
add esp, 8
pop esi
ret 0x10

Function at 0x6e2da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e2e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x6e2e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x6fb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006e4dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x6e2dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x6e2e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e2ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x6e2eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x6fb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006e4dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x6e2eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x6e2e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x6e3000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x6e3131
push esi
call fcn.006e6145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.006d5080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6e3131
push 0
push ebp
call fcn.006d53a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.006d5260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x6e308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006d52f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x6e3121
push 0x6fb918
push edi
call fcn.006e43f0
push eax
push ebx
push esi
call fcn.006e2f60
push 0x6fb8f8
push edi
call fcn.006e43f0
push eax
push ebx
push esi
call fcn.006e2f60
push 0x6fb8d8
push edi
call fcn.006e43f0
push eax
push ebx
push esi
call fcn.006e2f60
push 0x6fb8c0
push edi
call fcn.006e43f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.006e2f60
push 0x6fb8a0
push edi
call fcn.006e43f0
push eax
push ebx
push esi
call fcn.006e2f60
push 0x6fb888
push edi
call fcn.006e43f0
push eax
push ebx
push esi
call fcn.006e2f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6e41b0
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.006e4140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006e4140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006e4140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006e4140
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 0x6e4bfa
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 0x6e4c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6f687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6e4c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6e4c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, reloc.kernel32.dll_ReadConsoleA
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x438c81
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x438a14
pop esi
or edi, edi
mov eax, 0x9a4b18ce
call fcn.00438cbc
mov eax, edi
xor dword [edx], esi
add edi, 0xa8b058cc
and edi, eax
inc edx
sub edi, eax
and edi, eax
cmp edx, ebx
jne fcn.00438c81
and eax, eax
or eax, eax
add edi, 1
ret
Function at 0x403b3b
Capabilities:
Delete directory
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x2aa57f8], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
jne 0x403b77
push 0x403634
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x403654
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x4313b8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4313bc]
xor edi, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00403b34
mov eax, dword [0x4313c0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4313c4]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403bb9
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x2aa57f8], 0xc
mov dword [ebp - 4], eax
jne 0x403c0b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push edi
push 0x403674
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x2aa57f8]
cmp eax, 0xfa9
jne 0x403c27
mov dword [0x2aa4d94], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403c34
mov dword [0x2aa4744], edi
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
mov dword [0x2aa4d90], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2aa57f8], 0x213
mov dword [ebp - 0x14], edx
jne 0x403c71
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2aa57f8], 0xc
jne 0x403cae
push edi
lea eax, [ebp - 0x444]
push eax
push 0x403698
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x844]
push eax
push 0x4036f4
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, eax
shr esi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add esi, dword [ebp - 0x1c]
cmp dword [0x2aa57f8], 0x121
jne 0x403ce9
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403bb6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x403d13
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2aa57f8]
mov ecx, dword [0x2aa4748]
sub esp, 0x84c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403dfa
mov edi, ecx
mov ebx, eax
cmp dword [0x2aa57f8], 0x959
jne 0x403dea
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403718
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x40367c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x403768
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403774
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403b3b
add edi, 8
dec ebx
jne 0x403d3b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4040e7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
push ebx
push esi
push edi
mov edi, 0x5d744c
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec edi
jne 0x4040fd
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov ebx, 0x2b259d
call edi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
cmp dword [esp + 0xc], ebx
jle 0x404153
cmp dword [esp + 0x10], 0x785074d5
jne 0x404161
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1c1b
jl 0x404136
mov dword [esp + 0xc], esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0xc], 0x206d47
jg 0x40418c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x4f6a4
jl 0x404165
cmp dword [0x2aa57f8], 0x400
jne 0x4041da
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push esi
push esi
call fcn.004047d7
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403acf
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403af2
fstp st(0)
push esi
call fcn.00404bc6
pop ecx
push esi
call fcn.00404a16
pop ecx
push esi
push esi
call fcn.004046cb
pop ecx
pop ecx
mov eax, dword [0x43178c]
mov dword [0x2aa57f8], eax
mov eax, dword [0x431760]
mov dword [0x2aa57fc], eax
call fcn.00403ece
xor edi, edi
push 0x403808
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp edi, ebx
jle 0x40420e
cmp dword [esp + 0x10], 0x785074d5
jne 0x404217
inc edi
cmp edi, 0x11915
jl 0x4041f5
mov edi, 0x3078f
cmp dword [0x2aa57f8], 0x51f
jne 0x404248
push 0x403810
push esi
lea eax, [esp + 0x20]
push eax
push 0x403850
push 0x403868
push 0x403888
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec edi
jne 0x40421c
mov eax, dword [0x2aa4748]
mov dword [0x2aa4d8c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40b051
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430828]
jne 0x40b05b
repz ret
jmp fcn.0040dc8b
Function at 0x40ce3e
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.00407b9e
and dword [ebp - 4], 0
cmp dword [0x4320c8], 0
mov ebx, eax
jne 0x40ceef
push 0x402c54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfa0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c48
push edi
call esi
test eax, eax
je 0x40cfa0
push eax
call fcn.00407b2c
mov dword [esp], 0x402c38
push edi
mov dword [0x4320c8], eax
call esi
push eax
call fcn.00407b2c
mov dword [esp], 0x402c24
push edi
mov dword [0x4320cc], eax
call esi
push eax
call fcn.00407b2c
mov dword [esp], 0x402c08
push edi
mov dword [0x4320d0], eax
call esi
push eax
call fcn.00407b2c
pop ecx
mov dword [0x4320d8], eax
test eax, eax
je 0x40ceef
push 0x402bf0
push edi
call esi
push eax
call fcn.00407b2c
pop ecx
mov dword [0x4320d4], eax
mov eax, dword [0x4320d4]
cmp eax, ebx
je 0x40cf47
cmp dword [0x4320d8], ebx
je 0x40cf47
push eax
call fcn.00407ba7
push dword [0x4320d8]
mov esi, eax
call fcn.00407ba7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf47
test edi, edi
je 0x40cf47
call esi
test eax, eax
je 0x40cf3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf3e
test byte [ebp - 0xc], 1
jne 0x40cf47
or dword [ebp + 0x10], 0x200000
jmp 0x40cf80
mov eax, dword [0x4320cc]
cmp eax, ebx
je 0x40cf80
push eax
call fcn.00407ba7
pop ecx
test eax, eax
je 0x40cf80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cf80
mov eax, dword [0x4320d0]
cmp eax, ebx
je 0x40cf80
push eax
call fcn.00407ba7
pop ecx
test eax, eax
je 0x40cf80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4320c8]
call fcn.00407ba7
pop ecx
test eax, eax
je 0x40cfa0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfa2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5d6b6977
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x6a734755
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406720
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42e70b
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], 0x40464c
call fcn.0040790b
push 4
mov dword [esp + 0x18], 0
call fcn.00408a24
mov edi, eax
add esp, 4
test edi, edi
je 0x406794
push ebx
call fcn.00407706
mov dword [edi], eax
call fcn.004074c5
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.004078cc
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406788
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004078f4
pop ebx
jmp 0x406796
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 0x4095fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431354]
jne 0x409605
repz ret
jmp fcn.0040dc4c
Function at 0x412942
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x431354]
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.0040c1bf
and dword [ebp - 0x14], 0
cmp dword [0x436bcc], 0
mov dword [ebp - 0x18], eax
jne 0x4129f5
push 0x403ff8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412a9d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fec
push ebx
call edi
test eax, eax
je 0x412a9d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fdc
push ebx
mov dword [0x436bcc], eax
call edi
push eax
call esi
push 0x403fc8
push ebx
mov dword [0x436bd0], eax
call edi
push eax
call esi
push 0x403fac
push ebx
mov dword [0x436bd4], eax
call edi
push eax
call esi
mov dword [0x436bdc], eax
test eax, eax
je 0x4129f5
push 0x403f94
push ebx
call edi
push eax
call esi
mov dword [0x436bd8], eax
mov eax, dword [0x436bd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412a4e
cmp dword [0x436bdc], ecx
je 0x412a4e
push eax
call esi
push dword [0x436bdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412a4e
test ebx, ebx
je 0x412a4e
call edi
test eax, eax
je 0x412a45
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412a45
test byte [ebp - 8], 1
jne 0x412a4e
or dword [ebp + 0x10], 0x200000
jmp 0x412a81
mov eax, dword [0x436bd0]
cmp eax, dword [ebp - 0x18]
je 0x412a81
push eax
call esi
test eax, eax
je 0x412a81
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412a81
mov eax, dword [0x436bd4]
cmp eax, dword [ebp - 0x18]
je 0x412a81
push eax
call esi
test eax, eax
je 0x412a81
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x436bcc]
call esi
test eax, eax
je 0x412a9d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412a9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095fb
leave
ret