joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x477f0e
mov esi, dword [ebx]
jmp 0x477f10
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x477f34
mov ebx, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x477f20
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
and ecx, edx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0xc], esi
mov esi, dword [edi + 4]
mov dword [ebp - 8], esi
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], esi
jne 0x477f5d
mov ecx, esi
jmp 0x477f61
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x47809d
cmp dword [ebx + 0x14], 0x10
lea edx, [eax + 8]
jb 0x477f76
mov edi, dword [ebx]
jmp 0x477f78
mov edi, ebx
cmp dword [edx + 0x14], 0x10
lea ecx, [edx + 0x10]
jb 0x477f83
mov edx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
mov esi, ecx
cmp dword [ebp + 0xc], ecx
cmovb esi, dword [ebp + 0xc]
test esi, esi
je 0x477ff3
sub esi, 4
jb 0x477fb1
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x477fb6
add edx, 4
add edi, 4
sub esi, 4
jae 0x477fa0
cmp esi, 0xfffffffc
je 0x477fea
mov cl, byte [edx]
cmp cl, byte [edi]
jne 0x477fe3
cmp esi, 0xfffffffd
je 0x477fea
mov cl, byte [edx + 1]
cmp cl, byte [edi + 1]
jne 0x477fe3
cmp esi, 0xfffffffe
je 0x477fea
mov cl, byte [edx + 2]
cmp cl, byte [edi + 2]
jne 0x477fe3
cmp esi, 0xffffffff
je 0x477fea
mov cl, byte [edx + 3]
cmp cl, byte [edi + 3]
je 0x477fea
sbb ecx, ecx
or ecx, 1
jmp 0x477fec
xor ecx, ecx
test ecx, ecx
jne 0x477ffc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jb 0x477ffc
jbe 0x478009
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
jmp 0x477f54
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
lea edi, [edx + 0x10]
jb 0x478017
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x47801f
mov ebx, dword [ebx]
mov edi, dword [edi]
cmp ecx, edi
mov esi, edi
cmovb esi, ecx
test esi, esi
je 0x478084
sub esi, 4
jb 0x478042
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x478047
add ebx, 4
add edx, 4
sub esi, 4
jae 0x478031
cmp esi, 0xfffffffc
je 0x47807b
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x478074
cmp esi, 0xfffffffd
je 0x47807b
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x478074
cmp esi, 0xfffffffe
je 0x47807b
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x478074
cmp esi, 0xffffffff
je 0x47807b
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x47807b
sbb ecx, ecx
or ecx, 1
jmp 0x47807d
xor ecx, ecx
test ecx, ecx
jne 0x47808a
mov ecx, dword [ebp - 4]
cmp ecx, edi
jb 0x47808a
jbe 0x47808d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x479b40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d2f5
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5fad8c]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x479ba7
mov eax, dword [esi]
jmp 0x479ba9
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x479be2
xor ecx, ecx
jmp 0x479bf6
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479be7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0047a3d0
push 1
push 0
push 0x58d060
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
add byte [eax], al
call fcn.0047a670
mov edi, eax
cmp edi, 0xffffffff
je 0x479d1e
push 1
lea ebx, [edi + 1]
push ebx
push 0x58d060
lea ecx, [ebp - 0x28]
call fcn.0047a670
cmp eax, 0xffffffff
je 0x479d1e
sub eax, edi
lea ecx, [ebp - 0x28]
dec eax
push eax
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.0047ad40
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00486340
add esp, 8
push 0x587ab4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00454680
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00484c30
add esp, 0xc
mov ecx, esi
push eax
call fcn.00454580
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x479cb2
push 1
inc eax
push eax
push dword [ebp - 0x58]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x479cdb
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x479cf2
push 1
inc eax
push eax
push dword [ebp - 0x40]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 8
jb 0x479d1e
push 2
inc eax
push eax
push dword [ebp - 0x88]
call fcn.0045bfe0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x479d35
push 2
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.0045bfe0
add esp, 0xc
mov eax, esi
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.0053649e
mov esp, ebp
pop ebp
ret
Function at 0x479d60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d358
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x479dc6
mov eax, dword [esi]
jmp 0x479dc8
mov eax, esi
mov byte [eax], 0
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x268], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
mov edx, eax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479e10
sub ecx, edi
sar ecx, 1
je 0x479fbb
test edx, edx
je 0x479fbb
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00479690
push 1
push 0
push 0x58d064
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
call fcn.0047a580
mov edi, eax
cmp edi, 0xffffffff
je 0x479e93
push 1
push 0x58d068
push 1
push edi
lea ecx, [ebp - 0x234]
call fcn.0047ab20
push 1
lea eax, [edi + 1]
push eax
push 0x58d064
lea ecx, [ebp - 0x234]
call fcn.0047a580
mov edi, eax
cmp edi, 0xffffffff
jne 0x479e61
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
push 1
dec eax
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047ad40
cmp dword [eax + 0x14], 8
lea ecx, [eax + 0x10]
jb 0x479eba
mov eax, dword [eax]
push 1
push 0x58d068
push dword [ecx]
push eax
call fcn.0047a1e0
mov edi, eax
add esp, 0x10
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x479eeb
inc eax
push 2
push eax
push dword [ebp - 0x264]
call fcn.0045bfe0
add esp, 0xc
test edi, edi
jne 0x479f21
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
dec eax
push eax
push edi
lea eax, [ebp - 0x264]
push eax
call fcn.0047ad40
push eax
lea ecx, [ebp - 0x234]
call fcn.004796f0
lea ecx, [ebp - 0x264]
call fcn.0045d4a0
cmp dword [ebp - 0x224], 0
je 0x479f9e
lea eax, [ebp - 0x234]
push 0x58d06c
push eax
call fcn.00479640
add esp, 8
test al, al
je 0x479f9e
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00486340
add esp, 8
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
je 0x479f7d
push 1
push eax
call fcn.00483960
add esp, 8
test al, al
je 0x479f93
lea eax, [ebp - 0x24c]
cmp esi, eax
je 0x479f93
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24c]
mov ecx, esi
push eax
call fcn.00455e10
lea ecx, [ebp - 0x24c]
call fcn.00454540
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x479fbb
push 2
inc ecx
push ecx
push dword [ebp - 0x234]
call fcn.0045bfe0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret
Function at 0x47b3b0
Capabilities:
Get memory capacity

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
push str._______________________memory_________________________
push 4
call fcn.004825f0
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp - 0x70], 0x40
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47b4bf
push dword [ebp - 0x6c]
xorps xmm0, xmm0
push str._phy_mem_:__used___u__
push 4
movaps xmmword [ebp - 0x30], xmm0
call fcn.004825f0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.00485540
add esp, 8
fstp qword [esp]
push str._phy_mem_:__tota___f__s
push 4
call fcn.004825f0
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.00485540
add esp, 8
fstp qword [esp]
push str._phy_mem_:__free___f__s
push 4
call fcn.004825f0
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.00485540
add esp, 8
fstp qword [esp]
push str._vir_mem_:__tota___f__s
push 4
call fcn.004825f0
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00485540
add esp, 8
fstp qword [esp]
push str._vir_mem_:__free___f__s
push 4
call fcn.004825f0
add esp, 0x14
jmp 0x47b4fa
lea eax, [ebp - 0x30]
push eax
call fcn.00485780
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x47b4d3
mov eax, dword [eax]
push eax
push str.fail_to_obtain_memory_information___s_
push 4
call fcn.004825f0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x47b4fa
push 1
inc eax
push eax
push dword [ebp - 0x30]
call fcn.0045bfe0
add esp, 0xc
push str.______________________________________________________
push 4
call fcn.004825f0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47b520
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.__________________system_information__________________
push 4
call fcn.004825f0
add esp, 8
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0x65
push 0
call sub.NETAPI32.dll_NetServerGetInfo
test eax, eax
jne 0x47b5ac
mov eax, dword [ebp - 0x38]
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.0047b120
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [ecx + 8]
push dword [ecx + 0xc]
and edx, 0xf
cmp dword [ebp - 0x20], 0x10
push edx
cmovae eax, dword [ebp - 0x34]
push eax
push str._plat_:__s__u___u
push 4
call fcn.004825f0
add esp, 0x1c
push dword [ebp - 0x38]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x47b5ac
push 1
inc eax
push eax
push dword [ebp - 0x34]
call fcn.0045bfe0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0047b270
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x47b5e9
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x1c]
push eax
push str._arch_:__s_x__u
push 4
call fcn.004825f0
add esp, 0x10
push str.______________________________________________________
push 4
call fcn.004825f0
mov eax, dword [ebp - 8]
add esp, 8
cmp eax, 0x10
jb 0x47b60f
push 1
inc eax
push eax
push dword [ebp - 0x1c]
call fcn.0045bfe0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret

Function at 0x47dc30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d9cc
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esi], 0
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.0047e2e0
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 0
call fcn.0047d9a0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
call fcn.0047d500
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 2
call fcn.0047d500
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 3
call fcn.0047d500
mov dword [edi], 0
mov eax, edi
mov dword [edi + 0x18], 0x5e45cc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0x5e45cc
mov dword [edi + 0x24], 0x7d0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0x1000
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0x1f4
mov byte [edi + 0x48], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47e320
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57da78
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x47e396
push 0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x47e38d
push str.exec_steam_t::abort_thread:_TerminateThread_failed
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047db10
push 0x5ee710
lea eax, [ebp - 0x4c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, esi
call fcn.0047e4a0
jmp 0x47e398
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret
Function at 0x480c30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57df8b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
mov edi, dword [ebp + 0xc]
je 0x480cd6
push 0x35
push str.thread_buffer_t::start_thread:_thread_already_started
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00455d10
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x34], vtable.exec_stream_t::error_t.0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00455e10
push 0x5ee768
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [esi + 4]
call fcn.0047e5b0
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x480d1f
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_stop_thread_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0047db10
push 0x5ee710
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x480d5a
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_got_data_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x70]
call fcn.0047db10
push 0x5ee710
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x480d95
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_want_data_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.0047db10
push 0x5ee710
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea eax, [ebp - 0xb0]
mov ecx, 0x47fe40
push eax
push 0
push esi
cmp edi, 1
mov eax, 0x4810b0
cmove eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x480dfb
push str.thread_buffer_t::start_thread:_unable_to_start_thread
lea ecx, [ebp - 0x88]
call fcn.00454680
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0xac]
call fcn.0047db10
push 0x5ee710
lea eax, [ebp - 0xac]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
xor eax, eax
cmp edi, 1
setne al
inc eax
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret 8
Function at 0x4820f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
test edi, edi
jne 0x48211f
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push edi
mov dword [ebp - 0x28], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4821db
push ebx
call fcn.005365c4
add esp, 4
mov esi, eax
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4821d2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4821d2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x30]
push eax
push 0x58d068
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4821d2
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00447ba0
push esi
call fcn.005365cd
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
add esp, 0x1c
push eax
call fcn.00454500
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret
push esi
call fcn.005365cd
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0053649e
mov esp, ebp
pop ebp
ret
Function at 0x486780
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e8b8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x486825
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x48681e
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x48681e
mov eax, dword [ecx]
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x48681e
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4867f4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x48683d
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053649e
mov esp, ebp
pop ebp
ret
Function at 0x486970
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e91e
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x5fad8c]
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 esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x264], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x268], esi
mov dword [esi + 0x10], 0
jb 0x4869e1
mov eax, dword [esi]
jmp 0x4869e3
mov eax, esi
push 0
push 0x5e45cc
mov ecx, esi
mov byte [eax], 0
call fcn.00455d10
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 0
push edi
push eax
mov dword [ebp - 0x264], 1
call fcn.00486460
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x486a6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push str.GetEnvironmentVariableW_failed___u___u
push 2
jmp 0x486b91
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x486a99
xor ecx, ecx
jmp 0x486ab1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486aa2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0047a3d0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00486340
add esp, 8
mov ebx, eax
cmp esi, ebx
je 0x486b1f
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x486afa
push 1
inc eax
push eax
push dword [esi]
call fcn.0045bfe0
add esp, 0xc
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x486b12
mov eax, dword [esi]
jmp 0x486b14
mov eax, esi
push ebx
mov ecx, esi
mov byte [eax], 0
call fcn.004561f0
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x486b3c
push 1
inc eax
push eax
push dword [ebp - 0x248]
call fcn.0045bfe0
add esp, 0xc
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp eax, 8
jb 0x486b74
push 2
inc eax
push eax
push dword [ebp - 0x230]
call fcn.0045bfe0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x486b7e
mov eax, dword [esi]
jmp 0x486b80
mov eax, esi
cmp dword [edi + 0x14], 0x10
jb 0x486b88
mov edi, dword [edi]
push eax
push edi
push str.GetEnv:__s___s
push 4
call fcn.004825f0
mov ecx, dword [ebp - 0x24c]
add esp, 0x10
cmp ecx, 8
jb 0x486bb6
push 2
inc ecx
push ecx
push dword [ebp - 0x260]
call fcn.0045bfe0
add esp, 0xc
mov eax, esi
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.0053649e
mov esp, ebp
pop ebp
ret