joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a1c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x475f58
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43a1f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43a30c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43a20d
mov eax, 0xffffffc7
jmp 0x43a30e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43a21e
cmp dword [esi + 8], eax
jne 0x43a20d
cmp dword [esi + 8], eax
jne 0x43a237
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43a237
mov eax, 0xffffffc7
jmp 0x43a30e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43a24b
push eax
mov ecx, ebx
call fcn.004399f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040ed50
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43a27c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040ed70
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00439160
test eax, eax
mov dword [esp + 0x38], eax
je 0x43a2af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b250
call fcn.0040ef50
mov eax, dword [esp + 0x38]
jmp 0x43a30e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043a020
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43a2f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043a040
mov esi, eax
test esi, esi
jne 0x43a323
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043a020
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43a2c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b250
call fcn.0040ef50
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48b250
call fcn.0040ef50
mov eax, esi
jmp 0x43a30e

Function at 0x43d3d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43d430
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43d430
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43d430
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43d430
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43d470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x443590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046f79c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442f30
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046f6ca
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046bf8e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046bf8e
push 1
push 0
push 0
mov ecx, esi
call fcn.0046bf36
push 1
push 0
push 1
mov ecx, esi
call fcn.0046bf36
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f80e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x443710
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4765a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046f79c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442f30
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046f6ca
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4437d4
cmp dword [esp + 0x40], 1
jne 0x4437d2
cmp ecx, eax
jge 0x4437d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4437e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443590
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f80e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x443f50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476613
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046a3ac
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046fa44
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00470f60
test eax, eax
je 0x44406c
mov ecx, dword [esp + 0x3c]
call fcn.0046fa71
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x444030
push edi
mov ecx, esi
call fcn.0046d0d5
mov ecx, esi
call fcn.004441d0
cmp dword [esp + 0x38], 1
jne 0x444065
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046d210
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446a80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446ab3
push esi
call fcn.00449b90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446aac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x446b39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446b22
mov eax, dword [esi + 8]
test eax, eax
je 0x446ad7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x446b1e
cmp eax, 2
je 0x446b22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446aca
cmp eax, 3
je 0x446afd
cmp eax, 1
jne 0x446aca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x446aca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446aca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446b60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446b48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446b60
add esp, 4
pop esi
ret

Function at 0x453950
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4539f3
test eax, eax
jbe 0x4539f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4539f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45399e
xor esi, esi
jmp 0x4539a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4539cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00457620
add esi, eax
push esi
mov ebx, esi
call fcn.00457620
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4539b0
pop ebp
test edi, edi
pop edi
jne 0x4539f3
test ebx, ebx
je 0x4539f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00459d40
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x453b35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x453c4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x453c4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046a7fe
mov esi, eax
test esi, esi
je 0x453c4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x453c4d
mov ecx, esi
call fcn.00453aa0
cmp edi, eax
jge 0x453c4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x453bd3
mov dword [esp + 0x34], 1
jmp 0x453c2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x453c4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004522c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46b1a1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b1d9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046922e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469206
jmp 0x46b1e5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46c892
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46c8d4
call fcn.0047234b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46c8d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46c8cb
xor eax, eax
jmp 0x46c8dc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046c8e2
pop edi
pop esi
pop ebx
ret 4
Function at 0x47287b
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4728a9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4728c7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004727e1
jmp 0x4728c7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4728c7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004727e1
test edi, edi
mov eax, edi
jne 0x4728b1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x1001522
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10030e4]
push ebx
push edi
lea ecx, [ebp - 0x204]
push ecx
xor ebx, ebx
push ebx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
mov dword [ebp - 0x418], eax
call dword [sym.imp.msvcrt.dll__wsplitpath]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x14
lea eax, [ebp - 0x408]
push eax
push 1
push ebx
lea eax, [ebp - 0x204]
push eax
push 0x80000000
call edi
test eax, eax
je 0x1001580
xor eax, eax
jmp 0x100166a
push esi
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp - 0x408]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x410], eax
call esi
cmp dword [ebp - 0x410], ebx
je 0x10015c9
xor eax, eax
jmp 0x1001669
lea eax, [ebp - 0x408]
push eax
push 1
push ebx
lea eax, [ebp - 0x404]
push eax
push 0x80000000
call edi
test eax, eax
jne 0x10015c2
lea eax, [ebp - 0x414]
push eax
push 1
push ebx
push 0x100114c
push dword [ebp - 0x408]
call edi
test eax, eax
je 0x100160a
push dword [ebp - 0x408]
call esi
jmp 0x10015c2
lea eax, [ebp - 0x40c]
push eax
mov edi, 0x1003208
push edi
push ebx
push dword [ebp - 0x414]
mov dword [ebp - 0x40c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp - 0x408]
mov dword [ebp - 0x410], eax
call esi
push dword [ebp - 0x414]
call esi
cmp dword [ebp - 0x410], ebx
jne 0x10015c2
mov eax, dword [ebp - 0x40c]
mov word [eax*2 + 0x1003208], bx
mov eax, dword [ebp - 0x418]
mov dword [eax], edi
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0100220f
leave
ret 4
Function at 0x1002327
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001298
call fcn.010025a8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002362
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002362
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100237a
cmp eax, 0x20b
je 0x1002367
mov dword [ebp - 0x1c], edi
jmp 0x100238e
cmp dword [ecx + 0x84], 0xe
jbe 0x1002362
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002388
cmp dword [ecx + 0x74], 0xe
jbe 0x1002362
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003420], 0xffffffff
or dword [0x1003424], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x100341c]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003418]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003428], eax
call fcn.010025a0
cmp dword [0x10030f0], edi
jne 0x10023eb
push fcn.010025a0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002589
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003414]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1003410]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x38], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x1002451
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x100250b
mov dword [ebp - 0x20], esi
cmp word [esi], 0x22
jne 0x100249f
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x100246d
cmp ax, 0x22
jne 0x100245a
cmp word [esi], 0x22
jne 0x1002478
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x1002486
cmp ax, 0x20
jbe 0x1002473
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x54], 1
je 0x10024ac
movzx eax, word [ebp - 0x50]
jmp 0x10024af
cmp word [esi], 0x20
jbe 0x1002478
add esi, ebx
mov dword [ebp - 0x20], esi
jmp 0x100249f
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], edi
jne 0x10024d0
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002505
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010025e3
ret
Function at 0x10003ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10016018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je 0x10003de2
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push str.SOFTWAREAMDFuel
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003d35
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.DefaultInitDataPath
push dword [ebp - 0x420]
mov dword [ebp - 0x424], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003d35
cmp dword [ebp - 0x418], 1
jne 0x10003d35
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret
push esi
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10003d9b
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov esi, dword [sym.imp.MSVCR110.dll_wcscpy_s]
test eax, eax
jne 0x10003d8e
push 0x10011618
lea eax, [ebp - 0x20c]
push 0x104
push eax
call esi
add esp, 0xc
mov eax, dword [ebp - 0x418]
xor ecx, ecx
mov word [eax], cx
jmp 0x10003db7
mov esi, dword [sym.imp.MSVCR110.dll_wcscpy_s]
push 0x10011618
lea eax, [ebp - 0x20c]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
push dword [ebp - 0x41c]
call esi
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret
Function at 0x10003e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ee56
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10016018]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov eax, dword [0x10016018]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
cmp byte [0x10016a84], 0
jne 0x10003f53
mov byte [0x10016a84], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x248], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREAMDFuel
push 0x80000002
mov byte [esp + 0x25c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003ee1
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push str.DefaultServiceListPath
push dword [esp + 0x28]
mov dword [esp + 0x30], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10003f02
lea ecx, [esp + 0x2c]
call fcn.10003ca0
push str.ServiceList.txt
lea eax, [esp + 0x30]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscat_s]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0xc]
call fcn.10003680
test al, al
je 0x10003f25
lea edx, [esp + 0x1c]
lea ecx, [esp + 8]
call fcn.100039f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10003f37
push eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [esp + 8]
test esi, esi
je 0x10003f53
push dword [esp + 0xc]
push esi
call fcn.10006d00
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret

Function at 0x10006540
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
mov dword [0x1001686c], eax
mov eax, dword [ebp + 0xc]
push 0
push 0
mov dword [0x10016868], eax
call esi
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10006480
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x10006591
mov eax, 1
pop esi
pop ebp
ret 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea ebx, [ebx]
call sym.Fuel.Proxy.Native.dll__FUClientActive_0
test eax, eax
je 0x100065be
push 0x32
call edi
inc esi
cmp esi, 0x32
jl 0x100065a0
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
cmp esi, 0x32
jl 0x100065ce
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
call sym.Fuel.Proxy.Native.dll__FUClientInactive_0
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
ret 8