joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4335e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x208], 0
push 0x1fe
push 0
lea eax, [ebp - 0x206]
push eax
call fcn.00415680
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push 0x100
lea edx, [ebp - 0x208]
push edx
push 0x46f298
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0x80
je 0x43364e
xor eax, eax
jmp 0x433713
mov byte [ebp - 0x270], 0
push 0x3f
push 0
lea edx, [ebp - 0x26f]
push edx
call fcn.00415680
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
mov ecx, dword [ebp - 0x274]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.00435cf0
add esp, 0xc
test eax, eax
jne 0x433690
xor eax, eax
jmp 0x433713
mov byte [ebp - 0x22c], 0
xor eax, eax
mov dword [ebp - 0x22b], eax
mov dword [ebp - 0x227], eax
mov dword [ebp - 0x223], eax
mov dword [ebp - 0x21f], eax
mov dword [ebp - 0x21b], eax
mov dword [ebp - 0x217], eax
mov dword [ebp - 0x213], eax
mov dword [ebp - 0x20f], eax
push 0x25
push 0x40
lea ecx, [ebp - 0x270]
push ecx
push 0x20
lea edx, [ebp - 0x22c]
push edx
call fcn.00435c70
add esp, 0x14
test eax, eax
jne 0x4336ed
xor eax, eax
jmp 0x433713
push 1
lea eax, [ebp - 0x22c]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00435900
add esp, 0x14
test eax, eax
jne 0x43370e
xor eax, eax
jmp 0x433713
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x433730
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042a4c0
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
jne 0x433754
xor eax, eax
jmp 0x433908
mov word [ebp - 0x1010], 0
push 0xffe
push 0
lea eax, [ebp - 0x100e]
push eax
call fcn.00415680
add esp, 0xc
push 0x46f188
mov ecx, dword [ebp + 8]
push ecx
push 0x46f26c
lea edx, [ebp - 0x1010]
push edx
call fcn.004156fa
add esp, 0x10
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4337b2
call fcn.004334a0
xor eax, eax
jmp 0x433908
lea ecx, [ebp - 0x1010]
push ecx
push 0
push 0x46f1e4
push 0x46f1a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1014], 0
push 0x46f1d4
push 0x46f1a4
lea edx, [ebp - 0x1010]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.004335e0
add esp, 0x10
test eax, eax
jne 0x433803
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x101c], ecx
cmp dword [ebp - 0x101c], 0x708b
je 0x433832
cmp dword [ebp - 0x101c], 0x70f0
je 0x43383e
cmp dword [ebp - 0x101c], 0x711a
je 0x43384a
jmp 0x433856
mov dword [0x48b4f4], 1
jmp 0x433860
mov dword [0x48b4f4], 2
jmp 0x433860
mov dword [0x48b4f4], 3
jmp 0x433860
mov dword [0x48b4f4], 0
cmp dword [0x48b4f4], 0
je 0x4338f4
mov edx, dword [0x48b4f4]
lea eax, [edx*8 + 0x482278]
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1014], 0x5f52
jne 0x43389a
mov ecx, dword [ebp - 0x1018]
mov dword [ecx], 3
jmp 0x4338f4
cmp dword [ebp - 0x1014], 0x5fd8
jne 0x4338b4
mov edx, dword [ebp - 0x1018]
mov dword [edx], 2
jmp 0x4338f4
cmp dword [ebp - 0x1014], 0x604a
jne 0x4338ce
mov eax, dword [ebp - 0x1018]
mov dword [eax], 1
jmp 0x4338f4
cmp dword [ebp - 0x1014], 0x541a
jne 0x4338e8
mov ecx, dword [ebp - 0x1018]
mov dword [ecx], 4
jmp 0x4338f4
mov edx, dword [ebp - 0x1018]
mov dword [edx], 0
mov dword [0x48b4f8], 1
call fcn.004334a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x433bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468bf6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00415680
add esp, 0xc
push 0x46f29c
lea ecx, [ebp - 0x238]
call fcn.004011c0
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 9
add ecx, 0x1a
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x433c50
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.00403bf0
lea ecx, [ebp - 0x238]
call fcn.00403ca0
movzx ecx, al
test ecx, ecx
je 0x433c95
push 0x46f2a0
mov ecx, dword [ebp + 8]
call fcn.004011c0
mov edx, dword [ebp - 0x23c]
or edx, 1
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401200
mov eax, dword [ebp + 8]
jmp 0x433d00
lea ecx, [ebp - 0x238]
call fcn.00402490
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, 1
push eax
lea ecx, [ebp - 0x238]
call fcn.00403c70
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x433ccd
push 0x46f2a4
lea ecx, [ebp - 0x238]
call fcn.00403c10
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402030
mov eax, dword [ebp - 0x23c]
or eax, 1
mov dword [ebp - 0x23c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x435000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00415680
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], 0
pop ebp
ret
Function at 0x436040
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436068
xor eax, eax
jmp 0x436155
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x46f850
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4360bb
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4360b9
jmp 0x4360cf
jmp 0x4360bd
jmp 0x4360cf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, 1
test ecx, ecx
jne 0x43606f
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4360e8
xor eax, eax
jmp 0x436155
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43611b
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43611b
push 4
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x436143
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x436155
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x436ca0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00415680
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x46f53c
push 0x208
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.004157ac
add esp, 0x14
mov word [ebp - 0x418], 0
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00415680
add esp, 0xc
mov dword [0x48a808], 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
jbe 0x436d71
mov edx, dword [ebp - 0x424]
movzx eax, word [ebp + edx*2 - 0x212]
cmp eax, 0x2f
je 0x436d61
mov ecx, dword [ebp - 0x424]
movzx edx, word [ebp + ecx*2 - 0x212]
cmp edx, 0x5c
jne 0x436d71
mov eax, dword [ebp - 0x424]
mov word [ebp + eax*2 - 0x212], 0
push 0x46f544
lea ecx, [ebp - 0x210]
push ecx
push 0x46f54c
push 0x208
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0xffffffff
jne 0x436dc3
jmp 0x436f46
push 0x46f558
lea edx, [ebp - 0x64c]
push edx
call fcn.004160f0
add esp, 8
test eax, eax
jne 0x436ddd
jmp 0x436dfb
push 0x46f55c
lea eax, [ebp - 0x64c]
push eax
call fcn.004160f0
add esp, 8
test eax, eax
jne 0x436df7
jmp 0x436dfb
jmp 0x436e56
lea ecx, [ebp - 0x678]
push ecx
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436dc3
jmp 0x436f46
push 0x46f564
lea edx, [ebp - 0x210]
push edx
push 0x46f574
push 0x208
push 0x104
lea eax, [ebp - 0xa88]
push eax
call fcn.004157ac
add esp, 0x18
push 0x46f580
lea ecx, [ebp - 0x210]
push ecx
push 0x46f598
push 0x208
push 0x104
lea edx, [ebp - 0x880]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0xa88]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ebp - 0x41c], edx
lea eax, [ebp - 0x678]
push eax
lea ecx, [ebp - 0x880]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ebp - 4], edx
cmp dword [ebp - 0x41c], 0
je 0x436f46
cmp dword [ebp - 4], 0
je 0x436f46
mov eax, 1
test eax, eax
je 0x436f46
push 0x46f5a4
lea ecx, [ebp - 0x210]
push ecx
push 0x46f5bc
push 0x208
push 0x104
lea edx, [ebp - 0xc90]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call fcn.00440510
add esp, 4
mov dword [0x48a808], 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x437660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [0x46f89c]
push ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4376ce
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.nUpdateType
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4376ce
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4376e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x43c], 0
lea eax, [ebp - 0x43c]
push eax
push 0x10009
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437724
xor eax, eax
jmp 0x437856
mov ax, word [0x473d00]
mov word [ebp - 0x228], ax
push 0x206
push 0
lea ecx, [ebp - 0x226]
push ecx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x448], 0x3fff
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x1c], 0
je 0x437836
mov dword [ebp - 0x44c], 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x44c], ecx
jmp 0x4377d9
mov edx, dword [ebp - 0x44c]
sub edx, 1
mov dword [ebp - 0x44c], edx
cmp dword [ebp - 0x44c], 0
jl 0x437836
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x437834
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.004376e0
add esp, 8
jmp 0x4377ca
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x4378e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], 0x104
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SoftwareTencentQQPCMgrDownloader
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437948
jmp 0x4379b9
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.Wording
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x437978
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4379b9
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 1
jne 0x43798e
cmp dword [ebp - 0xc], 0
jne 0x437990
jmp 0x4379b9
lea edx, [ebp - 0x218]
push edx
call fcn.00414d31
add esp, 4
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push 0x48a888
call fcn.0041629d
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x437a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerToolbar
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437ada
jmp 0x437b1c
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push str.29CF293A_1E7D_4069_9E11_E39698D0AF95
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437b12
mov dword [0x48a86c], 1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437b1c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x437b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 4], 0x104
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
push str.SOFTWARETENCENTDeskUpdateQQSoftMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437bca
jmp 0x437c02
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x4739ec
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x437bf8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x437c02
mov dword [0x4822f0], 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret

Function at 0x437c10
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4ec548], 0
jne 0x437c92
lea eax, [ebp - 0x198]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x437c50
xor eax, eax
jmp 0x437c97
push str.upload_data.qq.com
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x437c8d
mov ecx, dword [ebp - 0x19c]
movsx edx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 0x19c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
push 0x4ec548
call fcn.00415c30
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
mov eax, dword [0x4ec548]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x437cb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x437cd0
xor eax, eax
jmp 0x437ded
mov eax, dword [ebp + 8]
push eax
call fcn.00414d31
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0x104
jb 0x437cf5
xor eax, eax
jmp 0x437ded
mov word [ebp - 0x218], 0
push 0x208
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00415680
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x21c]
jae 0x437d92
cmp dword [ebp - 4], 0x104
jge 0x437d92
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov cx, word [edx + ecx*2]
mov word [ebp + eax*2 - 0x218], cx
mov edx, dword [ebp - 4]
movzx eax, word [ebp + edx*2 - 0x218]
cmp eax, 0x5c
jne 0x437d87
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x437d87
push 0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437d87
xor eax, eax
jmp 0x437ded
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x437d1b
mov ecx, dword [ebp - 0x21c]
movzx edx, word [ebp + ecx*2 - 0x21a]
cmp edx, 0x5c
je 0x437de8
mov eax, dword [ebp - 0x21c]
mov word [ebp + eax*2 - 0x218], 0x5c
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0xffffffff
jne 0x437de8
push 0
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437de8
xor eax, eax
jmp 0x437ded
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x437e00
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x52c], 0
mov word [ebp - 0x318], 0
push 0x206
push 0
lea eax, [ebp - 0x316]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x520], 0
push 0x206
push 0
lea ecx, [ebp - 0x51e]
push ecx
call fcn.00415680
add esp, 0xc
lea edx, [ebp - 0x52c]
push edx
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x52c]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea edx, [ebp - 0x318]
push edx
push 0x472de0
push 0x208
push 0x104
lea eax, [ebp - 0x520]
push eax
call fcn.004157ac
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x318]
push edx
push 0x472de8
push 0x208
push 0x104
lea eax, [ebp - 0x318]
push eax
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea edx, [ebp - 0x10f]
push edx
call fcn.00415680
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x524], eax
push 0
push 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x520]
push ecx
push 0x200
mov edx, dword [ebp - 0x524]
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x52c]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x318]
push ecx
mov edx, dword [ebp - 0x52c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x318]
push eax
push 0x472df4
push 0x208
push 0x104
lea ecx, [ebp - 0x520]
push ecx
call fcn.004157ac
add esp, 0x14
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x318]
push eax
push 0x472dfc
push 0x208
push 0x104
lea ecx, [ebp - 0x318]
push ecx
call fcn.004157ac
add esp, 0x18
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x520]
push ecx
push 0x200
mov edx, dword [ebp - 0x524]
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x528], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret