joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4436f0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45e18b
push eax
mov dword fs:[0], esp
sub esp, 0x150
push esi
mov esi, dword [esp + 0x164]
push edi
mov edi, dword [esp + 0x16c]
lea eax, [esp + 0x10]
push eax
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x443745
push 0x104
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor eax, eax
jmp 0x4437f6
mov ecx, dword [0x47558c]
mov dword [esp + 8], ecx
lea edx, [esp + 8]
push edx
push esi
mov dword [esp + 0x168], 0
call fcn.00443040
mov edx, dword [esp + 8]
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4437a0
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.00441820
xor eax, eax
jmp 0x4437f6
test byte [esp + 0xc], 2
jne 0x4437ae
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [esp + 0xc], 4
jne 0x4437dd
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4437dd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 8]
mov dword [esp + 0x160], 0xffffffff
call fcn.00441820
mov eax, 1
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret 8
Function at 0x443b30
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov dword [ebp - 4], 0
je 0x443c7b
mov edi, dword [ebp + 0xc]
push 0x800
push 0x160
lea ecx, [ebp - 0x164]
push ecx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x443c7b
test dword [ebp - 0x15c], 0x10000
je 0x443c7b
lea edx, [ebp - 4]
push edx
push 0x46a074
push 0
push 0x46a084
lea ecx, [ebp + 8]
call fcn.00443ac0
test eax, eax
jl 0x443c7b
mov eax, dword [ebp - 4]
test eax, eax
je 0x443c7b
lea edx, [ebp + 0xc]
push edx
push 0x46d56c
mov dword [ebp + 0xc], 0
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x443c72
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x443c72
test edi, edi
jne 0x443be3
xor eax, eax
jmp 0x443c08
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.0042df90
mov eax, esp
push esi
push edi
push eax
call fcn.00441620
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push 0
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x443c65
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push 2
push eax
push ecx
call dword [edx + 0x4c]
test eax, eax
jl 0x443c65
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
lea esp, [ebp - 0x16c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x443c72
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
lea esp, [ebp - 0x16c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x446600
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
mov edi, dword [esp + 0x114]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, dword [esp + 0x110]
mov esi, eax
cmp esi, 0x100
ja 0x44664d
push 0x100
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x44664d
push edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x446655
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
add esp, 0x100
ret 8

Function at 0x44bf00
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [0x477f90]
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0x1c]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
ret
Function at 0x44c010
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x44c064
mov eax, dword [esp + 0x18]
push eax
call fcn.004589a0
mov esi, eax
test esi, esi
jne 0x44c034
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
push edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x46269c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
add esp, 0x10
ret 0xc

Function at 0x44c013
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x44c064
mov eax, dword [esp + 0x18]
push eax
call fcn.004589a0
mov esi, eax
test esi, esi
jne 0x44c034
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esp + 0x1c]
push edi
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
add esp, 0x10
ret 0xc
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 8]
push 0x46269c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esi + 0x90]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop esi
add esp, 0x10
ret 0xc

Function at 0x44c0a0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x44c135
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
push esi
push edi
jne 0x44c0d7
call fcn.004588e0
mov esi, eax
test esi, esi
jne 0x44c0c9
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x44c11f
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x44c0f9
mov edx, dword [esp + 0x10]
push edx
call fcn.004589a0
mov esi, eax
test esi, esi
je 0x44c0c1
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x44c11f
mov eax, dword [esp + 0x10]
push eax
call fcn.004589a0
mov esi, eax
test esi, esi
je 0x44c0c1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
ret 0xc
mov ecx, dword [ecx + 0x90]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
ret 0xc
Function at 0x44c160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x7c]
test eax, eax
push esi
push edi
je 0x44c1b2
mov eax, dword [esp + 0x10]
push eax
call fcn.004589a0
mov esi, eax
test esi, esi
jne 0x44c182
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
ret 0x10
mov edi, dword [esp + 0x1c]
lea ecx, [edi + edi + 1]
push ecx
call fcn.00442230
mov esi, eax
add esp, 4
xor eax, eax
test edi, edi
jbe 0x44c1ee
mov ecx, dword [esp + 0x18]
nop
mov dl, byte [eax + ecx]
and dl, 0xf
add dl, 0x41
mov byte [esi + eax*2], dl
mov dl, byte [eax + ecx]
shr dl, 4
add dl, 0x41
mov byte [esi + eax*2 + 1], dl
inc eax
cmp eax, edi
jb 0x44c1d0
mov ecx, dword [esp + 0x10]
mov byte [esi + eax*2], 0
mov eax, dword [esp + 0x14]
push esi
push eax
push ecx
mov ecx, ebp
call fcn.0044c0a0
push esi
mov edi, eax
call fcn.00442270
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x44ce60
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
xor ebx, ebx
test eax, eax
push edi
jle 0x44ce88
mov ecx, dword [esp + 0x18]
cmp ebx, ecx
je 0x44ce83
mov edx, dword [esi + 0x78]
mov edx, dword [edx + ebx*4]
cmp edx, dword [esp + 0x14]
je 0x44ce8b
inc ebx
cmp ebx, eax
jl 0x44ce73
or ebx, 0xffffffff
mov ebp, dword [esp + 0x1c]
cmp ebp, 1
jne 0x44cf05
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1c]
mov edi, dword [esi + 0x78]
lea ebp, [ebx*4]
push ecx
add edi, ebp
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
movzx edx, ax
mov dword [edi], edx
mov edx, dword [esi + 0x7c]
xor eax, eax
test edx, edx
jle 0x44cf3f
cmp eax, ebx
je 0x44cecf
mov ecx, dword [esi + 0x78]
mov edi, dword [ecx + eax*4]
cmp edi, dword [ecx + ebp]
je 0x44ced6
inc eax
cmp eax, edx
jl 0x44cec0
jmp 0x44cf3f
test eax, eax
jle 0x44cf3f
push 1
lea edi, [esi + 0x74]
push ebx
mov ecx, edi
call fcn.0043af80
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + ebp - 4]
add eax, ebp
test ecx, ecx
jne 0x44cf3f
cmp dword [eax], 0
jne 0x44cf3f
push 1
push ebx
mov ecx, edi
call fcn.0043af80
jmp 0x44cf3f
push 1
lea edi, [esi + 0x74]
push ebx
mov ecx, edi
call fcn.0043af80
mov ecx, dword [esi + 0x78]
lea eax, [ecx + ebx*4]
mov ecx, dword [eax - 4]
test ecx, ecx
jne 0x44cf2e
cmp dword [eax], 0
jne 0x44cf2e
push 1
push ebx
mov ecx, edi
call fcn.0043af80
cmp ebp, 0xffffffff
je 0x44cf3f
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.0044cde0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
je 0x44cfa2
mov ecx, esi
call fcn.00454060
mov edi, eax
mov eax, dword [esi + 0x70]
test eax, eax
je 0x44cf9b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xd0]
test eax, eax
jne 0x44cf9b
mov ecx, esi
call fcn.0044cd70
test eax, eax
jne 0x44cf86
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov ecx, dword [edi + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
or dword [edi + 0xb0], 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x44d6b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 0x5c]
mov eax, dword [edi + 0x7c]
xor ebx, ebx
and ebp, 0xa000
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
jle 0x44d7ff
nop
mov eax, dword [edi + 0x78]
mov esi, dword [eax + ebx*4]
cmp esi, 0xffff
jbe 0x44d7bb
test esi, esi
je 0x44d7bb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
test eax, eax
je 0x44d7bb
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x1c]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x20]
push edx
push eax
call esi
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
call esi
mov eax, dword [edi + 0x1c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x400000
je 0x44d75c
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ecx
jmp 0x44d764
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
test ebp, ebp
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
je 0x44d776
mov eax, edx
sub eax, ebx
jmp 0x44d77b
mov eax, ecx
sub eax, esi
dec eax
cmp dword [esp + 0x10], eax
jg 0x44d78b
test ebp, ebp
je 0x44d799
sub edx, ebx
mov dword [esp + 0x10], edx
test ebp, ebp
je 0x44d7a0
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp ecx, esi
jmp 0x44d7a8
sub ecx, esi
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, ebx
mov ebx, dword [esp + 0x18]
setg al
test eax, eax
je 0x44d7ef
mov ecx, ebx
mov dword [esp + 0x14], ecx
jmp 0x44d7ef
mov edx, dword [esp + 0x10]
mov esi, dword [0x4786e4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
sub edx, esi
add ecx, edx
test ebp, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], 0
jne 0x44d7e5
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x1c]
jl 0x44d82e
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x7c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x44d6e0
mov esi, dword [esp + 0x14]
push 1
push 0
inc esi
add edi, 0x74
push esi
mov ecx, edi
call fcn.0043bb30
mov edx, dword [esp + 0x34]
push 1
push edx
mov ecx, edi
push esi
call fcn.0043bb30
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x1c
test ebx, ebx
jne 0x44d843
mov eax, dword [esp + 0x14]
push 1
push ebx
inc eax
push eax
lea ecx, [edi + 0x74]
call fcn.0043bb30
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push 1
push ecx
inc esi
lea ecx, [edi + 0x74]
push esi
call fcn.0043bb30
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x1c
Function at 0x455160
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ecx, esi
call fcn.0043dee0
mov edi, eax
test edi, edi
jne 0x455178
mov edi, dword [esi + 0x64]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
mov ebx, dword [esp + 0x18]
je 0x455198
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xb4]
or dword [edi + 0xb0], 0xc
jmp 0x4551ef
mov edx, dword [esi + 0x1c]
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, 0xffffffc0
add ecx, 0x80
or ecx, 0x17
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0xb4]
test ebx, ebx
jne 0x4551e3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc0]
test eax, eax
je 0x45521b
mov eax, dword [esi + 0x70]
test eax, eax
jne 0x4551ef
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0xb8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc0]
test eax, eax
je 0x455229
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4552d1
mov eax, dword [esi + 0x68]
test eax, eax
je 0x455242
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xd0]
jmp 0x455249
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4551e3
mov ecx, dword [eax + 0x70]
test ecx, ecx
jmp 0x4551e1
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4552d1
mov ecx, dword [eax + 0x70]
test ecx, ecx
jne 0x455208
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
xor eax, eax
test ebx, ebx
setne al
cmp eax, 1
jne 0x455290
test ebx, ebx
je 0x4552c2
test ebp, ebp
mov dword [edi + 0x80], 0xffffffff
je 0x45527d
mov edx, dword [edi]
mov ecx, edi
push 0
mov dword [edi + 0x80], 8
call dword [edx + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [edi + 0x1c]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
test eax, eax
jne 0x4552c2
test ebp, ebp
mov dword [edi + 0x80], 0xffffffff
je 0x4552af
mov dword [edi + 0x80], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov ecx, dword [edi + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
test ebp, ebp
jne 0x4552d1
mov edx, dword [edi]
mov ecx, edi
push ebp
call dword [edx + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x458460
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
cmp eax, edi
jne 0x45854a
mov ecx, dword [ebp - 0x14]
push 0x104
lea eax, [ebp - 0x124]
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
cmp esi, edi
jne 0x458517
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.004418a0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.00458460
mov esi, eax
cmp esi, edi
lea ecx, [ebp - 0x18]
setne bl
mov byte [ebp - 4], 0
call fcn.00441820
test bl, bl
jne 0x458517
mov dword [ebp - 4], 0xffffffff
jmp 0x4584a2
cmp esi, 0x103
je 0x458527
cmp esi, 0x3f2
jne 0x45853e
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
jmp 0x45853e
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x458a90
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45e10b
push eax
mov eax, 0x100c
mov dword fs:[0], esp
call fcn.0042df90
push esi
xor esi, esi
mov dword [esp + 0xc], esi
cmp dword [ecx + 0x7c], esi
je 0x458bb5
mov eax, dword [esp + 0x1024]
push edi
push eax
call fcn.004589a0
mov edi, eax
cmp edi, esi
jne 0x458b04
mov ecx, dword [esp + 0x1030]
mov esi, dword [esp + 0x1024]
push ecx
mov ecx, esi
call fcn.004418a0
pop edi
mov ecx, dword [esp + 0x1010]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1018
ret 0x10
mov edx, dword [0x47558c]
push ebx
push ebp
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x1034]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push esi
push ebx
push edi
mov dword [esp + 0x103c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call ebp
mov esi, eax
test esi, esi
jne 0x458b6d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00441b80
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push ebx
push edi
call ebp
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00441c00
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov esi, dword [esp + 0x102c]
pop ebp
pop ebx
mov ecx, esi
jne 0x458ba6
lea edx, [esp + 8]
push edx
call fcn.00441cc0
lea ecx, [esp + 8]
mov dword [esp + 0x101c], 0xffffffff
call fcn.00441820
jmp 0x458ae9
mov eax, dword [esp + 0x1030]
push eax
call fcn.004418a0
jmp 0x458b8d
mov eax, dword [esp + 0x102c]
cmp eax, esi
jne 0x458bc5
mov eax, 0x47803c
mov ecx, dword [ecx + 0x90]
push ecx
mov ecx, dword [esp + 0x1028]
push 0x1000
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1038]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x1020]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004418a0
jmp 0x458aea
Function at 0x458c10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45e128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x30]
mov dword [ebx], ebp
mov dword [edi], ebp
cmp dword [ecx + 0x7c], ebp
mov eax, dword [esp + 0x24]
je 0x458cdf
push eax
call fcn.004589a0
mov edi, eax
cmp edi, ebp
je 0x458cc8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x24]
push ecx
push ebp
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x38]
push ebp
push edi
call ebx
mov ecx, dword [esp + 0x30]
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
jne 0x458ca4
push eax
call fcn.00442230
mov edx, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [edx], eax
lea edx, [esp + 0x18]
push edx
push esi
push ebp
push edi
call ebx
mov esi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x458d92
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
push eax
call fcn.00442270
add esp, 4
mov dword [esi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov edx, dword [esp + 0x28]
push ebp
push edx
push eax
lea edx, [esp + 0x38]
push edx
call fcn.00458a90
mov eax, dword [esp + 0x2c]
mov esi, dword [eax - 8]
cmp esi, ebp
mov dword [esp + 0x1c], ebp
jne 0x458d27
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00441820
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
mov eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
mov dword [edi], eax
call fcn.00442230
add esp, 4
xor ecx, ecx
cmp esi, ebp
mov dword [ebx], eax
jle 0x458d81
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
cmp eax, ebp
jl 0x458d56
cmp eax, dword [edx - 8]
jge 0x458d56
mov al, byte [eax + edx]
jmp 0x458d58
xor al, al
cmp ecx, ebp
jl 0x458d66
cmp ecx, dword [edx - 8]
jge 0x458d66
mov dl, byte [ecx + edx]
jmp 0x458d68
xor dl, dl
mov edi, dword [ebx]
dec al
shl al, 4
add al, dl
mov edx, ecx
sub al, 0x41
shr edx, 1
add ecx, 2
cmp ecx, esi
mov byte [edx + edi], al
jl 0x458d41
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00441820
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x45a3c0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jle 0x45a403
cmp ebx, dword [esi + 0xc]
jge 0x45a403
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45a403
cmp ebx, dword [eax + 8]
jge 0x45a403
mov ecx, dword [eax + 0xc]
mov ebx, dword [ecx + ebx*4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4

Function at 0x45a540
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x45a574
jmp fcn.00439d10
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret