joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4895c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4895ef
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4895f6
cmp ebx, dword [eax + 4]
jae 0x4895f6
xor eax, eax
jmp 0x4897e6
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x489607
xor eax, eax
inc eax
jmp 0x4897e5
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x48961d
cmp ecx, edx
jae 0x489762
cmp dword [eax + 4], 0
je 0x489626
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x48960e
cmp dword [ebp + 8], 0
je 0x489648
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x489762
cmp eax, esi
jae 0x489762
mov eax, dword [0x4e34e8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x48966d
cmp dword [esi*4 + 0x4e34f0], edi
je 0x489766
inc esi
cmp esi, eax
jl 0x48965b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4897e2
cmp dword [ebp - 8], 0x1000000
jne 0x4897e2
test byte [ebp - 0xc], 0xcc
je 0x4896eb
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4897e2
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4897e2
cmp word [eax + 0x18], 0x10b
jne 0x4897e2
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4897e2
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4896eb
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4896eb
test byte [ecx + 0x27], 0x80
jne 0x489762
push 1
push 0x4e3530
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4895ff
mov ecx, dword [0x4e34e8]
test ecx, ecx
mov edx, ecx
jle 0x48971f
lea eax, [ecx*4 + 0x4e34ec]
cmp dword [eax], edi
je 0x48971f
dec edx
sub eax, 4
test edx, edx
jg 0x489713
test edx, edx
jne 0x489750
push 0xf
pop ebx
cmp ecx, ebx
jg 0x48972c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x489744
lea eax, [edx*4 + 0x4e34f0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x489732
cmp ecx, 0x10
jge 0x489750
inc ecx
mov dword [0x4e34e8], ecx
push 0
push 0x4e3530
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4895ff
xor eax, eax
jmp 0x4897e5
test esi, esi
jle 0x4895ff
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x4e3530
call ebx
test eax, eax
jne 0x4895ff
cmp dword [esi*4 + 0x4e34f0], edi
je 0x4897bc
mov eax, dword [0x4e34e8]
lea esi, [eax - 1]
test esi, esi
jl 0x4897aa
cmp dword [esi*4 + 0x4e34f0], edi
je 0x4897a6
dec esi
jns 0x48979a
test esi, esi
jge 0x4897ba
cmp eax, 0x10
jge 0x4897b5
inc eax
mov dword [0x4e34e8], eax
lea esi, [eax - 1]
jmp 0x4897bc
je 0x4897d4
xor ecx, ecx
test esi, esi
jl 0x4897d4
lea eax, [ecx*4 + 0x4e34f0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4897c2
push 0
push 0x4e3530
call ebx
jmp 0x4895ff
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49020f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x490247
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.0048e2dd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048e2b5
jmp 0x490253
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4918fd
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 0x49193f
call fcn.0049727f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x49193f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x491936
xor eax, eax
jmp 0x491947
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049194d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4977af
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 0x4977dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4977fb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00497715
jmp 0x4977fb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4977fb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00497715
test edi, edi
mov eax, edi
jne 0x4977e5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1000d300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000d359
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000d359
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000d34a
cmp esi, edx
jae 0x1000d359
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000d338
cmp esi, edx
jae 0x1000d359
cmp word [esi], 0
je 0x1000d359
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10011130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a87cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100de514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 8]
push dword [ebp + 0xc]
mov dword [esi], vtable.BenchmarkClassImp.0
mov dword [esi + 4], eax
call fcn.100110a0
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
call fcn.100110a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x100111e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov eax, esi
mov dword [esi + 0x34], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000a5d0
int3

Function at 0x100111f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a87f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100de514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or edi, 0xffffffff
mov dword [esi], vtable.BenchmarkClassImp.0
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10011239
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10011281
mov ecx, dword [esi + 0x20]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10011262
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100112c4
mov eax, edx
push ecx
push eax
call fcn.1007559a
mov dword [esi + 0x18], 0
add esp, 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov edx, dword [esi + 0xc]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001129b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 8]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x100112b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.10083519
int3
Function at 0x10011480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a87f0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100de514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or edi, 0xffffffff
mov dword [esi], vtable.BenchmarkClassImp.0
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100114c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10011511
mov ecx, dword [esi + 0x20]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100114f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10011569
mov eax, edx
push ecx
push eax
call fcn.1007559a
mov dword [esi + 0x18], 0
add esp, 8
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov edx, dword [esi + 0xc]
mov eax, edi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001152b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 8]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10011543
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x10011554
push 0x38
push esi
call fcn.1007559a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.10083519
int3
Function at 0x1001b760
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a9a50
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100de514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0xac]
mov dword [ebx], vtable.BenchmarkEnvironment.0
push eax
mov dword [ebx + 0xa8], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, dword [ebx + 0x9c]
lea edi, [ebx + 0x9c]
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10028350
mov eax, dword [edi]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.1007559a
mov esi, dword [ebx + 0x94]
lea edi, [ebx + 0x94]
add esp, 8
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.100283c0
mov eax, dword [edi]
push 0x2c
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.1007559a
add esp, 8
lea ecx, [ebx + 0x60]
call fcn.10046160
lea ecx, [ebx + 0x50]
call fcn.1001b6d0
lea ecx, [ebx + 0x44]
call fcn.1001b6d0
lea ecx, [ebx + 0x38]
call fcn.1001b6d0
mov esi, dword [ebx + 0x30]
push dword [esi + 4]
lea ecx, [ebx + 0x30]
mov dword [ebp - 4], 2
call fcn.10028350
mov eax, dword [ebx + 0x30]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x30]
mov dword [eax], esi
mov eax, dword [ebx + 0x30]
mov dword [eax + 8], esi
mov dword [ebx + 0x34], 0
push dword [ebx + 0x30]
call fcn.1007559a
mov esi, dword [ebx + 0x28]
add esp, 8
push dword [esi + 4]
lea ecx, [ebx + 0x28]
mov dword [ebp - 4], 3
call fcn.10028350
mov eax, dword [ebx + 0x28]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x28]
mov dword [eax], esi
mov eax, dword [ebx + 0x28]
mov dword [eax + 8], esi
mov dword [ebx + 0x2c], 0
push dword [ebx + 0x28]
call fcn.1007559a
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, eax
je 0x1001b8c1
push eax
call fcn.10054bc3
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 0x100272d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab198
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100de514]
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]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10027425
push 0x22c
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.100805f0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1002741e
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10027370
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10017f00
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
cmp dword [esi + 8], eax
je 0x100273c0
movups xmm0, xmmword [ebp - 0x28]
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x28], ax
jmp 0x100273cf
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ecx, esi
call fcn.10018b70
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x10027409
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100273ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027442
push edx
push ecx
call fcn.1007559a
add esp, 8
lea eax, [ebp - 0x254]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10027350
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.1007590b
mov esp, ebp
pop ebp
ret 4
call fcn.10083519
int3

Function at 0x1002bce0
Capabilities:
Delete file

Disassembly:
call fcn.1001fe70
mov ecx, eax
jmp fcn.1003cab0
Function at 0x10035ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad036
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100de514]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10035f9c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10035f9c
call fcn.100352b0
mov esi, eax
jmp 0x1003608c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10035fbf
call fcn.100352b0
jmp 0x1003607f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x10035fdd
call fcn.100352b0
jmp 0x1003607f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10035ffe
mov esi, 0x8007000e
jmp 0x10036081
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100350e0
jmp 0x10036028
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1003603f
mov esi, 0x8007000e
jmp 0x10036081
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1003605f
call fcn.100352b0
jmp 0x1003607f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10035d50
mov esi, eax
test edi, edi
je 0x1003608c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100360b0
lea ecx, [ebp - 0x418]
call fcn.100355f0
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.1007590b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1003a6f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad9bc
mov eax, dword fs:[0]
push eax
mov eax, 0x19010
call fcn.100759e0
mov eax, dword [0x100de514]
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 dword [ebp - 0x19018], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x19014], esi
mov edi, dword [eax]
cmp dword [edi - 0xc], 0
jne 0x1003a78c
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a916
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov eax, 0x100b6050
mov dword [ebp - 4], 0
mov ecx, esi
test eax, 0xffff0000
jne 0x1003a77b
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003a8f6
push 0
push 0x100b6050
call fcn.10017410
jmp 0x1003a8f6
push 0x19000
lea eax, [ebp - 0x19010]
push 0
push eax
call fcn.100805f0
mov eax, dword [ebp - 0x19018]
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x19010]
push 0xc800
push eax
push 0x100b6050
push dword [ebx]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x19010]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a7d0
sub ecx, edx
sar ecx, 1
jne 0x1003a84a
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a920
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x19010]
mov dword [ebp - 4], 1
test eax, 0xffff0000
jne 0x1003a81e
movzx eax, ax
mov ecx, esi
push eax
call fcn.1000baf0
jmp 0x1003a8f6
lea ecx, [ebp - 0x19010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a827
sub ecx, edx
lea eax, [ebp - 0x19010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10017410
jmp 0x1003a8f6
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003a92a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x19014], eax
lea eax, [ebp - 0x19010]
mov dword [ebp - 4], 2
test eax, 0xffff0000
jne 0x1003a88c
movzx eax, ax
lea ecx, [ebp - 0x19014]
push eax
call fcn.1000baf0
jmp 0x1003a8b7
lea ecx, [ebp - 0x19010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a895
sub ecx, edx
lea eax, [ebp - 0x19010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x19014]
call fcn.10017410
mov ecx, dword [ebp - 0x19018]
lea eax, [ebp - 0x19014]
push eax
push esi
mov dword [ebp - 4], 3
call fcn.10039230
mov edx, dword [ebp - 0x19014]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a8f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1007590b
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3
Function at 0x1003b260
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100adbce
mov eax, dword fs:[0]
push eax
mov eax, 0x5014
call fcn.100759e0
mov eax, dword [0x100de514]
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
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x5010]
push 0x5000
push 0
mov dword [ebp - 0x5020], edi
push eax
mov dword [ebp - 0x501c], 0
call fcn.100805f0
add esp, 0xc
lea eax, [ebp - 0x5010]
push dword [esi]
push 0x2800
push eax
push 0x100b6050
push str.key_core
push str.Benchmark
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x501c], 1
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b43f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5018], eax
mov eax, 0x100b9ca4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5018]
test eax, 0xffff0000
jne 0x1003b345
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x1003b351
push 1
push 0x100b9ca4
call fcn.10017410
mov dword [ebp - 4], 2
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x1003b449
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5014], eax
lea eax, [ebp - 0x5010]
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x1003b397
movzx eax, ax
lea ecx, [ebp - 0x5014]
push eax
call fcn.1000baf0
jmp 0x1003b3c2
lea ecx, [ebp - 0x5010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b3a0
sub ecx, edx
lea eax, [ebp - 0x5010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x5014]
call fcn.10017410
push edi
lea eax, [ebp - 0x5018]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x5014]
push eax
call fcn.10052750
mov edx, dword [ebp - 0x5014]
or esi, 0xffffffff
add esp, 0xc
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003b401
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5018]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1003b420
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.1007590b
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
int3