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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x638
push esi
push edi
push ecx
lea edi, [ebp - 0x638]
mov ecx, 0x18e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov ax, word [0x4ca494]
mov word [ebp - 0x18], ax
xor ecx, ecx
mov dword [ebp - 0x16], ecx
mov dx, word [0x4ca498]
mov word [ebp - 0x220], dx
push 0x1fe
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.004b8382
add esp, 0xc
mov cx, word [0x4ca49c]
mov word [ebp - 0x428], cx
push 0x1fe
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.004b8382
add esp, 0xc
mov ax, word [0x4ca4a0]
mov word [ebp - 0x630], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x62e]
push ecx
call fcn.004b8382
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x630]
push edx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x18]
push edx
mov edi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
call dword [sym.imp.MSVCR80.dll__wsplitpath]
add esp, 0x14
cmp esi, esp
call fcn.004b81e1
mov esi, esp
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x638], eax
cmp dword [ebp - 0x638], 2
jne 0x419564
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x419598]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x638
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 4
Function at 0x443d20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c06ba
mov eax, dword fs:[0]
push eax
sub esp, 0x274
push esi
push edi
lea edi, [ebp - 0x280]
mov ecx, 0x9d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x26d], 0
mov esi, esp
push 0
mov edi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jl 0x443edc
mov esi, esp
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0
mov esi, esp
push 0x4caf24
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
lea edx, [ebp - 0x264]
push edx
mov edi, esp
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp edi, esp
call fcn.004b81e1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0xffffffff
je 0x443ec0
mov eax, dword [ebp - 0x264]
and eax, 0x10
je 0x443e85
mov esi, esp
push 0x4caf28
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscmp]
add esp, 8
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x443e85
mov esi, esp
push 0x4caf2c
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.MSVCR80.dll_wcscmp]
add esp, 8
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x443e85
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00402fd0
mov byte [ebp - 0x26d], 1
mov esi, esp
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x443e20
mov esi, esp
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov al, byte [ebp - 0x26d]
push edx
mov ecx, ebp
push eax
lea edx, [0x443f1c]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x280
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret
Function at 0x446590
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x4465f0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x4465f0
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 8
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 4

Function at 0x446610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0a76
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x51197c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov esi, esp
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp esi, esp
call fcn.004b81e1
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0
je 0x4466d2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
cmp edi, esp
call fcn.004b81e1
push eax
push 1
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
jne 0x4466d2
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 8
Function at 0x446720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44678a
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x44678a
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 8
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 8

Function at 0x4467a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44680c
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 3
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x44680c
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 8
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov esi, esp
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44696b
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
lea edx, [ebp - 0x20]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x44696b
mov eax, dword [ebp - 0x20]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x44696b
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x44696b
cmp dword [ebp - 0x14], 1
je 0x446928
cmp dword [ebp - 0x14], 2
jne 0x446959
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x446987
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x4469b0]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4469e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x446b03
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
lea edx, [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x446b03
mov eax, dword [ebp - 0x1c]
push eax
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x446b03
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x446b03
cmp dword [ebp - 0x10], 3
jne 0x446af1
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x1c]
jb 0x446af1
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp dword [ebp - 8], 0
jne 0x446b18
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x446b40]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x28], 4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x446cfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov esi, esp
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x446cfe
cmp dword [ebp - 0x1c], 4
jne 0x446cfe
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 0
jne 0x446d0c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x446d34]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44af70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
push edi
push ecx
lea edi, [ebp - 0x268]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 1
mov ecx, 0x5123ec
call fcn.0044b520
mov dword [ebp - 0x10], eax
mov esi, esp
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44b14d
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44b14d
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44b14d
cmp dword [ebp - 0xc], 0
je 0x44b14d
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
test eax, eax
je 0x44b14d
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
mov word [ebp - 0x24], dx
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
movzx ecx, word [ebp - 0x24]
cmp ecx, 0x403
jne 0x44b0c4
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x130]
call fcn.0044b590
lea ecx, [ebp - 0x130]
call fcn.0044b610
push eax
push 0
push 0x143
movzx eax, word [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0044ca70
cmp eax, 0xffffffff
jne 0x44b0b7
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x130]
call fcn.0044b5d0
jmp 0x44b13f
movzx ecx, word [ebp - 0x24]
cmp ecx, 0x1234
jne 0x44b13f
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x158], 0xffffffff
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x264]
call fcn.0044b590
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
call fcn.0044b610
mov dword [ebp - 0x154], eax
lea ecx, [ebp - 0x264]
call fcn.0044b5d0
lea eax, [ebp - 0x15c]
push eax
push 0
push 0x40b
movzx ecx, word [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0044ca70
cmp eax, 0xffffffff
jne 0x44b13f
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
jmp 0x44b01e
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x44b180]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b81d2
add esp, 0x268
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 4
Function at 0x4647f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x10
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x51197c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x80004005
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
cmp esi, esp
call fcn.004b81e1
movzx eax, al
test eax, eax
je 0x464857
mov eax, 0x80070057
jmp 0x464992
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
cmp esi, esp
call fcn.004b81e1
movzx ecx, ax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x15], 1
mov esi, esp
push 0
push 0x4ce638
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp esi, esp
call fcn.004b81e1
cmp eax, 0xffffffff
jne 0x4648f6
mov esi, esp
push 0
push 0x4ce640
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
cmp esi, esp
call fcn.004b81e1
cmp eax, 0xffffffff
jne 0x4648f6
mov byte [ebp - 0x15], 0
lea ecx, [ebp - 0x34]
call sub.MFC80U.DLL_Ordinal_386
mov dword [ebp - 4], 0
push 0
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
cmp esi, esp
call fcn.004b81e1
push eax
lea ecx, [ebp - 0x34]
call sub.MFC80U.DLL_Ordinal_2271
test eax, eax
je 0x4648e7
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC80U.DLL_Ordinal_631
movzx edx, byte [ebp - 0x15]
test edx, edx
je 0x46498f
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004a89a0
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 1
mov esi, esp
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x40]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
cmp esi, esp
call fcn.004b81e1
movzx edx, al
test edx, edx
jne 0x46498f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x4649c0]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret
Function at 0x466700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x466727
xor ecx, ecx
jne 0x466727
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov esi, esp
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x466777
mov eax, dword [ebp - 8]
jmp 0x4667d4
cmp dword [ebp - 0x10], 1
je 0x46678a
cmp dword [ebp - 0x10], 2
je 0x46678a
mov eax, 0xd
jmp 0x4667d4
cmp dword [ebp + 0xc], 0
je 0x4667c8
cmp dword [ebp - 0x1c], 0
je 0x4667c0
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4667b7
mov edx, dword [ebp - 0x1c]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4667be
mov eax, 0xd
jmp 0x4667d4
jmp 0x4667c8
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4667f8]
call fcn.004b8204
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0xc