joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40101d
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403008], eax
push dword [0x403008]
call 0x40101d
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffff90
push dword [0x403070]
call sub.gdi32.dll_CreateSolidBrush
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x40125d
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Testbed
mov dword [ebp - 0x18], 0
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x401475
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.MobileWin
mov dword [ebp - 0x18], 0
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
call sub.user32.dll_GetSystemMetrics
mov edx, 0x2bc
push eax
push edx
call fcn.0040156d
mov dword [ebp - 0x50], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov edx, 0x12c
push eax
push edx
call fcn.0040156d
mov dword [ebp - 0x54], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0x12c
push 0x2bc
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0x2cf0000
push str.Test_Bed
push str.Testbed
push 0x300
call sub.user32.dll_CreateWindowExA
mov dword [0x403004], eax
push 1
push dword [0x403004]
call sub.user32.dll_ShowWindow
push 0x4bc
push dword [0x403004]
push 0x40318e
push 0x50000000
call sub.comctl32.dll_CreateStatusWindowA
mov dword [0x403010], eax
mov edx, eax
lea eax, [ebp - 0x70]
push eax
push edx
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [0x403020], eax
push 0x4030a5
call fcn.00401600
push 0
push dword [0x403008]
push 0x457
push dword [0x403004]
push 0xfa
push 0xfa
push 0xa
push 0x32
push 0x50200307
push 0
push str.cOmBoBoX
push 0x200
call sub.user32.dll_CreateWindowExA
mov dword [0x40300c], eax
cmp dword [0x40300c], 0
jne 0x401203
push 0
push str.Test_Bed
push str.CB_creation_failed_
push dword [0x403004]
call sub.user32.dll_MessageBoxA
push 1
push dword [0x40300c]
call sub.user32.dll_ShowWindow
call fcn.004015a5
lea ebx, [0x40315a]
cmp dword [ebx], 0
je 0x40122f
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0040163a
pop ebx
add ebx, 4
jmp 0x40121b
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x401256
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x40122f
mov eax, dword [ebp - 0x44]
leave
ret 4
Function at 0x402320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x418], eax
mov esi, edx
mov eax, dword [ebp + 0xc]
push edi
mov edi, eax
mov dword [ebp - 0x408], eax
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x402350
sub edi, ecx
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040839f
lea ecx, [edi + 1]
mov ebx, eax
push ecx
push dword [ebp - 0x408]
push ebx
call fcn.00408260
add esp, 0x10
mov dword [ebp - 0x40c], 0x400
mov dword [ebp - 0x408], 0
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x414], eax
test eax, eax
je 0x4023e6
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x414]
test eax, eax
je 0x4023e6
cmp dword [ebp - 0x408], 0
je 0x4023e6
lea eax, [ebp - 0x410]
push eax
push 0x20119
jmp 0x4023f2
lea eax, [ebp - 0x410]
push eax
push 0x20019
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4024dd
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push dword [ebp - 0x418]
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x410]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4024dd
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402450
sub ecx, edx
je 0x40248f
nop dword [eax + eax]
movsx eax, byte [ebp + esi - 0x404]
push eax
call fcn.0040822b
mov byte [ebp + esi - 0x404], al
add esp, 4
lea eax, [ebp - 0x404]
inc esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402482
sub eax, edx
cmp esi, eax
jb 0x402460
xor esi, esi
test edi, edi
je 0x4024aa
movsx eax, byte [esi + ebx]
push eax
call fcn.0040822b
mov byte [esi + ebx], al
add esp, 4
inc esi
cmp esi, edi
jb 0x402495
lea eax, [ebp - 0x404]
push ebx
push eax
call fcn.00403110
add esp, 8
test eax, eax
je 0x4024dd
push ebx
call fcn.00408384
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004025cd
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00408384
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.004025cd
mov esp, ebp
pop ebp
ret
Function at 0x402500
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
or esi, 0xffffffff
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4025a9
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0xc]
test eax, eax
je 0x4025a9
cmp dword [ebp - 8], 1
jne 0x4025a9
push str.Wow64DisableWow64FsRedirection
push str.kernel32
mov dword [ebp - 8], 0
call edi
push eax
call ebx
test eax, eax
je 0x4025b4
lea ecx, [ebp - 8]
push ecx
call eax
test eax, eax
je 0x4025b4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Wow64RevertWow64FsRedirection
mov esi, eax
mov eax, dword [ebp - 8]
push str.kernel32
mov dword [ebp - 0xc], eax
call edi
push eax
call ebx
test eax, eax
je 0x4025b4
push dword [ebp - 0xc]
call eax
jmp 0x4025b4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, 0xffffffff
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.004025cd
mov esp, ebp
pop ebp
ret

Function at 0x402dd2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402e11
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402e11
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e11
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402e11
cmp dword [ecx + 0x74], 0xe
jbe 0x402e11
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x409d36
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417648
push 0x417640
push str.FlsAlloc
push 0x1f
call fcn.00409bf5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409d6a
push dword [ebp + 8]
mov ecx, esi
call dword [0x416164]
call esi
jmp 0x409d70
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409db4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417658
push 0x417650
push str.FlsGetValue
push 0x21
call fcn.00409bf5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409deb
push dword [ebp + 8]
mov ecx, esi
call dword [0x416164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409df3
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417660
push 0x417658
push str.FlsSetValue
push 0x22
call fcn.00409bf5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409e2d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x416164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40d54e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40d5eb
push ebx
push esi
call fcn.0040d517
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040d4ab
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40d598
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d5ea
push edi
push eax
call fcn.0040a4e5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40d5b8
call fcn.00409a88
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40d5e9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040d4ab
add esp, 0x20
test eax, eax
jne 0x40d5d7
push edi
call fcn.00409a88
jmp 0x40d5df
push ebx
call fcn.00409a88
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x415460
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41548d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41548d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x79d760
Capabilities:
Encode data using xor

Disassembly:
push eax
scasb al, byte es:[edi]
wait
inc esp
mov cl, 0x16
mov al, byte [0xf00b9011]
or al, ch
pop es
xor eax, 0x140cc20e
add edx, edi
mov dh, 0
add byte [eax], al
pushal
call 0x79d766
pop ebp
sub ebp, 6
sub ebp, 0x39d760
jmp 0x79d7c4
add byte [ebx], cl
add byte [ecx], bh
add byte [ebx], ch
add byte [edi + 0x67], cl
adc byte [esp + edi*2], bh
mov ch, 0x77
int1
sub eax, dword [eax]
dec edi
adc byte [si], bh
jl 0x79d747
ja 0x79d785
lcall 0x4561, 0x704f9c94
test al, 0xba
scasb al, byte es:[edi]
xchg edx, eax
pop edi
add dword [eax], eax
add byte [eax], al
jb 0x79d811
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
aas
pop ecx
lahf
adc edi, dword [eax + 0x39d760]
jmp 0x79d7cd
mov eax, 0x39d760
add eax, ebp
add eax, 0x93
mov ecx, 0x62b
mov edx, 0xeca3b45
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d7e4
jmp 0x79d7f7
das
add eax, 0x4555452d
inc ebp
sub eax, 0x45698945
jbe 0x79d78a
adc eax, 0xe581d0ba
jne 0x79d851
adc eax, 0xccce88ce
jns 0x79d858
inc ebp
inc ebp
les eax, [ebp + edi*4 + 0x46454545]
mov ch, bh
inc ecx
inc ebp
inc ebp
inc ebp
jmp [ebp + 0x45]
inc ebp
inc esp
imul esp, dword [ecx + 0x2d], 0x45454545
lodsd eax, dword [esi]
inc eax
inc ebp
inc ebp
inc ebp
lodsb al, byte [esi]
outsd dx, dword [esi]
inc ebp
inc ebp
inc ebp
adc al, cl
sub dword [ecx + 0x45], esp
enter 0x6129, 0x45
into
ror byte [ebp + 0x45], 0x45
inc ebp
inc ebp
inc ebp
into
ror byte [ecx + 0x45], 1
inc ebp
inc ebp
into
enter 0x4555, 0x45
inc ebp
test byte [edi + eax*2 - 0x7839b88c], ch
inc ecx
or al, 0x4a
sal byte [ecx + 0x18bababa], 0x87
dec ecx
inc ebp
into
leave
popal
inc ecx
inc ebp
inc ebp
inc ebp
sub eax, 0x454c71a1
sub eax, 0x4575e73f
inc esp
imul esp, dword [ecx + 0x14], 0x454540ad
inc ebp
lodsb al, byte [esi]
add al, 0x47
inc ebp
inc ebp
adc al, cl
sub dword [ecx + 0x45], esp
mov edx, 0x30ba4930
dec ebp
lodsd eax, dword [esi]
aaa
inc ebp
inc ebp
inc ebp
into
clc
dec ebp
inc ebp
inc ebp
inc ebp
jbe 0x79d83d
les esi, [edi - 0x182aa971]
les esi, [edi - 0x182aa971]
jbe 0x79d856
invalid
Function at 0x40c570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b183
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x49a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
push 0x2c
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00452f13
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0
lea edi, [ebx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CoClassSourceImpl.0
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
lea esi, [edi + 0x20]
mov dword [edi + 0xc], 1
push 0x2c
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00452f13
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x30], 0
mov byte [ebx + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4183c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x49a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x228
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00454ad0
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x418452
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x234], edi
je 0x41844d
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x418431
jmp 0x418452
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452d1d
mov esp, ebp
pop ebp
ret 4
Function at 0x418490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c230
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x49a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x21c], ebx
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], eax
push 0x100
push eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x130], 0x11c
call fcn.00454ad0
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x18], eax
push 3
push 0x20
push 3
push 1
push 3
push 2
push eax
push eax
call esi
push edx
push eax
call esi
push edx
push eax
call esi
push edx
push eax
push 0x23
lea eax, [ebp - 0x130]
mov dword [ebp - 0x12c], 6
xor ecx, ecx
mov dword [ebp - 0x128], 0
push eax
mov word [ebp - 0x1c], cx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
lea eax, [ebp - 0x238]
je 0x4185c3
push eax
push 0
push 0
push 0x4802f0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x418652
mov edx, dword [ebp - 0x238]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418596
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.00408fb0
push dword [ebp - 0x238]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x418652
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x21c]
mov eax, dword [eax]
mov dword [ebp - 0x21c], 0
cmp eax, dword [ecx]
jne 0x4185fb
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00454ad0
add esp, 0xc
jmp 0x41860a
mov ecx, 0x82
lea edi, [ebp - 0x218]
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x418652
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418630
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00408fb0
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
mov dword [ebx + 0x10], 0
cmovae edx, dword [ebp - 0x234]
xor eax, eax
mov ecx, edx
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418680
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00408fb0
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x4186d4
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4186f2
push edx
push ecx
call fcn.00453194
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452d1d
mov esp, ebp
pop ebp
ret
call fcn.0045a646
int3
Function at 0x42afe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d5d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x49a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00452f13
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0043d157
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f3f0
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x49a02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x49d58c]
test eax, eax
je 0x42f480
cmp dword [ebp + 0x18], 0
je 0x42f469
push eax
call fcn.0045fe5a
push eax
call fcn.0045f65c
add esp, 8
cmp eax, 0xffffffff
je 0x42f464
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42f464
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0xc]
jne 0x42f464
push dword [0x49d58c]
call fcn.0045fdd6
add esp, 4
mov dword [0x49d58c], 0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x49d58c]
test eax, eax
je 0x42f480
push eax
call fcn.0045fdd6
add esp, 4
mov dword [0x49d58c], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x42f4b6
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42f4ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42f4c4
push edx
push ecx
call fcn.00453194
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452d1d
mov esp, ebp
pop ebp
ret
call fcn.0045a646
int3

Function at 0x4310e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dbf0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x49a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0xc]
mov dword [ebx + 5], 0
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebx + 5]
mov word [eax + 4], 0x100
push 0
push 1
push eax
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebx + 0x1c], 0
lea edi, [ebx + 0x30]
mov dword [ebx + 0x20], 0
lea ecx, [ebx + 0x10]
mov eax, dword [esi]
push edi
push 0
push ecx
push 1
mov dword [ecx], 0x1f01ff
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 3
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 5
mov dword [ebx + 0x2c], eax
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
push 1
lea esi, [ebx + 0x34]
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push dword [edi]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebx + 0x48], 0xc
mov al, 1
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], 0
mov byte [ebx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bbb1
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046bb33

Function at 0x46f0cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046ef42