joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d965
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x74
mov eax, 0x493928
call fcn.00464b13
mov edi, dword [ebp + 8]
xor esi, esi
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x30], 7
call fcn.004024d0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], esi
call fcn.0040d7e2
test eax, eax
pop ecx
jne 0x40d99f
push esi
push 1
jmp 0x40da55
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d650
lea eax, [ebp - 0x48]
push eax
xor ebx, ebx
lea eax, [ebp - 0x80]
push str.dlcore_
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0040d605
push str..dll
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 2
call fcn.0040afe9
add esp, 0x1c
push esi
push ebx
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.004021e1
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab49
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d9ff
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40da3f
test al, 0x10
jne 0x40da3f
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00402109
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004021e1
mov eax, ebx
jmp 0x40da5f
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004021e1
xor eax, eax
call fcn.00464b96
ret

Function at 0x40dc96
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40dcec
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x40dd02
push 0x80004005
call fcn.0040a2b6
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40dd05
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40e2f1
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x40e335
lea eax, [ebp - 0x194]
push eax
xor eax, eax
mov ah, byte [ebp + 0x10]
mov al, byte [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00464a9b
leave
ret
Function at 0x40edb1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.0040dc61
mov edi, eax
cmp edi, esi
je 0x40ee19
lea ecx, [ebp - 0x70]
call fcn.0040dbfc
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464a9b
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40ee31
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040edb1
cmp eax, esi
jne 0x40ee64
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x40ee21
lea ecx, [ebp - 0x70]
call fcn.0040dbfc
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040dbfc
mov eax, esi
jmp 0x40edff
Function at 0x413035
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x41305a
cmp word [eax], 0
je 0x41305a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41305a
and al, 0x10
cmp al, 0x10
setne al
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x419f39
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00419f25
test al, al
push 0
push dword [esi + 4]
je 0x419f7c
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x419f92
push method.std::messages_wchar_t_.virtual_12
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
leave
ret

Function at 0x4264ff
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push edi
xor eax, eax
push eax
push eax
push 1
push eax
mov edi, ecx
call ebx
test eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
jne 0x426555
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.004915f0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push str.thread.entry_event
push eax
call fcn.00412def
pop ecx
pop ecx
xor eax, eax
push eax
push eax
push 1
push eax
call ebx
mov dword [edi + 8], eax
mov dword [esi + 8], eax
cmp dword [edi + 8], 0
jne 0x426595
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [ebp - 0x10], ebx
call fcn.004915f0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push str.thread.exit_event
push eax
call fcn.00412def
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push esi
push 0x41d467
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push ebx
call fcn.0046703b
add esp, 0x18
cmp eax, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 4], eax
jne 0x426602
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [ebp - 4], 0
je 0x4265da
push dword [ebp - 4]
call ebx
mov edi, dword [edi + 8]
test edi, edi
je 0x4265e4
push edi
call ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.004915f0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push str.thread
push eax
call fcn.00412def
pop ecx
pop ecx
cmp dword [ebp - 4], 0
je 0x426618
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x427d74
Capabilities:
Delete file

Disassembly:
push 0xac
mov eax, 0x4959d4
call fcn.00464b13
mov edi, ecx
xor esi, esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00433b12
pop ecx
pop ecx
push 0x4a8d80
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], esi
call fcn.004041de
lea eax, [ebp - 0xb8]
push eax
xor ebx, ebx
lea eax, [ebp - 0x48]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.00433609
pop ecx
pop ecx
push esi
push ebx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.004021e1
cmp dword [ebp - 0x50], esi
je 0x427f7b
cmp dword [ebp - 0x34], esi
je 0x427f7b
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432e8c
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00402109
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004021e1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432e8c
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00402109
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004021e1
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041d618
cmp eax, 0xffffffff
je 0x427f7b
lea ecx, [ebp - 0x8c]
call fcn.0041e4a2
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00427c7b
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
lea ecx, [ebp - 0x8c]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.004164b6
jmp 0x427f3a
lea ecx, [ebp - 0x94]
call fcn.004392bb
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00432e8c
pop ecx
pop ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.0041d046
test eax, eax
je 0x427f21
push str._tencentdl.exe
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0040afe9
add esp, 0xc
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 4], 8
jae 0x427ee2
lea eax, [ebp - 0x7c]
push eax
call fcn.00413035
test al, al
pop ecx
je 0x427f04
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x427ef9
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x427f17
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x427f10
lea eax, [ebp - 0x28]
push eax
call fcn.004326c1
pop ecx
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.004021e1
lea ecx, [ebp - 0x94]
call fcn.0041b426
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x9c]
call fcn.004164b6
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0043f2c1
test al, al
je 0x427e92
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 3
call fcn.00425720
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004021e1
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004021e1
call fcn.00464b96
ret
Function at 0x428baa
Capabilities:
Print debug messages

Disassembly:
push 0xac
mov eax, 0x495aba
call fcn.00464aaa
mov esi, ecx
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004129c6
xor ebx, ebx
cmp byte [esi + 4], bl
mov dword [ebp - 4], ebx
je 0x428d65
mov byte [esi + 4], bl
call fcn.004915f0
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x48]
call fcn.004254a2
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x70]
call fcn.004254a2
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x98]
call fcn.004254a2
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xc0]
call fcn.004254a2
mov eax, 0x41e1a8
push esi
push eax
lea ecx, [esi + 0xc]
call fcn.004245cb
lea edi, [esi + 0x1184]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x428c37
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi], ebx
mov ecx, dword [esi + 0x20]
cmp ecx, ebx
je 0x428c45
push 1
call fcn.0041a749
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], ebx
call fcn.0041a167
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.xxxxxxxxxxx_DownloadMgr_Stop_Start
call edi
cmp dword [esi + 0x18], ebx
je 0x428d5e
lea eax, [esi + 0x122c]
cmp dword [eax], 3
jae 0x428c77
mov dword [eax], 5
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.0041e185
mov ecx, dword [esi + 0x18]
push eax
call fcn.00428b3a
test al, al
jne 0x428d5e
push str.xxxxxxxxxxx_DownloadMgr_thread_wait_time_out
call edi
cmp byte [esi + 0x1228], bl
je 0x428d56
push 0x3039
call fcn.00481bbd
push ebx
call fcn.00467da1
push eax
call fcn.004670e9
add esp, 0xc
call fcn.004670f6
cdq
mov ecx, 0x320
idiv ecx
push 1
push 2
lea ecx, [ebp - 0xb8]
sub edx, 0x20000000
mov dword [ebp - 0x10], edx
call fcn.00409ccd
push dword [ebp - 0x10]
lea eax, [ebp - 0xb8]
push 0x40928d
push str.xxx_code0x
push eax
mov byte [ebp - 4], 1
call fcn.00408864
pop ecx
pop ecx
mov ecx, eax
call fcn.0040939f
mov ecx, eax
call fcn.00409bda
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb8]
call fcn.004099a3
cmp dword [eax + 0x18], 0x10
jb 0x428d2a
mov eax, dword [eax + 4]
jmp 0x428d2d
add eax, 4
push eax
call edi
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004020be
push ebx
push ebx
push 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esi + 0x18]
call fcn.004912e0
push str.xxxxxxxxxxx_DownloadMgr_Stop_End
call edi
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x18], bl
je 0x428d76
mov ecx, dword [ebp - 0x1c]
call fcn.004127d3
call fcn.00464b82
ret
Function at 0x42af83
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp + 8]
lea edi, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x18]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x42afec
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push str.CLSID_sLocalServer32
push 0x103
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
push dword [ebp - 0x224]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x42b00d
xor al, al
jmp 0x42b055
push ebx
lea eax, [ebp - 0x228]
push eax
push esi
lea eax, [ebp - 0x22c]
push eax
push 0
push 0
push dword [ebp - 0x220]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42b046
xor bl, bl
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00464a9b
leave
ret
Function at 0x42b063
Capabilities:
Get file version info

Disassembly:
push 0x230
push 0x4b03d0
call fcn.00467cb4
xor ebx, ebx
mov word [ebp - 0x224], bx
push 0x206
push ebx
lea eax, [ebp - 0x222]
push eax
call fcn.004665b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 4], ebx
push ebx
mov esi, 0x4a251c
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x238], eax
cmp eax, ebx
je 0x42b15f
push eax
call fcn.0046696d
pop ecx
mov edi, eax
mov dword [ebp - 0x22c], edi
cmp edi, ebx
je 0x42b15f
push dword [ebp - 0x238]
push ebx
push edi
call fcn.004665b0
add esp, 0xc
push edi
push dword [ebp - 0x238]
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42b15f
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
push 0x49fa70
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42b15f
mov eax, dword [ebp - 0x23c]
cmp eax, ebx
je 0x42b15f
mov cx, word [eax + 0xa]
mov word [ebp - 0x228], cx
movzx ecx, word [eax + 8]
mov dword [ebp - 0x234], ecx
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x230], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0042b1e7
push 0xffffffffffffffff
push ebx
push 0x804
push 1
push 1
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x228]
mov edi, 0x4a8d80
push edi
lea eax, [ebp - 0x224]
push eax
push 0x4a2508
mov esi, 0x4a00dc
push esi
call fcn.00481fb3
push edi
push ebx
push 0x1e
call fcn.00481768
push 3
call fcn.004817e7
add esp, 0x40
call fcn.00458bf2
push eax
call fcn.00481bbd
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x228]
push esi
call fcn.004017e1
add esp, 0x14
call fcn.00467cfc
ret
Function at 0x42c15b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [edi + 0x30], eax
jne 0x42c17a
xor eax, eax
jmp 0x42c1a0
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x42bacb
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x42c19d
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x42ed17
Capabilities:
Read .ini file

Disassembly:
push 0xec
mov eax, 0x496471
call fcn.00464b13
xor esi, esi
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.00433747
push str.TDConfig.ini
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], esi
call fcn.0040afe9
add esp, 0x14
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x42ed5a
lea eax, [ebp - 0x28]
push eax
push esi
mov edi, str.fixTimeCounts
push edi
mov esi, str.Config
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp ebx, 2
jge 0x42ee7f
push 0x10
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004665b0
and word [ebp - 0x4e], 0
and word [ebp - 0x4c], 0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
mov word [ebp - 0x58], 0x7de
mov word [ebp - 0x56], 0xa
mov word [ebp - 0x52], 1
mov word [ebp - 0x50], 0xc
call dword [sym.imp.KERNEL32.dll_SetSystemTime]
test eax, eax
je 0x42ee51
push 1
push 2
lea ecx, [ebp - 0xf8]
inc ebx
call fcn.0042731d
push ebx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 2
call fcn.0042df04
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xf8]
call fcn.0042174e
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x42edf8
lea ecx, [ebp - 0x28]
cmp dword [eax + 0x18], 8
jb 0x42ee03
mov eax, dword [eax + 4]
jmp 0x42ee06
add eax, 4
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.004021e1
push ebx
push 0x4a2718
push 0x4a2470
push 3
push str.FixSystemTime
push 0x223
push str..DownloadProxy.cpp
call fcn.00415a41
add esp, 0x1c
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.0041e1d8
jmp 0x42ee7f
lea eax, [ebp - 0x5c]
push eax
push 0x4a0a50
push 0x4a2470
push 3
push str.FixSystemTime
push 0x227
push str..DownloadProxy.cpp
mov dword [ebp - 0x5c], 0x4a26c0
call fcn.00412edc
add esp, 0x1c
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021e1
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.004021e1
call fcn.00464b96
ret
Function at 0x4302ce
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x438ebc
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.0046703b
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x430306
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x430313
mov byte [esi + 0x18], 1
xor al, al
jmp 0x430315
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x430cf5
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x430d18
xor eax, eax
jmp 0x430e01
push edi
call fcn.0046696d
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.004665b0
add esp, 0x10
push dword [esi + 8]
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430d11
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00430aa6
test eax, eax
je 0x430d11
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
shr ecx, 0x10
mov word [esi + 0xc], cx
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
shr ecx, 0x10
mov word [esi + 0x10], cx
mov ecx, eax
mov word [esi + 0x16], ax
mov eax, dword [ebp - 0x20]
shr ecx, 0x10
mov word [esi + 0x1a], ax
mov word [esi + 0x14], cx
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov edi, 0x104
push edi
shr ecx, 0x10
lea eax, [esi + 0x238]
push eax
mov word [esi + 0x18], cx
push 0x4a2b5c
mov ecx, esi
call fcn.00430b97
test eax, eax
je 0x430d11
push edi
lea eax, [esi + 0x648]
push eax
push 0x4a2b3c
mov ecx, esi
call fcn.00430b97
test eax, eax
je 0x430d11
push edi
lea eax, [esi + 0x440]
push eax
push 0x4a2b24
mov ecx, esi
call fcn.00430b97
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430e9a
Capabilities:
Create process on windows

Disassembly:
push 0x60
mov eax, 0x4968e2
call fcn.00464b13
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
call fcn.004041de
xor esi, esi
push edi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
call fcn.004041de
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
call fcn.00432627
cmp dword [ebp - 0x68], 6
pop ecx
pop ecx
jb 0x430f41
push str.advfirewall_firewall_add_rule_name_
lea ecx, [ebp - 0x2c]
call fcn.004041de
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.0040ab49
push str.__dirin_program_
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab49
push str.__description_
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab49
push str.__actionallow
jmp 0x430f88
cmp dword [ebp - 0x68], 5
jne 0x430fc3
push str.firewall_add_allowedprogram_name_
lea ecx, [ebp - 0x2c]
call fcn.004041de
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040ab49
push str.__program_
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ab49
push str.__modeENABLE_profileALL
lea ecx, [ebp - 0x2c]
call fcn.0040afcc
cmp dword [ebp - 0x30], 8
mov ecx, dword [ebp - 0x44]
jae 0x430f9c
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x430fa8
lea eax, [ebp - 0x28]
push esi
push ecx
push eax
push str.netsh.exe
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021e1
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004021e1
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.004021e1
call fcn.00464b96
ret