joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4091f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
push esi
push 0x400
lea eax, [ebp - 0x454]
push eax
xor esi, esi
push esi
call fcn.00418804
add esp, 0xc
test eax, eax
jne 0x40921f
inc eax
jmp 0x409288
push edi
push str._binjavacpl.exe
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0041b010
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.__tab_update
lea eax, [ebp - 0x454]
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
test eax, eax
je 0x409286
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
pop esi
leave
ret 4

Function at 0x409939
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push ebx
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x4470ac]
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x38], eax
call fcn.00417686
mov dword [esi + 0x3c], eax
call fcn.0040d279
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x40], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x38]
call edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x409860
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x4099c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
mov ebx, 0x104
push ebx
lea eax, [esi + 0x58]
push eax
push 0x7b
push dword [esi + 0x18]
call edi
push ebx
lea eax, [ebp - 0x104]
push eax
push 0x7c
push dword [esi + 0x18]
call edi
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.004092b1
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x40a23d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x40a250
push 0xd
pop eax
jmp 0x40a278
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40a253
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40a741
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push dword [ebp + 8]
xor esi, esi
push dword [edi]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.0040a1ba
mov ebx, eax
cmp ebx, esi
je 0x40a787
lea ecx, [ebp - 0x10]
call fcn.0040a137
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x40a7a2
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a741
cmp eax, esi
jne 0x40a7d7
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], 0x100
call ebx
test eax, eax
je 0x40a78f
lea ecx, [ebp - 0x10]
call fcn.0040a137
push dword [ebp + 8]
mov ecx, edi
call fcn.0040a0c7
lea ecx, [ebp - 0x10]
mov esi, eax
call fcn.0040a137
mov eax, esi
jmp 0x40a780
Function at 0x40ad3e
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x43fdb0
call fcn.0041b9f0
push 0x4358f2
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x446e04
mov ecx, 0x446e34
call fcn.00409c8f
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x4359c8
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00404018
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40ae8a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40af73
push str.RegServer
push esi
call edi
test eax, eax
je 0x40ae87
push 4
push str.auto
push esi
call fcn.0041bfba
add esp, 0xc
test eax, eax
jne 0x40adf1
mov dword [0x444b50], ebx
mov dword [str.jau_m], 0x4359ec
jmp 0x40ae6f
push 9
push str.scheduled
push esi
call fcn.0041bfba
add esp, 0xc
test eax, eax
jne 0x40ae11
mov dword [0x446e28], 1
jmp 0x40ae6f
push 7
push str.pending
push esi
call fcn.0041bfba
add esp, 0xc
test eax, eax
jne 0x40ae31
mov dword [0x446e2c], 1
jmp 0x40ae6f
push 8
push 0x435a04
push esi
call fcn.0041bfba
add esp, 0xc
test eax, eax
jne 0x40ae51
mov dword [0x446e30], 1
jmp 0x40ae6f
push 4
push str.test
push esi
call fcn.0041bfba
add esp, 0xc
test eax, eax
jne 0x40ae6f
lea eax, [esi + 5]
push eax
call fcn.0040d0b2
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404018
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40adab
jmp 0x40ae8a
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40af73
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40af35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40af35
call fcn.00418ee1
test eax, eax
jne 0x40af17
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4470b0]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4470b0]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40af6a
push dword [0x444b54]
push 0x435a34
push ebx
call fcn.00417345
add esp, 0xc
call fcn.0040acf0
mov dword [ebp - 0x1c], eax
jmp 0x40af6a
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40af6a
cmp dword [0x444b50], ebx
jne 0x40af51
cmp dword [0x446e28], ebx
je 0x40af6a
push dword [0x444b54]
push 0x435a3c
push ebx
call fcn.00417345
add esp, 0xc
call fcn.0040d2d8
or dword [ebp - 4], 0xffffffff
call fcn.0040af90
mov ecx, 0x446e34
call fcn.00409daa
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret 0x10
Function at 0x40bbd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432dbb
call fcn.0041b53c
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x40bc6a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401ab0
add esp, 0xc
test eax, eax
js 0x40bc6a
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x40bc4e
push esi
call fcn.00402aa1
pop ecx
test al, al
je 0x40bc4e
mov eax, esi
call fcn.0041b560
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40bc5a
push esi
lea ecx, [ebp - 0x18]
call fcn.00402f60
mov edi, dword [ebp - 0x18]
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.0040136d
cmp eax, ebx
jne 0x40bc9c
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bc8e
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bc8e
push edi
mov edi, dword [edi]
call fcn.0041b58c
pop ecx
cmp edi, ebx
jne 0x40bc85
mov eax, 0x8007000e
jmp 0x40bd9a
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x40bcbb
call fcn.00403f7a
mov esi, eax
jmp 0x40bd70
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40bcd8
call fcn.00403f7a
jmp 0x40bd65
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40bcce
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x40bd02
mov esi, 0x8007000e
jmp 0x40bd67
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0040aff4
mov dword [ebp - 4], 1
jmp 0x40bd2e
cmp dword [ebp - 0x424], 0
je 0x40bcfb
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x424]
call fcn.00401b2f
mov eax, dword [ebp - 0x424]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040bad8
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bd94
lea ecx, [ebp - 0x424]
call fcn.0040a6ea
jmp 0x40bd94
push edi
mov edi, dword [edi]
call fcn.0041b58c
pop ecx
test edi, edi
jne 0x40bd8b
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40c6cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x40c6e5
push 0x80004005
call fcn.00401adf
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x40c734
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x40c732
cmp dword [ebp + 0x10], ebx
jbe 0x40c72f
cmp dword [ebp + 0x10], 2
jbe 0x40c73b
cmp dword [ebp + 0x10], 7
jne 0x40c72f
cmp ecx, 1
jb 0x40c72f
lea edx, [ecx + esi]
cmp byte [edx - 1], bl
jne 0x40c72f
cmp ecx, 1
jbe 0x40c734
cmp byte [edx - 2], bl
je 0x40c734
push 0xd
pop eax
mov byte [esi], bl
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp byte [ecx + esi - 1], bl
jmp 0x40c72d
Function at 0x40d619
Capabilities:
Create thread
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00418cc3
test eax, eax
jne 0x40d62a
leave
ret
push ebx
push 4
pop eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.004172ec
pop ecx
pop ecx
test eax, eax
jne 0x40d655
inc eax
jmp 0x40d772
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x4364e4
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40d6a9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x4364f4
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40d6a9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40d771
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436504
push dword [ebp - 4]
call edi
neg eax
sbb esi, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436510
push dword [ebp - 4]
inc esi
call edi
neg eax
sbb eax, eax
inc eax
cmp esi, ebx
jne 0x40d723
cmp eax, ebx
jne 0x40d723
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x43651c
push dword [ebp - 4]
call esi
push 0x43652c
push dword [ebp - 4]
call esi
push 0x436540
push dword [ebp - 4]
call esi
push 0x436554
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d734
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x446f94], ebx
je 0x40d739
xor eax, eax
inc eax
jmp 0x40d770
xor esi, esi
inc esi
cmp dword [ebp + 8], ebx
jne 0x40d762
push 0x446f94
push ebx
push ebx
push fcn.0040d3cc
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40d76e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d76e
push ebx
mov dword [0x446f94], esi
call fcn.0040d3cc
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40d83f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x436680
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 3
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x436684
xor edi, edi
push edi
call fcn.00418418
call fcn.00410901
push str.country_code_is_deleted_after_checker_fail_to_download
call fcn.00417b54
add esp, 0x14
push 0x435d47
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 4], 0x100
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x4366c4
push edi
call fcn.00418418
add esp, 0x10
push 0x4366d4
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
push str.InstalledJREVersion
push edi
mov dword [ebp - 4], 0x80
call fcn.00418418
add esp, 0x10
push 0x4366ec
lea eax, [ebp - 0x88]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x4366f0
push edi
mov dword [ebp - 4], 0x80
call fcn.00418418
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 8]
push eax
push 0x436700
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.00419858
add esp, 0x48
pop edi
pop esi
leave
ret
Function at 0x40ed58
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x45c
push 0x440190
call fcn.0041b9f0
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40ed8c
mov eax, ebx
jmp 0x40eed3
push str.http:__java.sun.com
push 0x436834
lea eax, [ebp - 0x16c]
push eax
call fcn.0041bbda
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x436838
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x40eec7
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0041b010
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x5c], eax
mov eax, 0x100
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x436752
push 0x436753
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x40eec7
push esi
push 0x4400000
push esi
push 0x43675a
push 0x436840
lea ecx, [ebp - 0x26c]
push ecx
push 0x43684c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x40eec7
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40ee9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x2ee2
je 0x40ee9c
sub eax, 5
je 0x40ee9c
sub eax, 0x16
jne 0x40ee9f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40eec7
cmp dword [ebp - 0x20], 0x197
jne 0x40eec7
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040eedb
mov eax, dword [ebp - 0x1c]
call fcn.0041ba2b
ret

Function at 0x40f5c2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xcc
cmp word [ebp + 0xc], ax
jne 0x40f5e9
push 1
xor eax, eax
push eax
push eax
add ecx, 0x528
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop ebp
ret 0x10
Function at 0x40f7e7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + 0x728]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
test eax, eax
jle 0x40f816
lea eax, [esi + 0x728]
push eax
push dword [esi + 4]
call ebx
lea eax, [esi + 0x28]
push eax
call edi
test eax, eax
jne 0x40f837
push 0x400
lea eax, [esi + 0x28]
push eax
push 0x7e
push dword [0x4470ac]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x98
push dword [esi + 4]
call edi
lea ecx, [esi + 0x28]
push ecx
push eax
call ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xcc
push dword [esi + 4]
mov dword [esi + 0x7c8], eax
xor eax, eax
mov dword [esi + 0x7a8], eax
mov dword [esi + 0x7cc], eax
mov dword [esi + 0x7d0], eax
call edi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xc9
push dword [esi + 4]
call edi
mov dword [ebp - 4], eax
lea eax, [esi + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40f8d2
push 0x100
lea eax, [esi + 0x428]
push eax
push 0x7b
push dword [0x4470ac]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esi + 0x428]
push eax
push dword [ebp - 4]
call ebx
lea eax, [esi + 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40f903
push 0xcc
push dword [esi + 4]
call edi
lea ecx, [esi + 0x628]
push ecx
push eax
call ebx
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x7d4], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x7d4]
mov dword [esi + 0x7d8], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi + 0x7d8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push esi
push 0x40f785
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40f961
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x410901
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
push 0x436db4
push 0
call fcn.00417345
mov esi, eax
add esp, 0xc
test esi, esi
je 0x410924
push str.Country_Code_deleted
call fcn.00417b54
pop ecx
mov eax, esi
pop esi
ret

Function at 0x410b11
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x436e0c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410bde
mov byte [ebp - 0x40c], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x436e34
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jbe 0x410bde
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x40c]
push eax
call esi
test eax, eax
je 0x410bde
lea eax, [ebp - 0x40c]
push eax
call esi
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x410ba2
xor eax, eax
jmp 0x410bbc
lea eax, [esi + esi]
call fcn.0041b560
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.00401335
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
xor eax, eax
push 4
pop ecx
mov edi, 0x43a358
repe cmpsd dword [esi], dword es:[edi]
setne al
dec eax
and eax, 0x80004005
jmp 0x410be3
mov eax, 0x80004005
lea esp, [ebp - 0x414]
pop edi
pop esi
leave
ret

Function at 0x410bed
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push 0x436e44
mov esi, 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410c22
mov eax, esi
jmp 0x410cc4
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x43a358
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x410c49
push 0x436e6c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x410cb9
xor ebx, ebx
jmp 0x410cb9
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, eax
test ebx, ebx
js 0x410caa
mov edi, dword [ebp - 4]
test edi, edi
je 0x410c75
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410c79
xor eax, eax
jmp 0x410c8f
lea esi, [eax + eax]
mov eax, esi
call fcn.0041b560
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040136d
push 4
push eax
push 1
push 0
push 0x436e7c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x410caa
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x410cb9
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret