joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9850
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x573a79
push eax
mov dword fs:[0], esp
sub esp, 0xec
lea eax, [esp]
push esi
push eax
mov esi, ecx
mov ecx, dword [esp + 0x104]
push 0x20019
push 0
push str.IndexFiles
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c9ab2
mov eax, dword [esp + 4]
push ebx
push edi
lea edx, [esi + 0xc]
push 4
push edx
push str.AutoLoadIndex
push eax
call fcn.004c5a40
mov edx, dword [esp + 0x1c]
lea ecx, [esi + 8]
push 4
push ecx
push str.MaxIndexSize
push edx
call fcn.004c5a40
mov edx, dword [esp + 0x2c]
add esp, 0x20
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push str.IndexMasks
push edx
call ebx
test eax, eax
jne 0x4c99b3
mov eax, dword [esp + 0x10]
push eax
call fcn.00531c00
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x10]
push edx
push edi
push str.IndexMasks
push eax
mov dword [esp + 0x28], ecx
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4c99aa
test edi, edi
je 0x4c99aa
mov ecx, dword [esp + 0x14]
push eax
push ecx
push edi
lea ecx, [esp + 0x54]
call fcn.0053ecfc
push 0
push 0x1000
lea edx, [esp + 0x50]
push 1
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x110], 0
call fcn.005369bd
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x10]
lea edx, [esp + 0x70]
mov byte [esp + 0x100], 1
push edx
call dword [eax + 8]
lea ecx, [esp + 0x70]
call fcn.00536b21
lea ecx, [esp + 0x48]
call fcn.0053ef5c
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 0
call fcn.00536a99
lea ecx, [esp + 0x48]
mov dword [esp + 0x100], 0xffffffff
call fcn.0053ed75
push edi
call fcn.00531c29
add esp, 4
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push str.IndexNotMasks
push edx
call ebx
test eax, eax
jne 0x4c9aa5
mov eax, dword [esp + 0x10]
push eax
call fcn.00531c00
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x10]
push edx
push edi
push str.IndexNotMasks
push eax
mov dword [esp + 0x2c], ecx
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4c9a9c
test edi, edi
je 0x4c9a9c
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.0053ecfc
push 0
push 0x1000
lea edx, [esp + 0x28]
mov ebx, 2
push 1
push edx
lea ecx, [esp + 0xc4]
mov dword [esp + 0x110], ebx
call fcn.005369bd
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x24]
lea edx, [esp + 0xb4]
mov byte [esp + 0x100], 3
push edx
call dword [eax + 8]
lea ecx, [esp + 0xb4]
call fcn.00536b21
lea ecx, [esp + 0x20]
call fcn.0053ef5c
lea ecx, [esp + 0xb4]
mov byte [esp + 0x100], bl
call fcn.00536a99
lea ecx, [esp + 0x20]
mov dword [esp + 0x100], 0xffffffff
call fcn.0053ed75
push edi
call fcn.00531c29
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [esp + 0xf0]
pop esi
mov dword fs:[0], ecx
add esp, 0xf8
ret 4
Function at 0x4ca6d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x573b20
push eax
mov dword fs:[0], esp
sub esp, 0x7c
lea eax, [esp]
push esi
push eax
mov esi, ecx
mov ecx, dword [esp + 0x94]
push 0x20019
push 0
push str.SmartKeepAlive
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ca8b2
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.CommandsInfo
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4ca7f9
mov edx, dword [esp + 8]
push edi
push edx
call fcn.00531c00
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x10]
push ecx
push edi
push str.CommandsInfo
push edx
mov dword [esp + 0x24], eax
call fcn.004c5b40
add esp, 0x14
test eax, eax
jne 0x4ca7ef
test edi, edi
je 0x4ca7ef
push eax
mov eax, dword [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x24]
call fcn.0053ecfc
push 0
push 0x1000
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.005369bd
mov edx, dword [esi + 0x28]
lea ecx, [esi + 0x28]
lea eax, [esp + 0x40]
mov byte [esp + 0x8c], 1
push eax
call dword [edx + 8]
lea ecx, [esp + 0x40]
call fcn.00536b21
lea ecx, [esp + 0x18]
call fcn.0053ef5c
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.00536a99
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0053ed75
push edi
call fcn.00531c29
add esp, 4
pop edi
mov edx, dword [esp + 4]
lea ecx, [esi + 0x1c]
push 4
push ecx
push str.EnableAutoReconnect
push edx
call fcn.004c5a40
mov ecx, dword [esp + 0x14]
lea eax, [esi + 8]
push 4
push eax
push str.KeepAlive
push ecx
call fcn.004c5a40
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x24]
push 4
push edx
push str.NewIP
push eax
call fcn.004c5a40
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x20]
push 4
push ecx
push str.DelayTime
push edx
call fcn.004c5a40
mov ecx, dword [esp + 0x44]
add esp, 0x40
lea eax, [esi + 0x14]
push 4
push eax
push str.LeftTimeSend
push ecx
call fcn.004c5a40
mov eax, dword [esp + 0x14]
lea edx, [esi + 0x10]
push 4
push edx
push str.MaintainTime
push eax
call fcn.004c5a40
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x18]
push 4
push ecx
push str.RightTimeSend
push edx
call fcn.004c5a40
mov eax, dword [esp + 0x34]
add esi, 0xc
push 4
push esi
push str.StartTime
push eax
call fcn.004c5a40
mov ecx, dword [esp + 0x44]
add esp, 0x40
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x80]
pop esi
mov dword fs:[0], ecx
add esp, 0x88
ret 4
Function at 0x4cbc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
lea eax, [esp + 8]
push edi
xor ebx, ebx
push eax
mov edi, ecx
mov ecx, dword [esp + 0x34]
push 0x20019
push ebx
push str.Sounds
push ecx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, edi
mov esi, eax
call fcn.004cba50
cmp esi, ebx
jne 0x4cbdc9
mov eax, dword [esp + 0xc]
lea edx, [edi + 8]
push 4
push edx
push str.UseSounds
push eax
call fcn.004c5a40
mov eax, dword [0x5d2d10]
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov bl, 2
mov esi, 0x5cf948
mov byte [esp + 0x28], bl
mov ecx, dword [esi]
lea edx, [esp + 0x30]
push ecx
push str.SoundID_
push 0x5c4c04
push edx
call fcn.00528823
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
call fcn.004c5ab0
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push eax
push str.EventID_
push 0x5c4c04
push ecx
call fcn.00528823
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.004c5ab0
add esp, 0x38
test eax, eax
push ecx
mov ecx, esp
jne 0x4cbd20
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], esp
push edx
call fcn.00530904
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.00530904
mov ecx, dword [esi]
push ecx
jmp 0x4cbd47
mov dword [esp + 0x20], esp
push 0x5d7b88
call fcn.00530bfd
push ecx
mov byte [esp + 0x30], 4
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5d7b88
call fcn.00530bfd
mov edx, dword [esi]
push edx
mov ecx, edi
mov byte [esp + 0x34], bl
call fcn.004cbe30
push 0x5d7b88
lea ecx, [esp + 0x34]
call fcn.00530d18
push 0x5d7b88
lea ecx, [esp + 0x14]
call fcn.00530d18
add esi, 4
cmp esi, 0x5cf97c
jl 0x4cbc97
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00530b8f
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 4
mov esi, 0x5cf948
mov ebx, 5
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5d7b88
call fcn.00530bfd
push ecx
mov dword [esp + 0x30], ebx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5d7b88
call fcn.00530bfd
mov ecx, dword [esi]
mov dword [esp + 0x30], 0xffffffff
push ecx
mov ecx, edi
call fcn.004cbe30
add esi, 4
cmp esi, 0x5cf97c
jl 0x4cbdd3
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x4cc1c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x573cef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0x10], 0
mov eax, dword [0x5d2d10]
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], eax
push 0x105
push 0x105
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00530fbf
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0053100e
push 0x5c
lea ecx, [esp + 0xc]
call fcn.005288d2
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00530904
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 3
call fcn.005289c8
push 0x5c4800
lea ecx, [esp + 0x10]
call fcn.00530f6b
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
call fcn.00530fa7
mov eax, dword [esp + 0xc]
push eax
call fcn.0049e1f0
add esp, 4
test eax, eax
je 0x4cc28a
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00530904
mov dword [esp + 0x10], ebx
jmp 0x4cc2ba
push str._system32_
lea ecx, [esp + 0xc]
call fcn.00530f6b
lea edx, [esp + 0x28]
lea ecx, [esp + 8]
push edx
call fcn.00530fa7
mov esi, dword [esp + 0x24]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00530904
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00530b8f
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call fcn.00530b8f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.00530b8f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4cd230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573e22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5d2d10]
push ebx
xor ebx, ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push str.Socks
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4cd2a2
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00530b8f
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
mov ecx, dword [esp + 8]
push esi
push edi
lea eax, [ebp + 0x1c]
push 4
push eax
push str.CurIndex
push ecx
call fcn.004c5a40
lea edx, [ebp + 0x20]
mov esi, eax
mov eax, dword [esp + 0x20]
push 4
push edx
push 0x5d0838
push eax
call fcn.004c5a40
add esp, 0x20
cmp esi, ebx
jne 0x4cd365
xor edi, edi
push edi
lea ecx, [esp + 0x18]
push str.SocksInfo_d
push ecx
call fcn.00528823
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
push edx
push 0x20019
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4cd365
push 0x1c
call fcn.00531c00
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x24], 1
je 0x4cd335
mov ecx, eax
call fcn.004bcfb0
mov esi, eax
jmp 0x4cd337
xor esi, esi
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
mov byte [esp + 0x28], bl
call fcn.004bd360
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push esi
push eax
call fcn.0052c170
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
jmp 0x4cd2dd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4cfaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push edi
mov ebp, ecx
lea edi, [ebp + 0x55c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ebx
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push edx
push SysReAllocStringLen
mov byte [esp + 0x40], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x4cfb13
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x1c], bl
call dword [eax + 0x14]
jmp 0x4cfb97
push esi
mov esi, dword [esp + 0x28]
cmp esi, 0xffffffff
je 0x4cfb21
cmp esi, ebx
jne 0x4cfb31
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [ebp + 0x2e0]
call fcn.004cc670
cmp esi, 0xffffffff
je 0x4cfb3b
cmp esi, 1
jne 0x4cfb4b
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x29c]
push edx
call fcn.004cd580
cmp esi, 0xffffffff
je 0x4cfb55
cmp esi, 2
jne 0x4cfb65
mov eax, dword [esp + 0x10]
lea ecx, [ebp + 0xac]
push eax
call fcn.004c8a10
cmp esi, 0xffffffff
je 0x4cfb6f
cmp esi, 3
jne 0x4cfb7c
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [ebp + 4]
call fcn.004c7ed0
mov eax, dword [esp + 0x10]
pop esi
cmp eax, ebx
je 0x4cfb8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x1c], bl
call dword [edx + 0x14]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4cfbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x574420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push edi
mov ebp, ecx
lea edi, [ebp + 0x55c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edi
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push ebx
push edx
push SysReAllocStringLen
mov byte [esp + 0x30], 1
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4cfc2f
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x1c], bl
call dword [eax + 0x14]
jmp 0x4cfcb3
push esi
mov esi, dword [esp + 0x28]
cmp esi, 0xffffffff
je 0x4cfc3d
cmp esi, ebx
jne 0x4cfc4d
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [ebp + 0x2e0]
call fcn.004cc8c0
cmp esi, 0xffffffff
je 0x4cfc57
cmp esi, 1
jne 0x4cfc67
mov edx, dword [esp + 0x10]
lea ecx, [ebp + 0x29c]
push edx
call fcn.004cd780
cmp esi, 0xffffffff
je 0x4cfc71
cmp esi, 2
jne 0x4cfc81
mov eax, dword [esp + 0x10]
lea ecx, [ebp + 0xac]
push eax
call fcn.004c8b00
cmp esi, 0xffffffff
je 0x4cfc8b
cmp esi, 3
jne 0x4cfc98
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [ebp + 4]
call fcn.004c8010
mov eax, dword [esp + 0x10]
pop esi
cmp eax, ebx
je 0x4cfca8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x1c], bl
call dword [edx + 0x14]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4dbd49
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x575508
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov ebx, 1
mov eax, dword [esi + 0x188]
lea edi, [esi + 0x188]
push eax
call fcn.0049e1f0
add esp, 4
test eax, eax
jne 0x4dbe47
mov eax, dword [edi]
push eax
mov eax, dword [0x66d6b8]
lea ecx, [eax + 0x488]
call fcn.004cbee0
test eax, eax
jne 0x4dbe47
mov eax, dword [edi]
push 0x5d7b88
push eax
call fcn.00514e99
add esp, 8
test eax, eax
je 0x4dbe47
push ebp
lea ecx, [esp + 0x14]
push 0xf2be
push ecx
call fcn.004ef2a0
mov ebp, dword [eax]
lea edx, [esp + 0x18]
xor ebx, ebx
push 0xf2bf
push edx
mov dword [esp + 0x34], ebx
call fcn.004ef2a0
add esp, 0x10
mov eax, dword [eax]
push 0x10
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0052f220
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.00530b8f
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.00530b8f
lea eax, [esp + 0x18]
push 0xf2c0
push eax
call fcn.004ef2a0
add esp, 8
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.00530cc8
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebp
call fcn.00530b8f
push ebx
mov ecx, esi
call fcn.0052fe97
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4e0fb0
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x575dd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x1ac]
mov dword [esp + 0x2c], 3
call fcn.00530b8f
lea ecx, [edi + 0x170]
mov byte [esp + 0x2c], 2
call fcn.0052a15e
lea ecx, [edi + 0x134]
mov byte [esp + 0x2c], 1
call fcn.0052a15e
lea esi, [edi + 0xb8]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x70]
mov byte [esp + 0x2c], 9
call fcn.00530b8f
mov eax, dword [esi + 0x68]
lea ebp, [esi + 0x64]
push eax
mov byte [esp + 0x30], 8
mov ecx, dword [eax]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0042a920
mov eax, dword [ebp + 4]
push eax
call fcn.00531c29
xor ebx, ebx
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov eax, dword [esi + 0x5c]
lea ebp, [esi + 0x58]
push eax
mov byte [esp + 0x30], 7
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0042a870
mov eax, dword [ebp + 4]
push eax
call fcn.00531c29
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov edx, dword [esi + 0x50]
lea ebp, [esi + 0x4c]
add esp, 4
lea eax, [esp + 0x1c]
mov ecx, ebp
mov byte [esp + 0x2c], 6
push eax
mov dword [esp + 0x14], edx
call fcn.004e2010
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.0042a870
mov eax, dword [ebp + 4]
push eax
call fcn.00531c29
lea ecx, [esi + 0x44]
add esp, 4
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov byte [esp + 0x2c], 5
mov dword [ecx], vtable.CFont.0
call fcn.0040c7e0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x2c], 4
call fcn.0040c7e0
mov ecx, esi
mov byte [esp + 0x2c], bl
call fcn.00544c4b
lea ecx, [edi + 0x5c]
mov dword [esp + 0x2c], 0xa
call fcn.0052ab27
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005327a5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4ef9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57734f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [esp], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
push esi
jge 0x4efa29
mov esi, dword [esp + 0x18]
push 0x5c5994
mov ecx, esi
call fcn.00530bfd
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [0x5d2d10]
push ebp
mov dword [esp + 0x20], eax
mov eax, 0x91a2b3c5
mov ebp, 0x3c
imul ecx
add edx, ecx
mov dword [esp + 0x14], 1
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov esi, edx
mov ecx, 0x3c
cdq
idiv ecx
mov ecx, edx
cdq
idiv ebp
push ecx
push edx
push esi
lea edx, [esp + 0x2c]
push str._d:_02d:_02d
push edx
call fcn.00528823
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00530904
lea ecx, [esp + 0x20]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
call fcn.00530b8f
mov ecx, dword [esp + 0xc]
pop ebp
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f2ae0
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x577a0d
push eax
mov dword fs:[0], esp
sub esp, 0x268
push esi
push edi
mov edi, dword [esp + 0x280]
xor esi, esi
cmp dword [edi], 0
jne 0x4f2bca
push 8
call fcn.00531c00
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x278], esi
je 0x4f2b31
mov ecx, eax
call fcn.0052a92b
jmp 0x4f2b33
xor eax, eax
test eax, eax
mov dword [esp + 0x278], 0xffffffff
mov dword [edi], eax
je 0x4f2bca
mov ecx, dword [esp + 0x284]
mov eax, 0x4010
test ecx, ecx
je 0x4f2b5d
mov eax, 0x4011
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
lea eax, [esp + 0x10]
push 0x160
push eax
push 0x80
push 0x5c68bc
call esi
mov ecx, dword [edi]
push eax
call fcn.0052aa4a
cmp dword [0x5d213c], 0xffffffff
jne 0x4f2bc3
lea ecx, [esp + 0x16c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4000
lea edx, [esp + 0x10]
push 0x160
push edx
lea eax, [esp + 0x178]
push 0
push eax
call esi
mov ecx, dword [esp + 0x10]
mov dword [0x5d213c], ecx
mov eax, 1
jmp 0x4f2bcc
mov eax, esi
mov ecx, dword [esp + 0x270]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x274
ret 8

Function at 0x4f2ce0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push 0x66e6d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x16c]
mov eax, 0x4010
test ecx, ecx
je 0x4f2d06
mov eax, 0x4011
mov ecx, dword [esp + 0x168]
test ecx, ecx
je 0x4f2d13
or al, 2
mov ecx, dword [esp + 0x164]
push eax
lea eax, [esp + 4]
push 0x160
mov edx, dword [ecx]
push eax
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x66e6d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 4]
add esp, 0x160
ret 0xc
Function at 0x4f8d30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5782a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov esi, ecx
push str.Settings
lea ecx, [esp + 0x10]
call fcn.00530bfd
push str.Settings
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.00530bfd
lea ecx, [esp + 8]
push 1
push ecx
mov ecx, eax
mov byte [esp + 0x30], 1
call fcn.005282a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.00530b8f
push str.DisplayToolBarsButtonInfo
lea ecx, [esp + 0x10]
call fcn.00530f6b
push str.DisplayStateOfToolBarsToolBar
lea ecx, [esp + 0xc]
call fcn.00530f6b
mov eax, dword [esi + 0x24]
neg eax
sbb eax, eax
test eax, eax
mov dword [esp + 0x10], eax
je 0x4f8e18
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.004f8cc0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004f8ae0
mov edi, eax
test edi, edi
je 0x4f8e10
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.004f8b50
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x30], 4
call dword [edx + 0xe4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call fcn.00530b8f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4f8dbc
mov eax, dword [esi + 0xc]
xor edi, edi
test eax, eax
jle 0x4f8e41
mov ecx, dword [esi + 8]
mov eax, dword [ecx + edi*4]
push eax
call fcn.0052da16
mov edx, dword [esp + 8]
mov ecx, eax
push edx
call fcn.0053e7e0
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x4f8e21
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret