joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423d20
Capabilities:
Resume thread

Disassembly:
mov eax, 0x45de64
call fcn.0043baec
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
mov ebx, ecx
mov dword [ebp - 0x10], esi
mov dword [eax], esi
je 0x423e6c
cmp byte [edi], 0
je 0x423e6c
mov eax, dword [ebx + 0x13d0]
lea ecx, [ebx + 0x13d0]
push 0x2710
call dword [eax + 0xc]
test eax, eax
je 0x423e6c
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
call fcn.004504d4
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
call fcn.004504d4
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004504d4
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 2
call fcn.00423e80
test eax, eax
jne 0x423e30
mov edi, dword [ebx + 0x13f0]
lea eax, [ebx + 0x13f0]
push 0x14
lea ecx, [edi + 1]
mov dword [eax], ecx
call fcn.004500ea
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 3
je 0x423e09
push dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], edi
call fcn.004504d4
push dword [ebp + 0xc]
lea ecx, [esi + 8]
mov byte [ebp - 4], 4
call fcn.004504d4
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 5
call fcn.004504d4
and dword [esi + 0x10], 0
jmp 0x423e0b
xor esi, esi
mov eax, dword [ebx + 0x13fc]
lea ecx, [ebx + 0x13f4]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.0044bafb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], 1
xor esi, esi
mov dword [eax], edi
mov eax, dword [ebx + 0x13d0]
lea ecx, [ebx + 0x13d0]
call dword [eax + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00423a03
cmp dword [ebp - 0x10], esi
je 0x423e6c
mov eax, dword [ebx + 0x13c4]
cmp eax, esi
je 0x423e65
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x423e6c
mov ecx, ebx
call fcn.004245a1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x423f7d
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c4]
test eax, eax
je 0x423fc7
push ebx
push edi
lea edi, [esi + 0x13cc]
mov dword [edi], 1
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ebx, [esi + 0x13c8]
push 0x4e20
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
and dword [esi + 0x13c4], 0
pop edi
pop ebx
pop esi
ret
Function at 0x4245a1
Capabilities:
Resume thread

Disassembly:
mov eax, 0x45ded4
call fcn.0043baec
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 4
mov esi, ecx
push ebx
push ebx
push esi
push 0x42465b
call fcn.00450d8b
mov dword [esi + 0x13c4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 0x13c4]
push 2
lea edi, [esi + 0x13c8]
push 1
push ebx
push edi
push eax
push dword [ecx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x42463a
mov eax, dword [0x47f440]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.DuplicateHandle_failed__err__d.
push eax
call fcn.0044ad19
lea eax, [ebp - 0x10]
push eax
push 5
push 0x41a
push str.D:Source_CodeClient_CodeScriptLoaderScriptLoader.cpp
call fcn.0043304a
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.00450466
mov dword [edi], ebx
mov eax, dword [esi + 0x13c4]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x45e30b
call fcn.0043baec
sub esp, 0x48
and dword [ebp - 0x18], 0
push ebx
push esi
lea eax, [ebp - 0x54]
push edi
mov esi, ecx
push eax
call fcn.004271d7
mov edi, eax
push 1
lea eax, [ebp - 0x50]
pop ebx
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
call fcn.00427254
mov dword [ebp - 0x14], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x4c]
mov ecx, esi
mov byte [ebp - 4], 2
push eax
call fcn.00426ba3
mov dword [ebp - 0x10], eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004504d4
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004504d4
mov dword [ebp + 0x18], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004504d4
mov esi, 0x479aa0
mov byte [ebp - 4], 6
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004506fb
push dword [ebp + 0x18]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00450695
push esi
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push eax
call fcn.004506fb
push dword [ebp + 0x14]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00450695
push esi
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
call fcn.004506fb
mov byte [ebp - 4], 0xb
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00450695
push esi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xc
push eax
call fcn.004506fb
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00450695
push esi
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
push eax
call fcn.004506fb
push edi
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 0xf
call fcn.00450695
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xe
call fcn.00450466
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00450466
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00450466
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.00450466
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00450466
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00450466
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00450466
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00450466
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00450466
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00450466
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00450466
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00450466
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00450466
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00450466
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00450466
mov eax, dword [ebp + 8]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x42736d
Capabilities:
Resume thread

Disassembly:
mov eax, 0x45e53c
call fcn.0043baec
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 4
mov esi, ecx
push ebx
push ebx
push esi
push 0x427418
call fcn.00450d8b
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 4]
push 2
lea edi, [esi + 8]
push 1
push ebx
push edi
push eax
push dword [ecx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x4273fa
mov eax, dword [0x47f440]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.DuplicateHandle_failed__err__d.
push eax
call fcn.0044ad19
lea eax, [ebp - 0x10]
push eax
push 5
push 0x63
push str.D:Source_CodeClient_CodeclientStatsUtilThread.cpp
call fcn.0043304a
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.00450466
mov dword [edi], ebx
mov eax, dword [esi + 4]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4280c0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x487518]
sub esp, 0x98
test eax, eax
jne 0x428108
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4280fe
cmp dword [esp + 0x14], 1
jne 0x4280fe
cmp dword [esp + 0xc], 0xa
jb 0x4280fe
mov dword [0x487514], 1
mov dword [0x487518], 1
mov eax, dword [0x487514]
test eax, eax
je 0x428163
push esi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 4]
push 1
push ecx
push 0
push 0x2000
mov dword [esp + 0x14], 0
call esi
push 1
push 0
push 0
push 0x2001
call esi
mov edx, dword [esp + 0xa0]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 4]
push 1
push eax
push 0
push 0x2001
call esi
pop esi
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
add esp, 0x98
ret

Function at 0x428270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45e778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x40]
push esi
push eax
push ecx
call fcn.00413888
mov eax, dword [esp + 0x50]
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00413888
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
add esp, 0x10
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00428320
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], 0
push edx
call fcn.00450113
mov eax, dword [esp + 8]
push eax
call fcn.00450113
add esp, 8
lea ecx, [esp + 8]
call fcn.004284e0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004284c0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x429270
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x487af0]
sub esp, 0x1c4
test eax, eax
jne 0x42933e
lea eax, [esp + 0x34]
push esi
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x4292f7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push str.GatorAsyncWndClass
push esi
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
pop edi
jne 0x4292ed
lea edx, [esp + 8]
mov dword [esp + 8], 0x30
push edx
mov dword [esp + 0x14], 0x429360
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], str.GatorAsyncWndClass
call dword [sym.imp.USER32.dll_RegisterClassExA]
jmp 0x4292f7
mov dword [0x487aec], 1
mov byte [0x487af4], 0
lea eax, [esp + 4]
push eax
push str.GetHostByNameTimeout
push str.softwareGator.comGatordyn
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x14], 0
call fcn.0042a020
add esp, 0x10
test eax, eax
pop esi
je 0x429334
mov eax, dword [esp]
test eax, eax
mov dword [0x479ef4], eax
jne 0x42933e
mov dword [0x479ef4], 0x14
mov eax, dword [0x487af0]
inc eax
mov dword [0x487af0], eax
mov eax, dword [0x487aec]
add esp, 0x1c4
ret
Function at 0x4296d0
Capabilities:
Get hostname

Disassembly:
push esi
xor esi, esi
call fcn.00429270
test eax, eax
je 0x4296f4
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call sub.WSOCK32.dll_gethostname
test eax, eax
mov eax, 1
je 0x4296f6
mov eax, esi
pop esi
ret
Function at 0x429ef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor esi, esi
cmp ebp, esi
mov dword [esp + 8], esi
je 0x429f04
mov dword [ebp], esi
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x42a00f
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x42a00f
cmp byte [eax], 0
je 0x42a00f
cmp ebp, esi
je 0x42a00f
lea edx, [esp + 0x14]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42a00f
mov edx, dword [esp + 0x14]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
push esi
push edi
push edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
call ebx
test eax, eax
jne 0x429ffc
mov eax, dword [esp + 0x24]
push eax
call fcn.004500ea
mov esi, eax
add esp, 4
test esi, esi
je 0x429ff8
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
jne 0x429fef
mov eax, dword [esp + 0x18]
mov ebx, 1
cmp eax, ebx
jne 0x429fef
mov ecx, dword [esp + 0x24]
inc ecx
push ecx
call fcn.004500ea
mov edx, dword [esp + 0x28]
mov edi, eax
xor eax, eax
mov dword [ebp], edi
lea ecx, [edx + 1]
add esp, 4
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp]
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esp + 0x10], ebx
push esi
call fcn.00450113
add esp, 4
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x42a020
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
cmp ecx, esi
mov dword [edi], esi
je 0x42a099
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x42a099
cmp byte [eax], 0
je 0x42a099
lea edx, [esp + 0xc]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42a099
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push edi
push ecx
push esi
push edx
push eax
mov dword [esp + 0x28], 4
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42a08e
cmp dword [esp + 0x18], 4
jne 0x42a08e
mov esi, 1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
ret
Function at 0x42a0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor esi, esi
xor ebp, ebp
cmp ebx, esi
mov dword [esp + 0xc], ebp
je 0x42a0b6
mov dword [ebx], esi
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x42a1bd
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x42a1bd
cmp byte [eax], 0
je 0x42a1bd
lea edx, [esp + 0x18]
push edx
push 0x20019
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42a1bd
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea ecx, [esp + 0x1c]
push esi
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
push esi
mov esi, dword [esp + 0x30]
push esi
push edx
call edi
test eax, eax
jne 0x42a1aa
mov eax, dword [esp + 0x24]
push eax
call fcn.004500ea
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42a1a6
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push 0
push esi
push eax
call edi
test eax, eax
jne 0x42a19d
cmp dword [esp + 0x18], 3
jne 0x42a19d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004500ea
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [ebx], eax
xor eax, eax
mov dword [edx], ecx
mov edi, dword [ebx]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], 1
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x24]
mov edi, dword [ebx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call fcn.00450113
add esp, 4
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x42a1d0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push edi
xor edi, edi
test ecx, ecx
je 0x42a23e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42a23e
cmp byte [eax], 0
je 0x42a23e
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
push edx
push edi
push 0x20006
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42a23e
push esi
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push 1
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop esi
jne 0x42a233
mov edi, 1
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
ret
Function at 0x42a250
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
xor esi, esi
test ecx, ecx
je 0x42a2b5
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42a2b5
cmp byte [eax], 0
je 0x42a2b5
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
push edx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42a2b5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42a2aa
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret

Function at 0x42a2c0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
xor esi, esi
test ecx, ecx
je 0x42a328
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42a328
cmp byte [eax], 0
je 0x42a328
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
push edx
push esi
push 0x20006
push esi
push esi
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42a328
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push ecx
push 3
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x42a31d
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret

Function at 0x42a330
Capabilities:
Delete registry value

Disassembly:
mov ecx, dword [esp + 4]
push esi
xor esi, esi
test ecx, ecx
je 0x42a381
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42a381
cmp byte [eax], 0
je 0x42a381
lea edx, [esp + 8]
push edx
push 0x20006
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42a381
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 8]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
ret
Function at 0x42a920
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x488
push ebx
push ebp
mov ebp, dword [esp + 0x498]
push esi
push edi
mov edi, dword [esp + 0x49c]
push ebp
push edi
lea eax, [esp + 0xa0]
push str._DownloadUrlToMem__s__s_._n
mov ebx, ecx
push eax
call fcn.0043c490
add esp, 0x10
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x14], 0x50
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043c2e0
add esp, 8
test eax, eax
je 0x42a9bf
lea edx, [esp + 0x10]
mov byte [eax], 0
push edx
inc eax
push 0x476930
push eax
call fcn.0043c073
add esp, 0xc
cmp eax, 1
je 0x42a9bf
mov dword [esp + 0x10], 0x50
mov ecx, dword [esp + 0x4a8]
test ecx, ecx
je 0x42a9d0
mov dword [ecx], 0
mov eax, dword [esp + 0x4ac]
mov edx, dword [esp + 0x4a4]
push 0
push eax
mov dword [eax], 0
push ecx
lea eax, [esp + 0x20]
lea ecx, [ebx + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ecx
push 0
push 1
push edx
push ebp
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x40], 0x800
call fcn.0042ad80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x488
ret 0x14

Function at 0x42aa40
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x488
push ebx
push ebp
mov ebp, dword [esp + 0x498]
push esi
push edi
mov edi, dword [esp + 0x49c]
push ebp
push edi
lea eax, [esp + 0xa0]
push str._PostDataToUrl__s__s_._n
mov ebx, ecx
push eax
call fcn.0043c490
add esp, 0x10
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3a
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x14], 0x50
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043c2e0
add esp, 8
test eax, eax
je 0x42aadf
lea edx, [esp + 0x10]
mov byte [eax], 0
push edx
inc eax
push 0x476930
push eax
call fcn.0043c073
add esp, 0xc
cmp eax, 1
je 0x42aadf
mov dword [esp + 0x10], 0x50
mov ecx, dword [esp + 0x4ac]
test ecx, ecx
je 0x42aaf0
mov dword [ecx], 0
mov eax, dword [esp + 0x4b0]
mov edx, dword [esp + 0x4a8]
push 0
push eax
mov dword [eax], 0
push ecx
lea eax, [esp + 0x20]
lea ecx, [ebx + 0x28]
push eax
mov eax, dword [esp + 0x4b4]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 3
push eax
push ebp
lea edx, [esp + 0x3c]
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x40], 0x800
call fcn.0042ad80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x488
ret 0x18
Function at 0x42b270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x5c]
push eax
push esi
push 0x104
push 0
push str.wininet.dll
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
pop ecx
ret