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

Disassembly:
sub esp, 8
mov edx, dword [0x6d12f4]
push esi
mov esi, ecx
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.isUseWinDialUp
push edx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x43780e
mov dword [esi + 0x30], 0
jmp 0x43781c
mov eax, dword [esp + 0xc]
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], eax
mov eax, dword [0x6d12f4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.mAttempts
push eax
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x43784c
mov dword [esi + 0x2c], 0
jmp 0x437853
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov ecx, dword [0x6d12f4]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push str.mRedialTime
push ecx
mov dword [esp + 0x20], 4
call edi
test eax, eax
je 0x437888
mov dword [esi + 0x28], 0x1e
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x28], edx
pop esi
add esp, 8
ret

Function at 0x4378a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x30]
test ecx, ecx
jne 0x4378bb
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4378cf
push 4
push eax
mov eax, dword [0x6d12f4]
push 4
push 0
push str.isUseWinDialUp
push eax
call edi
mov edx, dword [0x6d12f4]
lea ecx, [esi + 0x2c]
push 4
push ecx
push 4
push 0
push str.mAttempts
push edx
call edi
mov eax, dword [0x6d12f4]
add esi, 0x28
push 4
push esi
push 4
push 0
push str.mRedialTime
push eax
call edi
pop edi
pop esi
ret
Function at 0x4392d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6178b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6cc708]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
lea edx, [ebp - 0x14]
push str._s_ld
push edx
mov byte [ebp - 4], 1
call fcn.005fb90b
add esp, 0x10
test bl, 8
je 0x43939c
xor ebx, 8
mov eax, dword [0x6cc708]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x6d1ac0]
push esi
push esi
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.005fb90b
add esp, 0x10
cmp ebx, 2
jne 0x4393ee
mov eax, dword [0x6cc708]
mov dword [ebp + 0xc], eax
mov ecx, dword [0x6d1abc]
push esi
lea edx, [ebp + 0xc]
push ecx
push edx
mov byte [ebp - 4], 4
call fcn.005fb90b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp + 0x10]
push eax
push ecx
push str._s_r_n_r_n_s
push edx
call fcn.005fb90b
add esp, 0x10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.00602ad6
jmp 0x439403
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [0x6d12f4]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x439325
cmp dword [ebp - 0x18], 1
jne 0x439325
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push eax
push 0x6a00a0
push ecx
call fcn.005fb90b
add esp, 0xc
mov edx, dword [ebp + 0x10]
push 0x44
push 0x6a0028
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x43944f
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0049dca0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6d12f4]
add esp, 8
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push 4
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00602ad6
jmp 0x4393d1
Function at 0x4451d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61869c
push eax
mov eax, dword [0x6d12f4]
mov dword fs:[0], esp
sub esp, 0x46c
test eax, eax
push esi
jne 0x445248
push 0x6d12f4
push 0xf003f
push 0
push str.SoftwareDownloadManager_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x445260
push 0
push 0x6d12f4
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareDownloadManager_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x445305
call fcn.004463a0
mov al, 1
pop esi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
add esp, 0x478
ret
mov edx, dword [0x6d12f4]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.idmvers
push edx
mov dword [esp + 0x24], 0x40
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x445248
cmp esi, 2
je 0x445243
mov eax, dword [0x6cc708]
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x478], 0
call fcn.004ac190
push esi
lea ecx, [esp + 8]
push str.Reading_of_idmvers_failed__errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 1
call fcn.005fb90b
mov edx, dword [esp + 0x10]
add esp, 0xc
lea ecx, [esp + 0x50]
push 1
push edx
call fcn.004ac2b0
lea ecx, [esp + 0x50]
mov byte [esp + 0x478], 0
call fcn.004ac2a0
lea ecx, [esp + 4]
mov dword [esp + 0x478], 0xffffffff
call fcn.00602ad6
jmp 0x445248
mov eax, dword [0x6cc708]
mov dword [esp + 8], eax
lea ecx, [esp + 0x260]
mov dword [esp + 0x478], 2
call fcn.004ac190
push esi
lea ecx, [esp + 0xc]
push str.RegCreateKeyEx___failed_during_OpenGlobalIDMRegKey____errCode___ld_r_n
push ecx
mov byte [esp + 0x484], 3
call fcn.005fb90b
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0x260]
push 1
push edx
call fcn.004ac2b0
lea ecx, [esp + 0x260]
mov byte [esp + 0x478], 2
call fcn.004ac2a0
lea ecx, [esp + 8]
mov dword [esp + 0x478], 0xffffffff
call fcn.00602ad6
mov ecx, dword [esp + 0x470]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x478
ret
Function at 0x445660
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6186fb
push eax
mov eax, dword [0x6d12f4]
mov dword fs:[0], esp
sub esp, 0x10c
test eax, eax
push ebx
je 0x4456e8
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.CommonAppDataIDMFolder
push eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4456e8
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4456e8
lea ecx, [esp + 0xc]
push ecx
push 0x6a00a0
push 0x6d12a8
call fcn.005fb90b
add esp, 0xc
pop ebx
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret
push str.shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x4457f2
push esi
push str.SHGetFolderPathA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4457ea
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x23
push 0
call esi
test eax, eax
jne 0x4457e4
mov eax, dword [0x6cc708]
push edi
mov dword [esp + 0xc], eax
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x120], 0
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov al, byte [esp + ecx + 0x14]
cmp al, 0x5c
mov eax, 0x6d0c38
je 0x44576a
mov eax, 0x6a1bbc
lea ecx, [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x14]
push str._s_sIDM
push edx
call fcn.005fb90b
mov eax, dword [esp + 0x1c]
push eax
call fcn.005e83c2
mov ecx, dword [esp + 0x20]
add esp, 0x14
push ecx
push 0x6a2b14
push 0x6d12a8
call fcn.005fb90b
mov esi, dword [0x6d12f4]
add esp, 0xc
test esi, esi
je 0x4457cf
mov edx, dword [0x6d12a8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.CommonAppDataIDMFolder
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call fcn.00602ad6
pop edi
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x110]
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret
Function at 0x446c40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push ebx
lea eax, [ebp - 0x14]
push ebx
lea ecx, [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x446d3e
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc eax
inc esi
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
call fcn.005feedc
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.005feedc
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x446d3e
cmp edi, ebx
je 0x446d3e
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], edx
push edi
push ecx
lea edx, [ebp - 0x20]
push 0
push edx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x446d18
push esi
call fcn.005fef05
add esp, 4
push edi
call fcn.005fef05
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x446d3e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
push ecx
push edi
push edx
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x446d3e
inc ebx
jmp 0x446cc2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446d60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
mov ebx, 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
jne 0x446dbe
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x446e10
lea ecx, [ebp + 8]
push eax
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x114]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x446e10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x114]
push edx
push eax
push edi
call fcn.00446e30
add esp, 0xc
test eax, eax
je 0x446e10
inc esi
jmp 0x446d91
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446ee0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x208
lea ecx, [ebp - 0x224]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.005e6720
mov ebx, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x446f4e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
lea ecx, [ebp - 0x224]
push eax
push 0x20019
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x446f86
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x224]
mov al, byte [ebp + eax - 0x225]
cmp al, 0x5c
je 0x446fac
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
lea ecx, [ebp - 0x18]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
lea eax, [ebp - 0x328]
push edx
push eax
push 0
push ecx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44703d
lea edi, [ebp - 0x224]
or ecx, 0xffffffff
xor eax, eax
mov edx, 0x208
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x328]
sub edx, ecx
push edx
push eax
push esi
call fcn.005e6720
lea ecx, [ebp - 0x224]
push ecx
push ebx
call fcn.00447090
add esp, 0x14
test eax, eax
je 0x44703d
lea edx, [ebp - 0x18]
lea eax, [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push 0
push 0
push 0
lea ecx, [ebp - 0x328]
push eax
push ecx
push 0
push edx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x446fd8
mov byte [esi - 1], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x224]
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447090
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x114
push ebp
mov ebp, dword [esp + 0x11c]
push esi
mov esi, dword [esp + 0x124]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4470c0
pop esi
mov eax, 1
pop ebp
add esp, 0x114
ret
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4470eb
xor ecx, ecx
cmp eax, 2
sete cl
pop esi
mov eax, ecx
pop ebp
add esp, 0x114
ret
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov al, byte [ebx + esi - 1]
add ebx, esi
cmp al, 0x5c
je 0x447106
mov byte [ebx], 0x5c
inc ebx
mov byte [ebx], 0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4471be
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.005e6720
push esi
push ebp
call fcn.00447090
add esp, 0x14
test eax, eax
je 0x4471bd
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4471bd
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x208
sub eax, ecx
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.005e6720
push esi
push ebp
call fcn.00447090
add esp, 0x14
test eax, eax
jne 0x447164
pop edi
mov byte [ebx - 1], 0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
neg eax
sbb eax, eax
pop ebx
pop esi
inc eax
pop ebp
add esp, 0x114
ret
Function at 0x44ba30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
mov esi, 0x634238
mov eax, 0x634038
sub esi, ecx
xor edx, edx
mov dx, word [eax]
and edx, 0x800000ff
jns 0x44ba57
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [esi + ecx]
add eax, 2
xor dl, bl
mov byte [ecx], dl
inc ecx
cmp eax, 0x634236
jle 0x44ba42
pop esi
pop ebx
ret 4

Function at 0x44bbf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov si, word [eax]
mov dx, word [eax + 2]
mov cx, word [eax + 4]
mov ax, word [eax + 6]
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
lea ebp, [edi + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ebp
mov di, ax
mov bx, cx
jmp 0x44bc39
mov ebp, dword [esp + 0x20]
shl eax, 0xb
shr di, 5
or eax, edi
mov edi, ecx
not edi
and edi, esi
sub eax, edi
mov edi, ecx
and edi, edx
sub eax, edi
mov edi, edx
sub ax, word [ebp + 2]
shl ecx, 0xd
shr bx, 3
not edi
or ecx, ebx
and edi, eax
sub ecx, edi
mov edi, edx
and edi, esi
mov dword [esp + 0x10], eax
sub ecx, edi
mov edi, edx
mov dx, word [esp + 0x1c]
sub cx, word [ebp]
shl edi, 0xe
shr dx, 2
or edi, edx
mov edx, esi
not edx
and edx, ecx
mov dword [esp + 0x14], ecx
sub edi, edx
mov edx, eax
and edx, esi
sub edi, edx
sub di, word [ebp - 2]
mov edx, edi
mov edi, esi
mov si, word [esp + 0x18]
mov dword [esp + 0x1c], edx
shl edi, 0xf
shr si, 1
or edi, esi
mov esi, eax
not esi
and esi, edx
sub edi, esi
mov esi, eax
and esi, ecx
sub edi, esi
sub di, word [ebp - 4]
mov ebp, dword [esp + 0x24]
cmp ebp, 0xb
mov esi, edi
mov dword [esp + 0x18], esi
je 0x44bcd4
cmp ebp, 5
jne 0x44bd28
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0x30]
and eax, 0x3f
and edx, 0x3f
and esi, 0x3f
sub di, word [ecx + eax*2]
sub bx, word [ecx + edx*2]
mov dx, word [ecx + esi*2]
sub word [esp + 0x1c], dx
mov word [esp + 0x10], di
mov eax, dword [esp + 0x10]
mov word [esp + 0x14], bx
mov edx, eax
and edx, 0x3f
mov cx, word [ecx + edx*2]
mov edx, dword [esp + 0x1c]
sub word [esp + 0x18], cx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x44bd32
mov di, word [esp + 0x10]
mov bx, word [esp + 0x14]
dec ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
sub ebp, 8
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
test ebp, ebp
jge 0x44bc35
mov eax, dword [esp + 0x2c]
mov dx, word [esp + 0x18]
mov cx, word [esp + 0x1c]
mov word [eax + 6], di
pop edi
pop esi
mov word [eax + 4], bx
pop ebp
mov word [eax], dx
mov word [eax + 2], cx
pop ebx
add esp, 0x18
ret 8
Function at 0x44f630
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [0x6a45ac]
test eax, eax
je 0x44f645
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret
mov ecx, dword [esp + 4]
push esi
lea edx, [esp + 8]
push ecx
push edx
call fcn.00402500
mov eax, dword [esp + 0x10]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 8]
mov esi, eax
call fcn.00602ad6
mov eax, esi
pop esi
ret
Function at 0x45e190
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005e8310
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.005e8260
mov ebx, eax
and ebx, 0x800003ff
jns 0x45e1e0
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.005e8260
mov ebp, eax
and ebp, 0x800003ff
jns 0x45e216
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.005e8260
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x45e26a
mov edi, 0x6a4160
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x45e34b
cmp ebp, 0x3e7
jg 0x45e34b
test ebp, ebp
jne 0x45e2f7
cmp ebx, 0x3e7
jg 0x45e2f7
test ebx, ebx
je 0x45e2d0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6d1f88]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
jmp 0x45e386
mov eax, dword [0x6d1f84]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
push eax
push ecx
push str._d___s
push edx
call fcn.005e6db3
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [0x6d1f8c]
push eax
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
mov eax, dword [esp + 0x28]
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x24]
push edx
push ebp
push str._d_s_02d___s
push eax
call fcn.005e6db3
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x6d1f90]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x20]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push esi
mov edx, dword [esp + 0x34]
push str._d_s_02d___s
push edx
call fcn.005e6db3
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x45f2e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x6a45b0]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor bl, bl
push edi
test eax, eax
mov edi, ecx
jne 0x45f387
mov eax, dword [0x6d176c]
test eax, eax
jne 0x45f3af
mov edx, dword [0x6d12f4]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push 0
push str.nExpDt
push edx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45f387
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x45f387
push ecx
mov esi, esp
push 0
call fcn.005e7c09
add esp, 4
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0045f400
mov ecx, eax
call fcn.0045f410
mov ecx, dword [eax]
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0xa
jge 0x45f387
cmp edx, 0xffffffe2
jle 0x45f387
mov bl, 1
mov eax, dword [0x6d176c]
test eax, eax
jne 0x45f3af
mov eax, dword [0x6a45b0]
test eax, eax
jne 0x45f3af
test bl, bl
jne 0x45f3af
push str._fillregform.html_d
push ebp
call fcn.005e6490
add esp, 8
test eax, eax
je 0x45f3ec
push ebp
push 0x6a00a0
push 0x6d12bc
call fcn.005fb90b
mov eax, dword [0x6d176c]
add esp, 0xc
test eax, eax
je 0x45f3e5
push 0
push 0
push 0x2b45
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov ecx, edi
call fcn.00464d10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4