joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c0dd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x431a51
call fcn.0041f631
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40c102
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40c148
lea ecx, [ebp - 0x10]
call fcn.004029bb
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b94c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004022ab
mov eax, esi
call fcn.0041f709
ret 8

Function at 0x41ea1d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441630]
jne 0x41ea27
repz ret
jmp fcn.004234ef

Function at 0x42bf44
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042376a
and dword [ebp - 4], 0
cmp dword [0x4451e4], 0
mov ebx, eax
jne 0x42bff5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42c0a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x437610
push edi
call esi
test eax, eax
je 0x42c0a6
push eax
call fcn.004236f8
mov dword [esp], 0x437600
push edi
mov dword [0x4451e4], eax
call esi
push eax
call fcn.004236f8
mov dword [esp], 0x4375ec
push edi
mov dword [0x4451e8], eax
call esi
push eax
call fcn.004236f8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4451ec], eax
call esi
push eax
call fcn.004236f8
pop ecx
mov dword [0x4451f4], eax
test eax, eax
je 0x42bff5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004236f8
pop ecx
mov dword [0x4451f0], eax
mov eax, dword [0x4451f0]
cmp eax, ebx
je 0x42c04d
cmp dword [0x4451f4], ebx
je 0x42c04d
push eax
call fcn.00423773
push dword [0x4451f4]
mov esi, eax
call fcn.00423773
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42c04d
test edi, edi
je 0x42c04d
call esi
test eax, eax
je 0x42c044
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42c044
test byte [ebp - 0xc], 1
jne 0x42c04d
or dword [ebp + 0x10], 0x200000
jmp 0x42c086
mov eax, dword [0x4451e8]
cmp eax, ebx
je 0x42c086
push eax
call fcn.00423773
pop ecx
test eax, eax
je 0x42c086
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42c086
mov eax, dword [0x4451ec]
cmp eax, ebx
je 0x42c086
push eax
call fcn.00423773
pop ecx
test eax, eax
je 0x42c086
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4451e4]
call fcn.00423773
pop ecx
test eax, eax
je 0x42c0a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42c0a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4014f3
Capabilities:
Create process on windows

Disassembly:
push 0xaa4
mov eax, 0x417cdd
call fcn.0040ae36
push str._InstallDirSaUpdate.exe_
lea edi, [ebp - 0xa54]
call fcn.004036a5
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, edi
mov dword [esp], str.__noupdates
push eax
call fcn.00404898
push 0x44
pop esi
push esi
lea eax, [ebp - 0xab0]
push ebx
push eax
call fcn.0040a6a0
xor eax, eax
lea edi, [ebp - 0xa64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [ebp - 0xa3c], 0x10
stosd dword es:[edi], eax
mov eax, dword [ebp - 0xa50]
mov dword [ebp - 0xab0], esi
jae 0x401561
lea eax, [ebp - 0xa50]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xa38]
push 0x924
push eax
call fcn.00409a19
add esp, 0x10
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0xab0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa38]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4015de
push 0xc8
push dword [ebp - 0xa64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xa64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xa60]
call esi
xor esi, esi
inc esi
push ebx
push 1
lea ecx, [ebp - 0xa54]
call fcn.004053a5
mov eax, esi
call fcn.0040ae80
ret
xor esi, esi
jmp 0x4015c8
Function at 0x4018ab
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
xor esi, esi
push str.Update
mov dword [ebp - 0x14], edi
inc esi
call fcn.004087c9
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x401960
push ebx
lea ecx, [ebp - 8]
push ecx
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
mov ebx, str.SuggestionsState
push ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call edi
test eax, eax
jne 0x401954
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x401954
add eax, 2
push eax
call fcn.00408e08
pop ecx
push 4
mov dword [ebp - 0x10], eax
pop ecx
mov byte [eax], 0
inc eax
dec ecx
jne 0x40190c
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push ecx
push ebx
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x40194b
xor edi, edi
inc edi
cmp dword [ebp - 0xc], edi
jne 0x40194b
push 0x41b738
push dword [ebp - 0x10]
call fcn.00409bdf
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
neg esi
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call fcn.0040956c
pop ecx
push dword [ebp - 0x18]
call fcn.004088b2
pop ecx
xor edi, edi
pop ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
push SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4019c9
cmp dword [ebp - 4], edi
je 0x4019c9
cmp esi, edi
setne al
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push str.ShowSearchSuggestionsInAddressGlobal
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4019c0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov dword [ebp - 0x14], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
leave
ret
Function at 0x4019d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41f070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, str.SSGuid
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [ebp - 0x28], eax
movsw word es:[edi], word [esi]
mov dword [ebp - 0x18], ebx
call fcn.00404b91
push str.Update
call fcn.004087c9
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x401a86
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call esi
test eax, eax
jne 0x401a7d
mov eax, dword [ebp - 0x20]
add eax, 2
push eax
call fcn.00408e08
pop ecx
push 4
mov edi, eax
pop ecx
mov byte [eax], bl
inc eax
dec ecx
jne 0x401a45
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call esi
test eax, eax
jne 0x401a76
xor esi, esi
inc esi
cmp dword [ebp - 0x1c], esi
jne 0x401a76
push edi
push dword [ebp - 0x28]
call fcn.004054a5
mov dword [ebp - 0x18], esi
push edi
call fcn.0040956c
pop ecx
push dword [ebp - 0x24]
call fcn.004088b2
pop ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], ebx
jne 0x401aa0
push str.171DEBEB_C3D4_40b7_AC73_056A5EBA4A7E
push eax
call fcn.004054a5
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040914b
leave
ret
Function at 0x4038f7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417bee
mov eax, dword fs:[0]
push eax
mov eax, 0x10324
call fcn.00410910
mov eax, dword [0x41f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Macro
call fcn.004087c9
xor esi, esi
pop ecx
mov dword [ebp - 0x10274], eax
cmp eax, esi
je 0x403b75
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push esi
push eax
call fcn.0040a6a0
add esp, 0xc
lea eax, [ebp - 0x102a8]
push eax
lea eax, [ebp - 0x10294]
push eax
lea eax, [ebp - 0x10290]
push eax
lea eax, [ebp - 0x10298]
push eax
lea eax, [ebp - 0x10278]
push eax
lea eax, [ebp - 0x102a0]
push eax
lea eax, [ebp - 0x1029c]
push eax
lea eax, [ebp - 0x10280]
push eax
push esi
lea eax, [ebp - 0x1028c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x10274]
mov dword [ebp - 0x1028c], 0x104
mov dword [ebp - 0x10280], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x10278], esi
je 0x403b75
mov dword [ebp - 0x10270], esi
jbe 0x403b75
mov eax, 0x3fff
mov dword [ebp - 0x10288], eax
mov dword [ebp - 0x1027c], eax
xor eax, eax
mov word [ebp - 0x10218], ax
mov word [ebp - 0x8218], ax
lea eax, [ebp - 0x10288]
push eax
lea eax, [ebp - 0x10218]
push eax
lea eax, [ebp - 0x10284]
push eax
push esi
lea eax, [ebp - 0x1027c]
push eax
lea eax, [ebp - 0x8218]
push eax
push dword [ebp - 0x10270]
push dword [ebp - 0x10274]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, esi
jne 0x403b5d
cmp dword [ebp - 0x10284], 1
jne 0x403b5d
lea edi, [ebp - 0x8218]
lea ebx, [ebp - 0x10234]
call fcn.004013d1
push str.locale
mov eax, ebx
mov dword [ebp - 4], esi
call fcn.00406dbb
pop ecx
test al, al
je 0x403a7e
lea ecx, [ebp - 0x10218]
call fcn.004042c1
jmp 0x403b4b
cmp dword [ebp - 0x1021c], 0x10
mov eax, dword [ebp - 0x10230]
jae 0x403a93
lea eax, [ebp - 0x10230]
push eax
call fcn.00404725
pop ecx
test eax, eax
jne 0x403b4b
push esi
lea ecx, [ebp - 0x1026c]
mov dword [ebp - 0x10254], 0xf
call fcn.00405389
lea esi, [ebp - 0x10250]
call fcn.00404833
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10234]
push eax
lea ecx, [ebp - 0x1026c]
mov byte [ebp - 4], 1
call fcn.00404dbf
lea eax, [ebp - 0x10328]
mov dword [ebp - 0x1032c], eax
push 3
lea eax, [ebp - 0x10218]
push eax
lea eax, [ebp - 0x1032c]
push eax
call fcn.004057c1
mov byte [ebp - 4], 2
push dword [ebp - 0x1032c]
mov ecx, esi
call fcn.00404e51
lea eax, [ebp - 0x10328]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1032c], eax
je 0x403b2d
push dword [ebp - 0x1032c]
call fcn.0040940d
pop ecx
lea eax, [ebp - 0x1026c]
push eax
mov ecx, 0x421464
call fcn.00406d14
lea esi, [ebp - 0x1026c]
call fcn.004014db
xor esi, esi
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x10234]
call fcn.004053a5
inc dword [ebp - 0x10270]
mov eax, dword [ebp - 0x10270]
cmp eax, dword [ebp - 0x10278]
jb 0x4039dd
push dword [ebp - 0x10274]
call fcn.004088b2
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040914b
leave
ret
Function at 0x4073be
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
push edi
push 3
pop edi
push dword [esp + 0xc]
call fcn.004087c9
mov esi, eax
pop ecx
test esi, esi
je 0x4073ed
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push 0
push 0
push dword [esp + 0x20]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push esi
call fcn.004088b2
pop ecx
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
ret
Function at 0x4081f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
lea ecx, [ebp - 8]
push ecx
push eax
mov edi, str.Version
push edi
push dword [ebx]
mov dword [ebp - 0x10], eax
call esi
test eax, eax
jne 0x408267
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.00408e08
pop ecx
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebx]
call esi
test eax, eax
jne 0x40825e
xor esi, esi
inc esi
cmp dword [ebp - 8], esi
jne 0x40825e
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004054a5
mov dword [ebp - 0x10], esi
push dword [ebp - 0xc]
call fcn.0040956c
pop ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
leave
ret

Function at 0x408771
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x41f070]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4087b2
cmp dword [ebp - 0x70], 2
jne 0x4087b2
cmp dword [ebp - 0x7c], 6
jb 0x4087b2
xor eax, eax
inc eax
jmp 0x4087b4
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0040914b
add ebp, 0x98
leave
ret
Function at 0x40914b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f070]
jne 0x409155
repz ret
jmp fcn.0040af43

Function at 0x41418e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c669
and dword [ebp - 4], 0
cmp dword [0x4212ac], 0
mov ebx, eax
jne 0x41423f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4142f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4142f0
push eax
call fcn.0040c5f7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4212ac], eax
call esi
push eax
call fcn.0040c5f7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4212b0], eax
call esi
push eax
call fcn.0040c5f7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4212b4], eax
call esi
push eax
call fcn.0040c5f7
pop ecx
mov dword [0x4212bc], eax
test eax, eax
je 0x41423f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c5f7
pop ecx
mov dword [0x4212b8], eax
mov eax, dword [0x4212b8]
cmp eax, ebx
je 0x414297
cmp dword [0x4212bc], ebx
je 0x414297
push eax
call fcn.0040c672
push dword [0x4212bc]
mov esi, eax
call fcn.0040c672
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414297
test edi, edi
je 0x414297
call esi
test eax, eax
je 0x41428e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41428e
test byte [ebp - 0xc], 1
jne 0x414297
or dword [ebp + 0x10], 0x200000
jmp 0x4142d0
mov eax, dword [0x4212b0]
cmp eax, ebx
je 0x4142d0
push eax
call fcn.0040c672
pop ecx
test eax, eax
je 0x4142d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4142d0
mov eax, dword [0x4212b4]
cmp eax, ebx
je 0x4142d0
push eax
call fcn.0040c672
pop ecx
test eax, eax
je 0x4142d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4212ac]
call fcn.0040c672
pop ecx
test eax, eax
je 0x4142f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4142f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100022de
pop dword [ebp - 0x2c]
mov eax, 0x851ccd9d
sub eax, 0x751caabf
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xc946a215
add dword [ebp - 0x3c], 0x850ba336
mov dword [ebp - 0x38], 0xd2c950e1
add dword [ebp - 0x38], 0x5f69fb64
mov dword [ebp - 0x34], 0x8102466d
sub dword [ebp - 0x34], 0x34b6023f
mov dword [ebp - 0x30], 0x6b8819fd
sub dword [ebp - 0x30], 0x6b8819fd
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x919858b8
add eax, 0x7e67d74c
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x859f38b0
add dword [ebp - 0x3c], 0xeed330a6
mov dword [ebp - 0x38], 0xf3e74f44
add dword [ebp - 0x38], 0x4d851231
mov dword [ebp - 0x34], 0x205f744e
add dword [ebp - 0x34], 0x430ff81e
mov dword [ebp - 0x30], 0x139d60ad
sub dword [ebp - 0x30], 0x139d60ad
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x34f3a
push 0
call eax
mov ecx, 0xaa89db9
add ecx, 0xf557a423
xor esi, esi
add esi, eax
mov edi, 0x10006200
add edi, dword [ebp - 0x2c]
mov ebx, 0x1958e8d1
sub ebx, 0x2d0f130a
xor dword [ebp - 8], 0x30a32cc6
mov edx, dword [edi]
mov dword [ebp - 0x10], 0x7d3928da
sub edx, ebx
mov dword [ebp - 0xc], 0xa1f8dfdf
mov dword [esi], edx
mov dword [ebp - 0x10], 0x666f0a14
add esi, 0x230f14eb
sub esi, 0x230f14e7
add edi, 0x7ac3003c
add edi, 0x853cffc8
loop 0x100023f7
add eax, 0x797057c1
sub eax, 0x796f5d7e
mov ebx, eax
add eax, 0xc2645860
add eax, 0x3d9ba7a5
mov ecx, 0xeba2a78b
sub ecx, 0xdba2a78b
add ecx, dword [ebp - 0x2c]
Function at 0x2e014b3c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x2e0302bf
call fcn.2e00153c
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x2e014b76
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e014bdc
lea eax, [ebp - 0x14]
mov edi, 0x2e032941
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e014bd3
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x2e014bd3
inc eax
push eax
call fcn.2e019f2b
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], ebx
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e014bc5
mov ecx, dword [ebp + 0xc]
push esi
call fcn.2e010c49
mov bl, 1
or dword [ebp - 4], 0xffffffff
push 1
push esi
call fcn.2e019f2b
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001586
ret 8
Function at 0x461920
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x461934
call fcn.004618a0
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x461927
pop esi
cmp ebx, 0x2d
jne 0x46194e
mov dword [0x85fb98], 0xa62e7790
mov dword [0x85fb9c], 0xffffffff
ret

Function at 0x461950
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x46c004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x46cdb8]
push ebx
mov ebx, dword [0x85fb8c]
push edi
mov edi, dword [0x85d70c]
call fcn.004618f0
cmp dword [0x85fb8c], 0x2f
jne 0x4619bd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00461920
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010cc
add esp, 0x24
ret
Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret