joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d16d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebx + 4]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebx + 0x60]
test eax, eax
mov dword [esp + 0x40], edx
jle 0x4d1866
push ebp
push esi
push edi
or ebp, 0xffffffff
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call fcn.004d1620
mov edi, eax
test edi, edi
je 0x4d184f
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
cmp eax, dword [ecx]
jl 0x4d17f8
mov edx, dword [esp + 0x80]
cmp eax, dword [edx]
jg 0x4d17f8
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004cef10
lea ecx, [esp + 0x34]
mov esi, eax
push ecx
mov ecx, edi
call fcn.004ceeb0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebp
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esi + 8]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x60]
push eax
mov dword [esp + 0x78], edx
call fcn.004d18b0
test eax, eax
jle 0x4d17e7
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x74], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x60]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, edi
call fcn.004cef70
fld dword [esp + 0x44]
fsub dword [esp + 0x40]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x54]
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
add edi, 0xc0
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
fadd dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov dword [edi], eax
mov dword [esp + 0x58], edx
mov dword [edi + 4], ecx
fst dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], edx
fstp dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4d1716
pop edi
pop esi
pop ebp
fld dword [esp + 0x38]
fsub dword [esp + 0x34]
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [ebx + 0x18], ecx
fstp dword [ebx + 0x14]
fld dword [esp + 0x40]
fsub dword [esp + 0x3c]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x2c], eax
fcom dword [ebx + 0x18]
fnstsw ax
test ah, 1
je 0x4d189a
fld dword [ebx + 0x18]
fsub st(1)
fstp dword [ebx + 0x30]
fstp st(0)
mov eax, 1
pop ebx
add esp, 0x68
ret 8
Function at 0x4dc940
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x62734e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004dc8c0
xor edi, edi
lea ecx, [esi + 8]
push 4
mov dword [esp + 0x18], edi
call fcn.0048dba0
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004897f0
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call fcn.0048dde0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi], 0x647230
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f2a70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
lea eax, [esp + 0xc]
push esi
push eax
push 0x1968
mov dword [esp + 0x30], 0x47ae147b
mov dword [esp + 0x34], 0x3fe47ae1
mov dword [esp + 0x38], 0x51eb851f
mov dword [esp + 0x3c], 0x3fd51eb8
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
mov dword [esp + 0x48], 0x33333333
mov dword [esp + 0x4c], 0x3fd33333
mov dword [esp + 0x50], 0x33333333
mov dword [esp + 0x54], 0x3fe33333
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3ff00000
mov dword [esp + 0x60], 0x33333333
mov dword [esp + 0x64], 0x3fc33333
mov dword [esp + 0x68], 0xeb851eb8
mov dword [esp + 0x6c], 0x3faeb851
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
call fcn.00525670
call fcn.004f2b90
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004f2730
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call fcn.00524f70
push str._lcms_internal_
push 0x646d6e64
push esi
call fcn.004eef20
push str.sRGB_built_in
push 0x646d6464
push esi
call fcn.004eef20
push str.sRGB_built_in
push 0x64657363
push esi
call fcn.004eef20
add esp, 0x3c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4f30d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4f3100
push esi
call fcn.0052d460
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4f30f9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4f3183
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4f316f
mov eax, dword [esi + 8]
test eax, eax
je 0x4f3124
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4f316b
cmp eax, 2
je 0x4f316f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f3117
cmp eax, 3
je 0x4f314a
cmp eax, 1
jne 0x4f3117
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 0x4f3117
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4f3117
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004f31b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4f31a3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004f31b0
add esp, 4
pop esi
ret
Function at 0x4f31b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xcc
je 0x4f31d8
mov eax, dword [esi + 0x180]
push esi
call dword [eax]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x180]
mov al, byte [ecx + 8]
test al, al
je 0x4f3203
mov edx, dword [esi]
push esi
mov dword [edx + 0x14], 0x30
mov eax, dword [esi]
call dword [eax]
mov ecx, dword [esi + 0x180]
add esp, 4
mov al, byte [ecx + 8]
test al, al
jne 0x4f31e5
mov cl, byte [esi + 0x41]
xor edx, edx
test cl, cl
setne dl
add edx, 0xcd
mov al, 1
mov dword [esi + 0x14], edx
pop esi
ret

Function at 0x5206c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x68]
push esi
push eax
call fcn.00520b00
mov ebx, dword [ebp + 8]
add esp, 8
cmp dword [ebx + 0x28], 4
jne 0x5206ef
mov si, word [esi + 6]
jmp 0x5206f1
xor esi, esi
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x52072a
mov dword [esp + 0x30], 0x33333333
mov dword [esp + 0x34], 0x3fd33333
mov dword [esp + 0x28], 0x33333333
mov dword [esp + 0x2c], 0x3fd33333
mov dword [esp + 0x20], 0x33333333
mov dword [esp + 0x24], 0x3fd33333
jmp 0x520738
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00520b00
add esp, 8
mov dword [esp + 0x18], 0x78b58c40
mov dword [esp + 0x1c], 0x4415af1d
xor edi, edi
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edx
push esi
push eax
push ebx
call fcn.00520890
lea ecx, [esp + 0x78]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.00524890
fcom qword [esp + 0x30]
add esp, 0x18
fnstsw ax
test ah, 1
je 0x520854
fstp qword [esp + 0x18]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00520a80
lea edx, [esp + 0x28]
push esi
lea eax, [esp + 0x8c]
push edx
push eax
push ebx
mov word [esp + 0x2e], si
call fcn.00520980
lea ecx, [esp + 0x38]
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00524cb0
fld qword [esp + 0x8c]
fsub qword [esp + 0x74]
lea ecx, [esp + 0x5c]
push ecx
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld qword [esp + 0x98]
fsub qword [esp + 0x80]
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fld qword [esp + 0xa0]
fsub qword [esp + 0x88]
fadd qword [esp + 0x70]
fstp qword [esp + 0x70]
call fcn.00524840
lea edx, [esp + 0xf0]
lea eax, [esp + 0xa8]
push edx
push eax
call fcn.00524ac0
add esp, 0x30
test eax, eax
jl 0x520856
lea ecx, [esp + 0x38]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.00524cb0
lea ecx, [esp + 0x2c]
push ecx
call fcn.00524840
add esp, 0x10
inc edi
cmp edi, 0x1e
jl 0x52074a
jmp 0x520856
fstp st(0)
mov eax, dword [ebp + 0x10]
mov dx, word [esp + 0x10]
mov cx, word [esp + 0x12]
pop edi
fld qword [esp + 0x14]
mov word [eax], dx
mov dx, word [esp + 0x10]
mov word [eax + 2], cx
mov cx, word [esp + 0x12]
pop esi
mov word [eax + 4], dx
mov word [eax + 6], cx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x524ea0
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test eax, eax
jle 0x524f02
push edi
mov edi, eax
mov eax, dword [esp + 0xc]
mov cl, byte [esi]
inc esi
mov byte [esp + 0xc], cl
mov ecx, 8
mov edx, dword [esp + 0xc]
test eax, 0x80000000
je 0x524ee2
and edx, 0xff
add eax, eax
shr edx, 7
xor edx, eax
xor edx, 0x4c11db7
mov eax, edx
jmp 0x524eef
and edx, 0xff
add eax, eax
shr edx, 7
xor eax, edx
mov dl, byte [esp + 0xc]
shl dl, 1
dec ecx
mov byte [esp + 0xc], dl
jne 0x524ec0
dec edi
jne 0x524eb4
pop edi
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x53b330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
push ebx
lea eax, [esp + 4]
push esi
xor esi, esi
push eax
push 1
push esi
push str.SoftwareFoxit_SoftwareFoxit_ReaderProperties
mov ebx, ecx
push 0x80000001
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x53b37c
mov eax, 0x80000000
pop esi
mov ecx, eax
mov dword [ebx + 0x104], eax
mov dword [ebx + 0x108], ecx
xor eax, eax
pop ebx
add esp, 0x48
ret
push ebp
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
push esi
push str.Position
push eax
call ebp
test eax, eax
jne 0x53b3f6
lea ecx, [esp + 0x18]
push 0x691d30
push ecx
xor edi, edi
call fcn.00462646
add esp, 8
test eax, eax
je 0x53b3ea
push eax
call fcn.00460e8e
push 0x691d30
push edi
mov esi, eax
call fcn.00462646
add esp, 0xc
test eax, eax
je 0x53b3ea
push eax
call fcn.00460e8e
add esp, 4
mov edi, eax
mov dword [ebx + 0x104], esi
mov dword [ebx + 0x108], edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.ActivePage
push ecx
call ebp
pop edi
pop ebp
test eax, eax
jne 0x53b433
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x10c]
push edx
call fcn.005eb1d3
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
add esp, 0x48
ret
Function at 0x53b450
Capabilities:
Set registry value

Disassembly:
sub esp, 0x48
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push str.SoftwareFoxit_SoftwareFoxit_ReaderProperties
mov esi, ecx
push 0x80000001
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x53b4b0
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareFoxit_SoftwareFoxit_ReaderProperties
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x53b4b0
xor eax, eax
pop esi
add esp, 0x48
ret
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x104]
push ebx
push edi
push eax
push ecx
lea edx, [esp + 0x1c]
push 0x6e4b34
push edx
call fcn.00461ccb
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esp + 0x14]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Position
push ecx
call ebx
mov edi, dword [esi + 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push eax
push str.ActivePage
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov eax, 1
pop esi
add esp, 0x48
ret
Function at 0x540f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x627dc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.00606265
mov ebx, dword [eax + 0xc]
mov edi, dword [0x6fe51c]
call fcn.00606265
mov dword [eax + 0xc], edi
mov eax, dword [0x6925a8]
mov dword [esp + 0x14], eax
mov edi, 1
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], edi
push 0x271c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.005eb614
push 0x6e8734
lea ecx, [esp + 0x10]
call fcn.005eb1d3
mov ecx, esi
call fcn.00540c90
cmp eax, edi
jne 0x541199
push edi
mov ecx, esi
call fcn.00540b90
mov esi, eax
test esi, esi
je 0x541199
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x541199
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x541199
push ecx
push eax
call fcn.00550030
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x541199
mov ecx, eax
call fcn.00553b50
dec eax
cmp eax, 0x18
ja case.default.0x54112a
jmp dword [eax*4 + 0x541264]
push 0x2736
jmp 0x541183
push 0x2737
jmp 0x541183
push 0x2738
jmp 0x541183
push 0x2739
jmp 0x541183
push 0x273a
jmp 0x541183
push 0x273b
jmp 0x541183
push 0x273c
jmp 0x541183
push 0x273d
jmp 0x541183
push 0x273e
jmp 0x541183
push 0x273f
jmp 0x541183
push 0x2740
jmp 0x541183
push 0x2741
jmp 0x541183
push 0x2742
jmp 0x541183
push 0x2743
jmp 0x541183
push 0x2744
jmp 0x541183
push 0x2745
jmp 0x541183
push 0x2746
jmp 0x541183
push 0x2747
jmp 0x541183
push 0x2748
jmp 0x541183
push esi
call fcn.0053f680
add esp, 4
mov ecx, eax
call fcn.00548e70
dec eax
cmp eax, 6
ja case.default.0x54112a
jmp dword [eax*4 + 0x5412c8]
push 0x2749
jmp 0x541183
push 0x274a
jmp 0x541183
push 0x274b
jmp 0x541183
push 0x274e
jmp 0x541183
push 0x274d
jmp 0x541183
push 0x274c
jmp 0x541183
push 0x2755
jmp 0x541183
push 0x2750
jmp 0x541183
push 0x2751
jmp 0x541183
push 0x2752
jmp 0x541183
push 0x2753
jmp 0x541183
push 0x2754
lea ecx, [esp + 0x10]
call fcn.005eb614
lea edx, [esp + 0x18]
push edx
call fcn.00550460
add esp, 4
call fcn.00606265
mov dword [eax + 0xc], ebx
mov eax, dword [0x6925a8]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x1c]
mov bl, 3
push edx
push eax
mov byte [esp + 0x34], bl
call fcn.005eb279
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.005eb183
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.005eb04a
lea ecx, [esp + 0x14]
call fcn.005eafd5
lea ecx, [esp + 0xc]
call fcn.005eafd5
push 0x68f88c
lea ecx, [esp + 0x14]
call fcn.005e39e9
push 0x68f88c
lea ecx, [esp + 0x14]
call fcn.005e394a
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005eadbf
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.005eb04a
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.005eb04a
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call fcn.005eb04a
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x545c30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x628208
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
push esi
call fcn.00545960
test eax, eax
je 0x545cb7
push esi
call fcn.0055b5f0
mov ecx, dword [eax + 4]
add esp, 4
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
je 0x545cb7
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
lea ecx, [esp + 0x14]
push eax
call fcn.005eb0b8
mov edx, dword [esi]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x10], 0
call dword [edx + 0x30]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.005eb04a
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x54ea70
Capabilities:
Get session user name

Disassembly:
sub esp, 0x108
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
push 0xffffffffffffffff
jne 0x54eab4
lea edx, [esp + 0x10]
push edx
jmp 0x54eab9
push 0x6e4c80
mov esi, dword [esp + 0x11c]
mov ecx, esi
call fcn.00489840
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret
Function at 0x555c40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push 0x80000001
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555c93
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 4]
xor eax, eax
cmp eax, edx
sbb eax, eax
neg eax
add esp, 8
ret

Function at 0x555ce0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push 0x80000001
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555d41
mov ecx, dword [esp]
lea edx, [esp + 0xc]
lea eax, [esp + 4]
push edx
push eax
push 0
push 0
push str.Thickness
push ecx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 4]
add esp, 8
ret

Function at 0x555de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0xc]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 8]
push eax
push 1
push esi
push ecx
push 0x80000001
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x555e43
mov ecx, dword [esp + 8]
lea edx, [esp + 0x30]
lea eax, [esp + 0xc]
push edx
push eax
push esi
push esi
push str.BorderType
push ecx
mov dword [esp + 0x48], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push str.Dashed
push eax
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555e64
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret
lea ecx, [esp + 0xc]
push str.Beveled
push ecx
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555e85
pop edi
mov eax, 2
pop esi
add esp, 0x24
ret
lea edx, [esp + 0xc]
push str.Inset
push edx
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555ea6
pop edi
mov eax, 3
pop esi
add esp, 0x24
ret
lea eax, [esp + 0xc]
push str.Underline
push eax
call fcn.00460feb
add esp, 8
test eax, eax
jne 0x555ec7
pop edi
mov eax, 4
pop esi
add esp, 0x24
ret
lea ecx, [esp + 0xc]
push str.Cloudy
push ecx
call fcn.00460feb
add esp, 8
test eax, eax
mov eax, 5
je 0x555ee4
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
Function at 0x555ef0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6297f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
call fcn.0055c530
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov dword [esp + 0x34], 0
call fcn.00554320
lea ecx, [esp + 8]
call fcn.004b1a40
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x30], 1
push ecx
lea ecx, [esp + 0xc]
call fcn.004b1bd0
mov eax, dword [esp + 0x20]
xor edi, edi
test eax, eax
jbe 0x555f94
mov esi, dword [esp + 0x1c]
push 0x68f88c
lea ecx, [esp + 0xc]
call fcn.004b1c70
mov edx, dword [esi]
lea ecx, [esp + 8]
push edx
call fcn.004b1bd0
push 0x68f88c
lea ecx, [esp + 0xc]
call fcn.004b1c70
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push eax
call fcn.004b1bd0
mov eax, dword [esp + 0x20]
inc edi
add esi, 8
cmp edi, eax
jb 0x555f53
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
inc ecx
push ecx
push edx
push 1
push 0
push str.DashPattern
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov byte [esp + 0x30], 0
test eax, eax
sete cl
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004b1a60
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055c5a0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4