joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454ca0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.004d96c0
test eax, eax
je 0x454cc2
lea eax, [ebp - 4]
push eax
call fcn.004f77e0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test esi, esi
je 0x454ce6
mov ecx, dword [ebp - 4]
push ecx
call fcn.004f7860
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x454d40
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.004d96c0
test eax, eax
je 0x454d62
lea eax, [ebp - 4]
push eax
call fcn.004f77e0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, eax
test esi, esi
je 0x454d82
mov eax, dword [ebp - 4]
push eax
call fcn.004f7860
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x455730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6e9080], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareMicroWorldeScan_For_WindowsMwMonitor
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004dc0a0
add esp, 0x14
test eax, eax
jne 0x455825
push esi
push 0x410
mov dword [ebp - 8], 0x410
call fcn.004d9470
mov esi, eax
add esp, 4
test esi, esi
je 0x45581a
mov edx, dword [ebp - 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push str.NoNetSwiftDrv
push edx
call edi
cmp eax, 0xea
jne 0x4557d9
push esi
call fcn.005e0865
mov eax, dword [ebp - 8]
push eax
call fcn.004d9470
mov esi, eax
add esp, 8
test esi, esi
je 0x455819
mov edx, dword [ebp - 4]
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push str.NoNetSwiftDrv
push edx
call edi
jmp 0x455810
test eax, eax
jne 0x455810
cmp byte [esi], al
je 0x455810
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4557e6
sub eax, edx
inc eax
push eax
call fcn.004d9470
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x455810
mov ecx, esi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x455806
push esi
call fcn.005e0865
add esp, 4
pop edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x456830
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp byte [esi], 0x5c
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x408], ebx
jne 0x45687b
cmp byte [esi + 1], 0x5c
jne 0x45687b
push ebx
push ebx
push ebx
call fcn.00504d70
test eax, eax
jne 0x45687b
mov dword [ebp - 0x410], 1
cmp dword [0x6b079c], ebx
je 0x4568b9
lea eax, [ebp - 0x40c]
push eax
mov dword [ebp - 0x40c], ebx
call fcn.004f77e0
add esp, 4
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
test ebx, ebx
je 0x4568c3
mov ecx, dword [ebp - 0x40c]
push ecx
call fcn.004f7860
add esp, 4
jmp 0x4568c3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov esi, eax
mov eax, 1
cmp esi, eax
jne 0x4568d2
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x410], eax
jne 0x4568df
call fcn.00504780
cmp dword [0x71de6c], 0
je 0x45692f
mov esi, dword [ebp - 0x408]
push esi
lea edx, [ebp - 0x404]
push str.ImpersonatedFileMove___d
push edx
call fcn.005dfb23
mov eax, dword [0x71de6c]
push 0
push eax
lea ecx, [ebp - 0x404]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x408]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x456950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea ecx, [ebp - 0x107]
push ebx
push ecx
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x660], ebx
mov dword [ebp - 0x654], ebx
mov byte [ebp - 0x108], bl
call fcn.005dfd60
mov ecx, 0xf
mov esi, str.SoftwareMicroWorldeScan_For_WindowsMwMonitorProcExclusions
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
push 0x3ff
movsw word es:[edi], word [esi]
lea edx, [ebp - 0x64b]
push ebx
push edx
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x650], ebx
mov byte [ebp - 0x64c], bl
call fcn.005dfd60
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x6e9080], eax
lea eax, [ebp - 0x654]
push eax
push 0x20019
push ebx
lea ecx, [ebp - 0x148]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x6e9154], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456b8c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x650]
push eax
mov eax, dword [ebp - 0x654]
push ebx
push ebx
lea ecx, [ebp - 0x658]
push ecx
lea edx, [ebp - 0x108]
push edx
push ebx
push eax
mov dword [ebp - 0x650], ebx
mov byte [ebp - 0x108], bl
mov dword [ebp - 0x65c], 4
mov dword [ebp - 0x658], 0x104
call edi
test eax, eax
jne 0x456b7b
jmp 0x456a70
cmp dword [ebp - 0x650], ebx
jbe 0x456b1e
lea ecx, [ebp - 0x108]
push 0x5c
push ecx
call fcn.005e0940
add esp, 8
lea edx, [ebp - 0x108]
test eax, eax
je 0x456abc
push 1
push edx
call fcn.00515650
push 0x400
lea eax, [ebp - 0x64c]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.004e82a0
add esp, 0xc
jmp 0x456aca
push edx
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x650]
push ecx
lea edx, [ebp - 0x24c]
push 0x616454
push edx
call fcn.005dfb23
mov esi, dword [ebp - 0x664]
add esp, 0xc
push ebx
push 0x2c
lea eax, [ebp - 0x64c]
push eax
push esi
call fcn.004e5820
push ebx
push 0x2c
lea ecx, [ebp - 0x24c]
push ecx
push esi
call fcn.004e5820
cmp dword [ebp - 0x650], 2
jne 0x456b1e
mov dword [0x6e9154], 1
mov eax, dword [ebp - 0x660]
lea edx, [ebp - 0x65c]
push edx
lea ecx, [ebp - 0x650]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x658]
push edx
mov edx, dword [ebp - 0x654]
lea ecx, [ebp - 0x108]
inc eax
push ecx
push eax
push edx
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x650], ebx
mov byte [ebp - 0x108], bl
mov dword [ebp - 0x65c], 4
mov dword [ebp - 0x658], 0x104
call edi
test eax, eax
je 0x456a70
mov eax, dword [ebp - 0x654]
cmp eax, ebx
je 0x456b8c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x45c7a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6705a8
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push str.uninst
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45c821
push ebx
push str.delete
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45c821
push ebx
push str.unlock
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x45c8cf
mov dword [ebp - 0x528], ebx
push 0x404
push ebx
lea eax, [ebp - 0x524]
push eax
call fcn.005dfd60
add esp, 0xc
mov dword [ebp - 0x524], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x528], ecx
mov ecx, esi
lea edx, [ebp - 0x520]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x45c853
lea edx, [ebp - 0x528]
push edx
push ebx
push 0x45c5c0
call fcn.005e07ac
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45c8a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error:_beginthread_1wLFU__fails_with_error__d
lea eax, [ebp - 0x120]
push eax
call fcn.005dfb23
push ebx
push 1
lea ecx, [ebp - 0x120]
push ecx
push 0x6aec98
call fcn.004311c0
add esp, 0x1c
jmp 0x45c8cf
cmp dword [ebp - 0x524], ebx
jne 0x45c8cf
call fcn.004e03f0
jmp 0x45c8a8
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret

Function at 0x45d610
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [0x685bd0]
push esi
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
test ecx, ecx
jbe 0x45d695
cmp dword [eax*4 + 0x6e91fc], 0
jne 0x45d635
inc eax
cmp eax, ecx
jb 0x45d624
jmp 0x45d695
call edi
push 0
push 1
push str.Waiting_for_threads_to_exit_1_...
push 0x6aec98
mov esi, eax
call fcn.004311c0
add esp, 0x10
call edi
sub eax, esi
cmp eax, 0x2710
jae 0x45d695
lea ebx, [ebx]
mov ecx, dword [0x685bd0]
xor eax, eax
test ecx, ecx
jbe 0x45d67f
lea esp, [esp]
cmp dword [eax*4 + 0x6e91fc], 0
jne 0x45d6e4
inc eax
cmp eax, ecx
jb 0x45d670
push 0
push 1
push str.All_threads_exited_1_...
push 0x6aec98
call fcn.004311c0
add esp, 0x10
cmp dword [0x6b07b4], 0
je 0x45d715
call edi
push 0
push 1
push str.Waiting_for_threads_to_exit_2_...
push 0x6aec98
mov esi, eax
call fcn.004311c0
add esp, 0x10
call edi
sub eax, esi
cmp eax, 0x2710
jae 0x45d715
cmp dword [0x6b07b4], 0
je 0x45d6ff
push 0x14
call fcn.004d5a60
add esp, 4
call edi
sub eax, esi
cmp eax, 0x2710
jb 0x45d6c3
pop edi
pop esi
ret
push 0x14
call fcn.004d5a60
add esp, 4
call edi
sub eax, esi
cmp eax, 0x2710
jb 0x45d660
jmp 0x45d695
push 0
push 1
push str.All_threads_exited_2_...
push 0x6aec98
call fcn.004311c0
add esp, 0x10
pop edi
pop esi
ret
Function at 0x45e330
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x670610
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x228], 0
mov esi, dword [ebp + 0x14]
test edi, edi
je 0x45e395
mov dword [edi], 0
cmp ebx, 0xffffffff
je 0x45e476
test esi, esi
jne 0x45e3ac
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x45e476
test esi, esi
jbe 0x45e476
mov ecx, dword [0x6861dc]
shl ecx, 0x14
cmp esi, ecx
ja 0x45e476
push 0
push esi
push 0
push 2
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi], eax
test eax, eax
je 0x45e476
push esi
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x45e476
mov dword [ebp - 4], 0
jmp 0x45e46f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x45e7a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x670630
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x20], esi
push esi
push 0x80
push 3
push esi
push 1
push connect
mov eax, dword [ebp + 8]
push eax
call fcn.004e0400
add esp, 0x1c
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x45e823
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45e837
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004dca10
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push esi
push 2
push esi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x28], eax
cmp eax, esi
jne 0x45e87a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004dca10
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x24], eax
cmp eax, esi
jne 0x45e8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004dca10
lea edx, [ebp - 0x28]
push edx
call fcn.004dca10
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], esi
lea ebx, [edi + 1]
push ebx
call fcn.005e20e4
add esp, 4
mov esi, eax
test esi, esi
je 0x45e94c
push ebx
push 0
push esi
call fcn.005dfd60
push edi
mov eax, dword [ebp - 0x24]
push eax
push esi
call fcn.005e13c0
push 0
push 0x60cf40
push esi
call fcn.004f5880
add esp, 0x24
cmp eax, 0xffffffff
jne 0x45e92a
push 0
push 0x60c810
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45e92a
push 0
push str.Seagate
push esi
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x45e931
mov dword [ebp - 0x20], 1
push esi
call fcn.005e0865
add esp, 4
jmp 0x45e94c
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea edx, [ebp - 0x28]
push edx
call fcn.004dca10
lea eax, [ebp - 0x1c]
push eax
call fcn.004dca10
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ef60
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push esi
push 0x6e8d08
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x73fa00], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x45ef8a
call esi
sub eax, dword [0x73fa00]
cmp eax, 0x2710
jbe 0x45efc2
cmp dword [0x72bca4], 0
jne 0x45efc2
call esi
push 0
push 0
push 0x45eef0
mov dword [0x73fa00], eax
mov dword [0x72bca4], 1
call fcn.005e07ac
push 0
push eax
push str.CBD_7m
call fcn.00420720
add esp, 0x18
push 0x6e8d08
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret
Function at 0x45f920
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 0x103
lea ecx, [ebp - 0x30f]
push ebx
push ecx
mov dword [ebp - 0x318], eax
mov byte [ebp - 0x310], bl
call fcn.005dfd60
push 0x103
lea edx, [ebp - 0x20b]
push ebx
push edx
mov byte [ebp - 0x20c], bl
call fcn.005dfd60
push 0x103
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.005dfd60
add esp, 0x24
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x31c], ebx
call fcn.004d96c0
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x20019
cmp edi, ebx
je 0x45f9b7
mov byte [edi], bl
mov ecx, dword [ebp - 0x318]
cmp ecx, ebx
je 0x45f9c3
mov byte [ecx], bl
lea ecx, [ebp - 0x314]
push ecx
push eax
push ebx
push esi
push reloc.WS2_32.dll_closesocket
call fcn.004fadc0
test eax, eax
jne 0x45fa42
mov ecx, dword [ebp - 0x314]
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x108]
push eax
push ebx
push ebx
push str.ProxyServer
push ecx
mov byte [ebp - 0x108], bl
mov dword [ebp - 0x320], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45fa42
cmp byte [ebp - 0x108], bl
jne 0x45fa25
mov dword [ebp - 0x31c], 1
jmp 0x45fa42
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.0045f7d0
add esp, 0xc
mov eax, dword [ebp - 0x314]
cmp eax, ebx
je 0x45fa59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x314], ebx
cmp dword [ebp - 0x31c], ebx
je 0x45fab1
call fcn.004d96c0
neg eax
sbb eax, eax
and eax, 0x100
lea edx, [ebp - 0x314]
push edx
add eax, 0xf003f
push eax
push ebx
push esi
push reloc.WS2_32.dll_closesocket
call fcn.004fadc0
test eax, eax
jne 0x45fab1
mov eax, dword [ebp - 0x314]
push str.ProxyServer
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x314], ebx
cmp byte [ebp - 0x310], bl
je 0x45faff
cmp byte [ebp - 0x20c], bl
je 0x45faff
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp edi, ebx
je 0x45fad5
lea edx, [ebp - 0x310]
push edx
push edi
call esi
mov eax, dword [ebp - 0x318]
cmp eax, ebx
je 0x45fae9
lea ecx, [ebp - 0x20c]
push ecx
push eax
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x45fb20
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x414], edi
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x40c], ebx
call fcn.004d96c0
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x20019
mov byte [ebp - 0x404], bl
cmp edi, ebx
je 0x45fb6f
mov byte [edi], bl
lea ecx, [ebp - 0x408]
push ecx
push eax
push ebx
push esi
push reloc.WS2_32.dll_closesocket
call fcn.004fadc0
test eax, eax
jne 0x45fbc9
mov ecx, dword [ebp - 0x408]
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push str.AutoConfigURL
push ecx
mov dword [ebp - 0x410], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45fbc9
cmp byte [ebp - 0x404], bl
jne 0x45fbc9
mov dword [ebp - 0x40c], 1
mov eax, dword [ebp - 0x408]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x45fbe2
push eax
call edi
mov dword [ebp - 0x408], ebx
cmp dword [ebp - 0x40c], ebx
je 0x45fc36
call fcn.004d96c0
neg eax
sbb eax, eax
and eax, 0x100
lea edx, [ebp - 0x408]
push edx
add eax, 0xf003f
push eax
push ebx
push esi
push reloc.WS2_32.dll_closesocket
call fcn.004fadc0
test eax, eax
jne 0x45fc36
mov eax, dword [ebp - 0x408]
push str.AutoConfigURL
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [ebp - 0x408]
push ecx
call edi
mov dword [ebp - 0x408], ebx
cmp byte [ebp - 0x404], bl
je 0x45fc6c
mov eax, dword [ebp - 0x414]
cmp eax, ebx
je 0x45fc56
lea edx, [ebp - 0x404]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x461ce0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x6aae14]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x3ff
lea ecx, [ebp - 0x403]
push ebx
push ecx
mov dword [ebp - 0xc14], eax
mov dword [ebp - 0xc08], ebx
xor esi, esi
call fcn.005dfd60
push 0x7ff
lea edx, [ebp - 0xc03]
push ebx
push edx
call fcn.005dfd60
add esp, 0x18
lea eax, [ebp - 0xc10]
push eax
lea ecx, [ebp - 0xc04]
push ecx
push ebx
push ebx
lea edx, [ebp - 0xc0c]
push edx
lea eax, [ebp - 0x404]
push eax
push ebx
push edi
mov byte [ebp - 0xc04], bl
mov byte [ebp - 0x404], bl
mov dword [ebp - 0xc0c], 0x400
mov dword [ebp - 0xc10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x461e60
cmp byte [ebp - 0xc04], bl
je 0x461dfa
mov eax, dword [ebp - 0xc14]
cmp eax, ebx
je 0x461dca
cmp byte [eax], bl
je 0x461dca
push ebx
push eax
lea ecx, [ebp - 0xc04]
push ecx
call fcn.004f5880
add esp, 0xc
cmp eax, 0xffffffff
je 0x461dfa
mov eax, 1
mov dword [ebp - 0xc08], eax
cmp dword [ebp + 0x10], ebx
je 0x461e62
lea edx, [ebp - 0x404]
push edx
jmp 0x461dee
cmp dword [ebp + 0x10], ebx
je 0x461dfa
lea eax, [ebp - 0x404]
push str.2719
push eax
call fcn.004dd6e0
add esp, 8
test eax, eax
jne 0x461dfa
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x461dfa
dec esi
lea edx, [ebp - 0xc10]
push edx
lea eax, [ebp - 0xc04]
push eax
push ebx
push ebx
lea ecx, [ebp - 0xc0c]
push ecx
lea edx, [ebp - 0x404]
push edx
inc esi
push esi
push edi
mov byte [ebp - 0xc04], bl
mov byte [ebp - 0x404], bl
mov dword [ebp - 0xc0c], 0x400
mov dword [ebp - 0xc10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x461d81
mov eax, dword [ebp - 0xc08]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfbbe
mov esp, ebp
pop ebp
ret
Function at 0x4647f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x740268], 0
jne 0x464899
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push 0x104
push 0x740268
push str.File_Added
push 0x61ff5c
push 0x614348
call edi
push esi
push 0x104
push 0x740160
push str.File_Deleted
push 0x61fecc
push 0x614348
call edi
push esi
push 0x104
push 0x740058
push str.File_Modified
push 0x61ff48
push 0x614348
call edi
push esi
push 0x104
push 0x73ff50
push str.File_Renamed_OldName
push 0x61ff2c
push 0x614348
call edi
push esi
push 0x104
push 0x73fe48
push str.File_Renamed_NewName
push 0x61ff10
push 0x614348
call edi
pop edi
pop esi
mov eax, dword [ebp + 8]
dec eax
cmp eax, 7
ja case.0x4648a6.3
jmp dword [eax*4 + 0x464960]
mov edx, dword [ebp + 0xc]
mov eax, 0x740268
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4648b7
mov eax, 0x6b5
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, 0x740160
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4648d2
mov eax, 0x6b6
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, 0x740058
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4648f0
mov eax, 0x6b7
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, 0x740268
sub edx, eax
jmp 0x464910
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x464910
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov eax, 0x6b5
pop ebp
ret
mov ecx, dword [str.File_Action_UNKNOWN]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [0x62d4a0]
mov dword [eax + 4], edx
mov ecx, dword [0x62d4a4]
mov dword [eax + 8], ecx
mov edx, dword [0x62d4a8]
mov dword [eax + 0xc], edx
mov ecx, dword [0x62d4ac]
mov dword [eax + 0x10], ecx
mov eax, 0x6ba
pop ebp
ret