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

Disassembly:
push 0xffffffffffffffff
push 0x87d5a9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [esp + 0x30]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
cmp ebx, dword [edi + 0xc]
jb 0x642d86
push 0x80070057
call fcn.004a8210
mov eax, dword [edi + 8]
mov esi, ebx
imul esi, esi, 0x34
mov al, byte [eax + esi + 4]
push ebx
mov byte [esp + 0x34], al
call fcn.00642980
mov ebp, eax
cmp ebx, dword [edi + 0xc]
jb 0x642dad
push 0x80070057
call fcn.004a8210
mov eax, dword [edi + 8]
mov eax, dword [eax + esi]
sub eax, 0x10
push eax
call fcn.004a9b50
mov esi, dword [esp + 0x30]
add eax, 0x10
add esp, 4
mov dword [esi], eax
cmp byte [esp + 0x30], 0
mov ebx, 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ebx
je 0x642e37
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.004a9b50
lea ecx, [esp + 0x24]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00639490
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x28], ebx
call fcn.004aa540
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x642e37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x34], 0
jne 0x642ea0
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
push ebp
push ecx
push ecx
sub eax, 0x10
mov dword [esp + 0x40], esp
mov edi, esp
push eax
call fcn.004a9b50
lea edx, [esp + 0x44]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.00637390
add esp, 0x10
push eax
mov ecx, esi
mov dword [esp + 0x28], 2
call fcn.004aa540
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x642ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x645060
Capabilities:
Get common file path
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x87d883
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x438]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x448]
lea eax, [esp + 0x22c]
push eax
xor esi, esi
push 0x104
mov dword [esp + 0x448], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x6450fb
mov eax, dword [esp + 0x454]
add eax, 0xfffffff0
mov dword [esp + 0x440], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x6450f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x64521c
lea ecx, [esp + 0x24]
push ecx
push esi
push 0x442afc
lea edx, [esp + 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x6450c6
push 0x41bc10
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], esi
call fcn.008096ec
add esp, 0xc
test eax, eax
jne 0x6450c6
mov ebp, dword [esp + 0x44c]
lea edi, [ebp - 0x400]
test edi, edi
js 0x64516a
mov ecx, dword [esp + 0x14]
push ecx
push 1
lea edx, [ebx + esi]
push 0x400
push edx
call fcn.0080a14c
add esi, 0x400
add esp, 0x10
cmp esi, edi
jle 0x645148
cmp ebp, esi
jle 0x645183
mov eax, dword [esp + 0x14]
push eax
push 1
sub ebp, esi
push ebp
add ebx, esi
push ebx
call fcn.0080a14c
add esp, 0x10
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00809a22
mov eax, dword [esp + 0x458]
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.004a9b50
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov edx, dword [esp + 0x454]
push edx
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x450], 1
call fcn.004a8f10
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x44c], 0
call fcn.00644d50
lea ecx, [esp + 0x24]
push ecx
mov bl, al
call fcn.00809313
mov eax, dword [esp + 0x458]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x440], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x64521a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0080262b
add esp, 0x430
ret 0x10
Function at 0x64ae90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x87df3c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push ecx
add eax, 0xfffffff0
xor edi, edi
mov dword [esp + 0x44], esp
mov ebx, esp
push eax
mov dword [esp + 0x30], edi
call fcn.004a9b50
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
add esp, 4
push eax
mov ecx, esi
call fcn.00648450
fld qword [esp + 0x38]
mov ecx, dword [esp + 0x48]
fstp qword [esi + 0x178]
fld qword [esp + 0x40]
mov dword [esi], 0x442ba0
fstp qword [esi + 0x180]
mov dword [esi + 0x188], ecx
mov dword [esi + 0x18c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1a8], edi
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.0064a260
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x64af7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x28
Function at 0x655060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x87e812
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0xb0]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.0066f4d0
lea ecx, [esi + 0x18]
call fcn.006539e0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x20], ebx
mov dword [esi], 0x442b64
call fcn.0085eb00
mov byte [esp + 0x1c], 1
mov dword [esi], 0x44324c
mov dword [esi + 4], 0x443238
mov dword [esi + 0x10], 0x443204
call fcn.007cff5d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x6550f5
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x110], eax
push 0x100000
lea ecx, [esi + 0x114]
mov byte [esp + 0x20], 2
call fcn.007f0cad
push 0x6545e0
push 0x654580
push 0x20
push 0x1c
lea ecx, [esi + 0x144]
push ecx
mov byte [esp + 0x30], 3
call fcn.00803c4e
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x6685e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x87fd0b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea esi, [ecx + 4]
mov dword [ecx], 0x445324
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], 0
lea edi, [esi + 0x64]
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 2
call fcn.0063fa70
mov edi, dword [edi + 4]
push edi
call fcn.007c8563
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 0
call fcn.006405a0
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.006405a0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x671f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x880343
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 1
call fcn.006732e0
xor ebx, ebx
mov dword [esi], 0x445514
mov dword [esi + 8], 0xffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 0xa
mov byte [esp + 0x20], 1
lea edi, [esi + 0x38]
mov ebp, 0xff
push 0x500
lea eax, [edi + 3]
push ebx
push eax
mov word [edi], bx
mov byte [edi + 2], bl
call fcn.00802690
add esp, 0xc
add edi, 0x503
dec ebp
jns 0x671f87
push 0x672920
push fcn.006728a0
push 0x40
push 0x4a8
lea ecx, [esi + 0x50338]
push ecx
call fcn.00803c4e
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x678150
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x88075e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x2c]
push ebp
lea ecx, [eax + 0x74]
push ecx
push eax
xor ebx, ebx
push ebx
mov ecx, esi
call fcn.005d9270
mov dword [esi + 0xdc], 0x445718
push ebp
lea edi, [esi + 0xe0]
push ebx
push ebx
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x4459ac
mov dword [esi + 0xc], 0x44595c
mov dword [esi + 0x10], 0x445944
mov dword [esi + 0x98], 0x44591c
mov dword [esi + 0xd8], 0x4458fc
mov dword [esi + 0xdc], 0x4458e8
mov dword [esp + 0x3c], edi
call fcn.005d93b0
lea ecx, [edi + 0x68]
mov byte [esp + 0x20], 1
mov dword [edi], 0x4456fc
mov dword [edi + 0xc], 0x4456cc
mov dword [edi + 0x64], esi
call fcn.005d9aa0
mov byte [edi + 0xb0], bl
push ebx
push 1
lea ecx, [esi + 0x1a0]
mov byte [esp + 0x28], 2
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
call fcn.005d9e00
lea edx, [esi + 0x1ac]
push edx
mov byte [esi + 0x1a4], bl
mov dword [esi + 0x1a8], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esi + 0x25], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x6e0950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp], edx
call fcn.006dfaf0
test eax, eax
mov dword [esp + 0x38], eax
je 0x6e0ae7
mov ebx, eax
movzx eax, byte [eax + 7]
test al, 8
jne 0x6e0ae7
test al, 0x42
jne 0x6e0a78
movzx ecx, byte [ebx + 4]
xor eax, eax
mov dword [esp + 0x24], 0
test ecx, ecx
je 0x6e0ae7
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
movzx ebx, byte [esi + eax*2 + 8]
and ebx, 3
add ebx, 1
cmp edx, ebx
cmovl edx, ebx
add eax, 1
cmp eax, ecx
jl 0x6e09d3
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x2c]
xor ebx, ebx
mov esi, dword [esp + 0x3c]
neg edx
mov dword [esp + 0x3c], edx
jmp 0x6e0a3a
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [edi + ebx*4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + ebx*4]
mov dword [esp + 8], eax
mov eax, dword [edx + ebx*4]
mov dword [esp + 4], eax
mov eax, dword [esi + ebx*4]
add ebx, 1
mov dword [esp], eax
call fcn.006e08e0
cmp ebx, dword [esp + 0x24]
je 0x6e0ae7
mov edx, dword [esp + 0x30]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.006e0250
test eax, eax
js 0x6e0af0
lea ecx, [ebx - 1]
mov edx, dword [esp + 0x2c]
cmp ecx, 1
ja 0x6e0a00
mov edx, dword [esp + 0x38]
movzx ecx, byte [edx + 6]
mov edx, dword [esp + 0x3c]
sar edx, cl
neg edx
jmp 0x6e0a00
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.006e08e0
mov edi, dword [esi + 4]
mov eax, 0x400
mov esi, dword [ebp + 4]
test edi, 1
jne 0x6e0b14
test edi, 2
jne 0x6e0b26
mov ecx, eax
xor edx, edx
shr ecx, 2
test al, 2
rep movsd dword es:[edi], dword [esi]
je 0x6e0adc
movzx edx, word [esi]
mov word [edi], dx
mov edx, 2
test al, 1
je 0x6e0ae7
movzx eax, byte [esi + edx]
mov byte [edi + edx], al
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x68], 0x451ae3
mov dword [esp + 0x64], 0x10
mov dword [esp + 0x60], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.006811d0
movzx eax, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov eax, 0x3ff
jmp 0x6e0abc
movzx edx, word [esi]
sub eax, 2
add esi, 2
mov word [edi], dx
add edi, 2
jmp 0x6e0ac4
Function at 0x7be796
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [0x8cc774]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7be829
push esi
lea eax, [ebp - 8]
push eax
mov esi, 0xa5b5b8
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7be81f
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0xa5b5b0], eax
je 0x7be81f
push 0x474444
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0xa5b5b4], eax
je 0x7be81a
push 5
call eax
test eax, eax
setne bl
mov dword [0xa6f300], eax
test ebx, ebx
jne 0x7be81f
call fcn.007be774
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x7bf580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x881328
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x14], 0
mov dword [esi + 4], 0
call fcn.004a9b50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x20], eax
xor eax, eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7bf643
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x28
Function at 0x7c4aa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x881860
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
add eax, 0xb
mov dword [esp + 0x2c], ecx
add ecx, 0xb
cmp dword [edi], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x7c4b0f
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call ebp
push eax
push 0x10
call ebp
push eax
lea eax, [esp + 0x30]
push eax
jmp 0x7c4b2a
cmp dword [edi + 4], 0
je 0x7c4b31
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call ebp
push eax
push 0x14
call ebp
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.007df4bc
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebp, dword [esi]
push 0x12
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp + 0x30]
mov ecx, esi
call eax
push 1
mov ecx, esi
call fcn.007d24c7
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x4022a8
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x4c], 0
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
push 0x402394
push eax
lea ecx, [esp + 0x1c]
call fcn.007df4ea
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
push 0x43fb50
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.004a8f10
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov edi, dword [eax - 0xc]
mov ebp, dword [esi]
push edi
push eax
mov eax, dword [ebp + 0x5c]
add ecx, 2
push ecx
add edx, 2
push edx
mov ecx, esi
mov byte [esp + 0x54], 1
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x7c4c06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.007d24c7
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x10], 0x4022a8
call fcn.004aa6a0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0080262b
add esp, 0x38
ret 4
Function at 0x7c4e80
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x20]
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7c4ef8
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x7c4ef8
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, esi
mov dword [esp + 0x14], 0xffffff37
call fcn.007d4136
lea edx, [esp + 0xc]
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x7c4eef
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x7c79a0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push 0x4754b4
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x14], eax
test eax, eax
je 0x7c7a06
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4754a4
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push 0x475494
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0x475484
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push 0x475464
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push 0x475450
push eax
call edi
mov dword [esi + 0x10], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x7cfda6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x7cfded
call fcn.007c9a2f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x7cfded
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x7cfe09
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.007cf8a6
mov esi, eax
test edi, edi
je 0x7cfe07
test ebx, ebx
je 0x7cfe07
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7d1d75
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.007c9a2f
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x7d1da2
xor eax, eax
jmp 0x7d1e49
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x7d1d9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x7d1d9b
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.007c8529
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x7d1dfa
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x7d1de8
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.007d0a02
push edi
mov ebx, eax
call fcn.007c8563
pop ecx
test ebx, ebx
je 0x7d1e3c
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.007d105d
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.007d1111
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4