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

Disassembly:
sub esp, 0x18
mov eax, dword [0x4aa870]
mov byte [esp + 3], 0
test eax, eax
je 0x42115c
call eax
test eax, eax
setne al
add esp, 0x18
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 8]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42123e
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [esp + 8]
push eax
push 0
push 0
push 2
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x42123d
push ebx
push dword [esp + 0xc]
call fcn.00431a63
add esp, 4
mov ebx, eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push 2
push dword [esp + 0x20]
call esi
test eax, eax
je 0x421229
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x40]
mov word [esp + 0x44], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor esi, esi
cmp dword [ebx], esi
jbe 0x42121f
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_EqualSid]
push edi
lea edi, [ebx + 4]
push dword [esp + 0x1c]
push dword [edi]
call ebp
test eax, eax
jne 0x421218
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x421202
jmp 0x42121d
mov byte [esp + 0x13], 1
pop edi
pop ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.00432077
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
mov al, byte [esp + 3]
add esp, 0x18
ret
Function at 0x422ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push esi
push edi
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x24], 0x10
lea ecx, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ecx
push 0x20119
push 0
push eax
push edi
mov dword [ebp - 4], 1
call esi
test eax, eax
je 0x423063
cmp dword [ebp + 0x24], 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x20219
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push edi
call esi
test eax, eax
jne 0x4230c4
push 0x400
lea eax, [ebp - 0x418]
mov dword [ebp - 0x14], 0x400
push 0
push eax
call fcn.00434830
add esp, 0xc
lea ecx, [ebp - 0x14]
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4230c4
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x418]
push eax
mov ecx, esi
call fcn.00402cc0
jmp 0x4230e6
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0x486490
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00403ef0
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
jb 0x4230fb
inc eax
lea ecx, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
call fcn.00404120
mov ecx, dword [ebp + 0x3c]
mov byte [ebp + 0x10], 0
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0xf
cmp ecx, 0x10
jb 0x423122
inc ecx
push ecx
push dword [ebp + 0x28]
lea ecx, [ebp + 0x28]
call fcn.00404120
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4240c0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push esi
mov esi, ecx
call fcn.00428630
mov dword [esi + 8], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [esp + 4]
test eax, eax
je 0x4240f8
cmp eax, 6
je 0x4240f1
xor al, al
pop esi
add esp, 0x28
ret
mov eax, 1
jmp 0x4240fd
mov ax, word [esp + 0x24]
mov word [esi + 0x10], ax
movsx eax, ax
add eax, 0xfffffffd
cmp eax, 0xc
ja case.0x424117.5
movzx eax, byte [eax + 0x424174]
mov ecx, dword [esp + 0x26]
jmp dword [eax*4 + 0x424168]
mov ax, cx
shr ax, 8
cmp al, 0xff
jne 0x424142
mov al, cl
shr al, 4
movzx eax, al
sub ax, 0xa
mov word [esi + 0x12], ax
mov al, cl
and al, 0xf
movzx eax, al
jmp 0x424149
movzx eax, al
add ax, 0x41
mov word [esi + 0x14], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [esi + 0x12], ax
movzx eax, cl
mov word [esi + 0x14], ax
mov al, 1
pop esi
add esp, 0x28
ret
Function at 0x428630
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
sub esp, 0x28
push esi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
rdtsc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 4]
push eax
call esi
mov eax, dword [esp + 0x1c]
add dword [esp + 4], eax
mov eax, dword [esp + 0x20]
adc dword [esp + 8], eax
lea eax, [esp + 0x24]
push eax
call esi
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 8]
jb 0x428666
ja 0x428683
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jb 0x428666
rdtsc
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sbb edx, dword [esp + 0x18]
pop esi
add esp, 0x28
ret

Function at 0x428fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], 0xf
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
lea eax, [edi + 0xc]
mov byte [ebp - 0x28], 0
push eax
call fcn.00403de0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ebx, dword [ebp + 8]
mov ecx, ebx
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.0042a900
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x42902b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404120
push 0xffffffffffffffff
lea eax, [edi + 0x38]
mov dword [ebp - 0x14], 0xf
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00403de0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042ac50
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x429083
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404120
push 1
lea eax, [edi + 0x88]
mov ecx, ebx
push eax
movzx eax, byte [edi + 0x6c]
push eax
call fcn.0042aa00
push dword [ebp + 8]
lea esi, [ebx + 0x24]
push esi
push dword [esi + 4]
mov dword [ebp - 0x10], esi
push dword [esi]
call fcn.00404e60
mov eax, dword [esi]
add esp, 0x10
mov dword [esi + 4], eax
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
je 0x4290d3
mov ebx, dword [ebp - 0x10]
nop
push esi
mov ecx, ebx
call fcn.00411ce0
add esi, 0x18
cmp esi, dword [edi + 0x28]
jne 0x4290c0
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x30]
mov ecx, ebx
push eax
call fcn.004299f0
movzx ecx, byte [edi + 9]
mov edx, dword [ebx]
push ecx
mov ecx, ebx
call dword [edx + 0xc]
mov cl, byte [edi + 0xa]
mov eax, ebx
pop edi
mov byte [ebx + 0xa], cl
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42b2e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042dcf0
mov eax, dword [ebp + 8]
push 0
push 0
push 0
sub esp, 0x18
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, esp
mov dword [esi], vtable.TlWin32CpuTimeThreadHandler.0
mov dword [esi + 8], eax
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x486490
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00403ef0
lea ecx, [esi + 0xc]
call fcn.0042d940
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x42b7f0
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
cmp dword [esi + 8], ebx
je 0x42b945
push 0
push 4
call dword [0x4ab320]
mov edi, eax
mov dword [esp + 0xc], edi
cmp edi, 0xffffffff
jne 0x42b829
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
push ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x1c
xorps xmm0, xmm0
push eax
push edi
movups xmmword [esp + 0x24], xmm0
movq qword [esp + 0x34], xmm0
call dword [0x4ab324]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42b941
push dword [esi + 0x10]
push dword [esp + 0x3c]
call fcn.0041ca70
add esp, 8
mov ebx, eax
nop dword [eax + eax]
mov ecx, dword [ebx]
mov esi, dword [ecx]
cmp esi, ecx
je 0x42b902
nop dword [eax]
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x10]
jne 0x42b8ba
push dword [esp + 0x20]
push 0
push 2
call dword [0x4ab32c]
mov ecx, dword [esp + 0x3c]
mov edi, eax
sub ecx, 0
je 0x42b8b0
sub ecx, 1
jne 0x42b8b7
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x42b8b7
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call ebp
cmp byte [esi + 0xd], 0
jne 0x42b8fa
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x42b8df
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x42b8fa
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x42b8d3
jmp 0x42b8fa
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x42b8f8
cmp esi, dword [eax + 8]
jne 0x42b8f8
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x42b8e8
mov esi, eax
cmp esi, dword [ebx]
jne 0x42b880
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push edi
call dword [0x4ab328]
test eax, eax
jne 0x42b870
mov eax, dword [ebx]
mov ecx, ebx
push eax
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.004717a0
push dword [ebx]
call fcn.004314a6
push 8
push ebx
call fcn.004314ab
mov ebx, dword [esp + 0x48]
add esp, 0xc
mov esi, dword [esp + 0x14]
push edi
call ebp
pop ebp
mov eax, dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
mov dword [esi + 8], ebx
cmp eax, 0x102
pop edi
sete cl
pop esi
mov eax, ecx
pop ebx
add esp, 0x24
ret 0xc
Function at 0x42d500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482510
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xe4], 0
je 0x42d6bd
push ebx
push dword [esi + 0xec]
lea eax, [ebp - 0x6c]
push str.INFO:_Terminating_process__d_with_exit_code___d__n
push eax
call fcn.00409960
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4a9a88
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x42d575
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x42d590
mov edi, dword [edi]
push edi
push 0x48649c
push eax
call fcn.0040e7e0
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, 0x10
jb 0x42d5b4
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.00404120
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x42d5e2
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00404120
push ebx
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42d6bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
push str.ERROR:_Could_not_kill_process___Error_code___d__n
push eax
call fcn.00409960
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 2
push eax
mov ecx, 0x4a9a88
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x42d63c
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x42d657
mov edi, dword [edi]
push edi
push 0x48649c
push eax
call fcn.0040e7e0
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp eax, 0x10
jb 0x42d67b
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00404120
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x42d6a9
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00404120
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jmp 0x42d6c4
mov ecx, esi
call fcn.0042a560
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x34]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4844c0
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x14]
push edi
push 0
push dword [esi + 0x10]
push 0x42ded0
push 0
push 0
call fcn.00443cee
push eax
mov dword [esi + 4], eax
call fcn.0042e300
add esp, 0x1c
test al, al
je 0x42e241
mov dword [esi + 8], 0
cmp dword [esi + 0x28], 0
sete al
test al, al
jne 0x42e195
push dword [edi]
mov ecx, esi
call fcn.0042e260
cmp dword [esi + 8], 0
jne 0x42e231
cmp byte [esi + 0x54], 0
je 0x42e231
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0042e0d0
mov esi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4a9a88
call fcn.004046a0
mov dword [0x4a9f24], 1
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x42e1e1
mov eax, dword [eax]
push eax
push 0x48649c
push 0x4a9a88
call fcn.0040e7e0
push str.INFO:_____NEW_Thread__
push 0x48649c
push eax
call fcn.0040e7e0
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x42e20c
mov esi, dword [esi]
push esi
push 0x48649c
push eax
call fcn.0040e7e0
push eax
call fcn.0040d5b0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004058c0
lea ecx, [ebp - 0x3c]
call fcn.004058c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0043f9cb
mov eax, dword [eax]
push eax
mov dword [esi + 8], eax
call fcn.004036e0
int3
Function at 0x42ef60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x268
push ebx
push ebp
push esi
push edi
push dword [esp + 0x280]
mov esi, ecx
mov dword [esp + 0x20], esi
call fcn.00443e44
push dword [esp + 0x288]
mov edi, eax
call fcn.00443e44
add esp, 8
mov ebp, eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
test edi, edi
je 0x42efcf
test ebp, ebp
je 0x42efcf
push dword [esp + 0x290]
mov eax, dword [esi + 0x30]
push dword [esp + 0x290]
push dword [esp + 0x290]
push ebp
push edi
push ebx
push dword [esp + 0x294]
call eax
or eax, edx
jne 0x42efd4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x42efd4
mov ebx, 8
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test eax, eax
je 0x42f137
test edi, edi
je 0x42f144
test byte [eax + 0x18], 8
je 0x42f07e
lea eax, [esp + 0x28]
mov dword [esp + 0x14], 0
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
test ebp, ebp
je 0x42f07a
push ebp
call fcn.0043f7e7
mov esi, eax
add esp, 4
test esi, esi
je 0x42f07a
push esi
push ebp
push dword [esp + 0x30]
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42f071
mov eax, 0x5c
mov word [esp + 0x10], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x42f05a
mov dword [esp + 0x14], eax
jmp 0x42f071
mov eax, dword [esp + 0x14]
xor edx, edx
add edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
adc ecx, 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
push esi
call fcn.0043f7e2
add esp, 4
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x290]
mov esi, str._unknown_
push dword [esp + 0x290]
push dword [esp + 0x288]
call fcn.0042e800
test eax, eax
je case.0x42f0b3.7
mov eax, dword [esp + 0x50]
cmp eax, 9
ja case.0x42f0b3.7
jmp dword [eax*4 + 0x42f160]
mov esi, str._nosymbols_
jmp case.0x42f0b3.7
mov esi, str.COFF
jmp case.0x42f0b3.7
mov esi, 0x48a2fc
jmp case.0x42f0b3.7
mov esi, 0x48a300
jmp case.0x42f0b3.7
mov esi, str._exported_
jmp case.0x42f0b3.7
mov esi, str._deferred_
jmp case.0x42f0b3.7
mov esi, 0x48a31c
jmp case.0x42f0b3.7
mov esi, str.Virtual
jmp case.0x42f0b3.7
mov esi, 0x48a328
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x178]
push dword [esp + 0x24]
push edx
mov ecx, dword [eax]
push esi
push ebx
push dword [esp + 0x2a4]
mov eax, dword [ecx]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
push dword [esp + 0x2a4]
call dword [eax + 8]
test edi, edi
je 0x42f144
push edi
call fcn.0043f7e2
add esp, 4
test ebp, ebp
je 0x42f151
push ebp
call fcn.0043f7e2
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x268
ret 0x18
Function at 0x4493ab
Capabilities:
Get common file path
Set current directory

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

Function at 0x44ce71
Capabilities:
Read file on windows

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

Function at 0x4502f5
Capabilities:
Set environment variable

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

Function at 0x458770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4827e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00458dc0
mov dword [esi], eax
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4587c7
mov eax, dword [ecx]
jmp 0x4587c9
mov eax, ecx
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi + 8], 0
cmp ecx, eax
je 0x4587e8
push 0xffffffffffffffff
push 0
push eax
call fcn.00403de0
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x28], 0
mov dword [esi + 0xc], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x45f0c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x2c]
nop dword [eax + eax]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [esp + 0x14], edx
cmp dword [edi + 0x6c], eax
jb 0x45f150
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.004342b0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x45f11f
sub eax, esi
jmp 0x45f121
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x45f110
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x45f140
sub eax, esi
jmp 0x45f142
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x45f131
mov edx, dword [esp + 0x14]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x45f1fa
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ebp, eax
cmova ebp, edx
test ebp, ebp
je 0x45f1be
sub eax, ebp
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x45f194
push ebp
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0045f6e0
jmp 0x45f1a4
cmp eax, 2
jne 0x45f1aa
push ebp
push dword [ebx]
push dword [ebx + 0x30]
call fcn.0045f420
mov dword [ebx + 0x30], eax
add esp, 0xc
push ebp
push dword [ebx]
push dword [esp + 0x1c]
call fcn.004342b0
add dword [ebx], ebp
add esp, 0xc
add dword [ebx + 8], ebp
add dword [edi + 0x74], ebp
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x45f1e6
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x45f1fa
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x45f0d0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x46d000
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
mov ecx, dword [0x4ac338]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
xor esi, esi
mov dword [esp + 0x14], 0
xor edi, edi
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x46d127
mov eax, dword [esp + 0x44]
test eax, eax
je 0x46d127
cmp eax, 0x3fffffff
jae 0x46d0c8
cmp dword [ebp], 0x44
jne 0x46d0c8
lea eax, [esp + 0x10]
push eax
push edi
push 1
push edi
call ecx
test eax, eax
jne 0x46d068
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x46d068
xor ebx, ebx
jmp 0x46d0d2
push dword [esp + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ebx, ebx
mov esi, eax
test esi, esi
setne bl
test ebx, ebx
je 0x46d0d2
lea eax, [esp + 0x10]
push eax
push 0
push 1
push esi
call dword [0x4ac338]
mov ebx, eax
test ebx, ebx
je 0x46d0d2
mov eax, dword [esp + 0x44]
push 0
push 0
shl eax, 2
push eax
push dword [esp + 0x54]
mov dword [esp + 0x24], 1
push 0x20002
push 0
push esi
call dword [0x4ac334]
mov ebx, eax
jmp 0x46d0d2
push 0x57
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x48
call fcn.00431473
push 0x48
mov edi, eax
push 0
push edi
call fcn.00434830
movups xmm0, xmmword [ebp]
add esp, 0x10
movups xmmword [edi], xmm0
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp + 0x30]
movups xmmword [edi + 0x30], xmm0
mov eax, dword [ebp + 0x40]
mov ebp, edi
mov dword [edi + 0x40], eax
mov eax, dword [esp + 0x30]
or eax, 0x80000
mov dword [edi], 0x48
mov dword [edi + 0x44], esi
test ebx, ebx
je 0x46d155
jmp 0x46d12b
mov eax, dword [esp + 0x30]
push dword [esp + 0x40]
push ebp
push dword [esp + 0x40]
push dword [esp + 0x40]
push eax
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
cmp dword [esp + 0x14], 0
je 0x46d163
push esi
call dword [0x4ac33c]
test esi, esi
je 0x46d177
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
je 0x46d186
push 0
push edi
call fcn.004314ab
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret
Function at 0x46d190
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0046ea90
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CmSocket.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x486490
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.00403ef0
xor eax, eax
mov word [esi + 0x28], ax
mov byte [esi + 0x34], al
mov dword [esi + 0x38], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x46d224
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x2c], 0x14
mov dword [esi + 0x30], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret