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

Disassembly:
push 0xffffffffffffffff
push 0x467f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00429ef0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x42c349
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00427350
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00427340
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0042b9a0
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x4c]
call fcn.004618a0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0043b040
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00429950
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, ebx
call fcn.004272c0
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x42c414
push edi
mov ecx, esi
call fcn.00429a60
push eax
push ebp
mov ecx, esi
call fcn.00429c20
cmp eax, dword [esp + 0x40]
jg 0x42c410
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x42c3ee
mov eax, ebx
jmp 0x42c41a
cmp edi, ebx
jl 0x42c418
mov eax, ebx
jmp 0x42c41a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x42c42b
mov dword [esp + 0x30], eax
jmp 0x42c436
cmp edi, ebx
jl 0x42c431
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00427280
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x42c47d
push edi
mov ecx, esi
call fcn.00429980
push eax
push ebx
mov ecx, esi
call fcn.00429d50
cmp eax, dword [esp + 0x44]
jg 0x42c475
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x42c44f
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42c487
cmp edi, ebp
jl 0x42c481
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x42c487
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x42c490
mov ecx, eax
jmp 0x42c499
cmp edi, ebp
jl 0x42c496
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00429970
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00461912
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x42f5f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468198
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00429ef0
test eax, eax
je 0x42f6f8
lea ecx, [esp + 0xc]
call fcn.00402600
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00429ef0
mov ecx, eax
call fcn.004276b0
test eax, eax
je 0x42f6df
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42f6df
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42f6df
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00402800
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42f6c1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42f6df
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x497cd8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x46d5e8
call fcn.00402800
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x42f740
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00429ef0
test eax, eax
je 0x42f82f
mov ecx, edi
call fcn.00429ef0
mov ecx, eax
call fcn.00427560
test eax, eax
jne 0x42f82f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42f82f
mov eax, dword [0x497cd8]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x42f7a2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00429ef0
mov ecx, eax
call fcn.00427790
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x42f82f
cmp ebx, eax
jne 0x42f82f
cmp dword [esp + 0x10], eax
jne 0x42f815
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x432460
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468428
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 0x432499
inc eax
mov dword [esi + 0x10], eax
jmp 0x4325ac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4324ad
mov eax, 0xffffffc7
jmp 0x4325ae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4324be
cmp dword [esi + 8], eax
jne 0x4324ad
cmp dword [esi + 8], eax
jne 0x4324d7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4324d7
mov eax, 0xffffffc7
jmp 0x4325ae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4324eb
push eax
mov ecx, ebx
call fcn.00431c90
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.00402600
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43251c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402620
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431400
test eax, eax
mov dword [esp + 0x38], eax
je 0x43254f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d5e8
call fcn.00402800
mov eax, dword [esp + 0x38]
jmp 0x4325ae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004322c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432593
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004322e0
mov esi, eax
test esi, esi
jne 0x4325c3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004322c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432565
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d5e8
call fcn.00402800
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], 0x46d5e8
call fcn.00402800
mov eax, esi
jmp 0x4325ae

Function at 0x4356f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435750
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435750
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435750
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435750
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 0x435790
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 0x43b6a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468a58
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.004618a0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b040
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.004617ce
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.0045e092
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.0045e092
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e03a
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e03a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00461912
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468a78
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.004618a0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b040
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.004617ce
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 0x43b8e4
cmp dword [esp + 0x40], 1
jne 0x43b8e2
cmp ecx, eax
jge 0x43b8e4
mov eax, ecx
cmp eax, 0xc8
jge 0x43b8f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b6a0
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.00461912
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x468ae3
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.0045c4b2
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.00461b48
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463064
test eax, eax
je 0x43c18c
mov ecx, dword [esp + 0x3c]
call fcn.00461b75
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 0x43c150
push edi
mov ecx, esi
call fcn.0045f1d9
mov ecx, esi
call fcn.0043c2f0
cmp dword [esp + 0x38], 1
jne 0x43c185
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.0045f314
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 0x43ebb0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ebe3
push esi
call fcn.00441ca0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ebdc
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 0x43ec69
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ec52
mov eax, dword [esi + 8]
test eax, eax
je 0x43ec07
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 0x43ec4e
cmp eax, 2
je 0x43ec52
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ebfa
cmp eax, 3
je 0x43ec2d
cmp eax, 1
jne 0x43ebfa
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 0x43ebfa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ebfa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ec90
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ec78
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ec90
add esp, 4
pop esi
ret

Function at 0x45d2a8
Capabilities:
Get graphical window text

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

Function at 0x45e996
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 0x45e9d8
call fcn.0046444f
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 0x45e9d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45e9cf
xor eax, eax
jmp 0x45e9e0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045e9e6
pop edi
pop esi
pop ebx
ret 4

Function at 0x46497f
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 0x4649ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4649cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004648e5
jmp 0x4649cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4649cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004648e5
test edi, edi
mov eax, edi
jne 0x4649b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41af34
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4f9c2c
call fcn.004c13fc
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x50a230
mov dword [ebp - 4], 3
call fcn.0041af94
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.004dae12
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
call fcn.004dae12
and byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call fcn.004d58ee
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.004d5efe
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x431383
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4fb3cc
call fcn.004c13fc
sub esp, 0x6c
push ebx
xor ebx, ebx
cmp byte [0x547fe0], bl
push esi
mov esi, 0x547fd0
jne 0x431444
mov eax, dword [0x542d10]
push edi
mov byte [0x547fe0], 0x10
mov dword [ebp - 0x14], eax
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x33]
mov byte [ebp - 0x34], bl
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x78]
stosb byte es:[edi], al
call fcn.00431464
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.004314a4
cmp eax, ebx
pop edi
je 0x4313e9
push eax
push 0x539254
jmp 0x431409
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push ebx
push 0x53a230
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x10]
push 0x539b1c
lea eax, [ebp - 0x34]
push eax
call fcn.004c1941
add esp, 0xc
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.004c2130
pop ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004aa040
add esp, 0xc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0043149d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004dae12
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x431454
movzx ecx, byte [0x547fe0]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4321fe
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push edi
push 0x1f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x87]
mov byte [ebp - 0x88], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x88]
mov dword [ebp - 8], ebx
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, ebx
je 0x43229d
cmp byte [ebp - 0x88], bl
je 0x43229d
push esi
lea esi, [eax - 3]
cmp esi, ebx
mov dword [ebp - 4], ebx
jl 0x432297
cmp byte [ebp + esi - 0x88], bl
lea edi, [ebp + esi - 0x88]
je 0x432261
cmp esi, ebx
jne 0x43227c
cmp esi, ebx
jne 0x43226e
lea eax, [ebp - 0x88]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x432284
dec esi
mov dword [ebp - 4], edi
jns 0x43224d
jmp 0x432297
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
pop esi
jmp 0x4322a0
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x432410
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
mov ebx, ecx
push esi
push str.ntdll.dll
and dword [ebx], 0
and dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebx], eax
je 0x432477
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ZwOpenSection
push eax
call esi
test eax, eax
mov dword [ebx + 0x14], eax
je 0x432477
push str.ZwMapViewOfSection
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x18], eax
je 0x432477
push str.ZwUnmapViewOfSection
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x1c], eax
je 0x432477
push str.RtlInitUnicodeString
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x20], eax
jne 0x43247b
xor eax, eax
jmp 0x4324d2
lea eax, [ebx + 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, str.DevicePhysicalMemory
lea edi, [ebp - 0x50]
push 0xb
lea eax, [ebp - 0x50]
pop ecx
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 8]
push eax
movsw word es:[edi], word [esi]
call dword [ebx + 0x20]
xor eax, eax
lea ecx, [ebp - 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x18
push eax
lea eax, [ebx + 4]
push 4
push eax
mov dword [ebp - 0x18], ecx
call dword [ebx + 0x14]
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4325bc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x12]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [edi + 4], 0x100000
jae 0x43261e
sgdt [ebp - 8]
sldt word [ebp - 2]
movzx eax, word [ebp - 2]
add eax, dword [ebp - 6]
push 7
pop ebx
movzx esi, byte [eax + 7]
movzx ecx, byte [eax + 4]
movzx eax, word [eax + 2]
shl esi, 8
add esi, ecx
shl esi, 0x10
add esi, eax
xor eax, eax
mov word [edi + 0xc], ax
mov dword [edi + 0xe], eax
add esi, 0x38
add esi, 8
inc ebx
test byte [esi + 5], 0x80
je 0x432625
cmp bx, 0x7ff
jbe 0x43260d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 8
push eax
push esi
call fcn.004c1810
mov ax, word [edi + 4]
or word [esi], 0xffff
mov word [esi + 2], ax
mov eax, dword [edi + 4]
shr eax, 0x10
mov byte [esi + 4], al
mov eax, dword [edi + 4]
shr eax, 0x18
add esp, 0xc
or byte [esi + 6], 0x1f
mov byte [esi + 7], al
lea eax, [ebx*8 + 7]
mov byte [esi + 5], 0xf2
push 1
mov word [edi + 0xc], ax
mov dword [edi + 0xe], esi
pop eax
jmp 0x432620