joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277e0
Capabilities:
Send data

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ecx*4]
mov edx, dword [esi + 0x20]
mov dword [esi + 0x28], 2
cmp dword [edx + 4], 1
je 0x42786d
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x42789b
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [edi + 0x2480]
mov eax, dword [edi + 0x247c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x427856
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
mov eax, 1
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4278a5
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x427886
mov eax, dword [esi + 4]
test eax, eax
je 0x427886
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4
push 1
push ecx
mov ecx, edi
mov dword [esi + 0x28], 0
call fcn.00428e20
test eax, eax
je 0x4278a5
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x427fe0
Capabilities:
Send data

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [ecx + 4], 1
je 0x428070
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x4280a7
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x2480]
mov edx, dword [edi + 0x247c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x428058
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0x3e5
sete dl
pop edi
pop esi
mov eax, edx
pop ebx
ret 4
cmp dword [esi], 0
jne 0x42808a
mov eax, dword [esi + 4]
test eax, eax
je 0x42808a
mov dword [esi + 0x18], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.00428e20
test eax, eax
jne 0x4280a7
push ebx
mov ecx, edi
call fcn.00428900
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x4283d0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ebx + 0x26dc]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov ecx, 0xa
xor eax, eax
lea ebp, [esi + 0x8040]
lea edx, [esi + 0x3c]
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x2000
mov edi, edx
mov dword [ebp], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x803c]
lea edi, [esi + 0x8058]
test eax, eax
mov dword [esi + 0x8054], edx
mov dword [edi], 0x8000
je 0x428460
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
sub edx, ecx
mov ecx, dword [eax + 0x14]
sbb ecx, dword [eax + 0x1c]
sub edx, dword [eax + 8]
sbb ecx, dword [eax + 0xc]
mov eax, edx
add eax, 1
adc ecx, 0
ja 0x42844b
cmp eax, 0x8000
jbe 0x42845a
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x4284a1
mov dword [esp + 0x14], ecx
jmp 0x4284a1
mov eax, dword [ebx + 0x5d0b0]
mov ecx, dword [ebx + 0x5d0b4]
cmp eax, 0xffffffff
jne 0x428475
cmp ecx, eax
je 0x4284a3
mov edx, dword [ebx + 0x5d0c0]
sub eax, edx
mov edx, dword [ebx + 0x5d0c4]
sbb ecx, edx
ja 0x42848e
cmp eax, 0x8000
jbe 0x42849d
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x4284a1
mov dword [esp + 0x14], ecx
mov dword [edi], eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x28], 9
cmp dword [ecx + 4], 1
je 0x4284e8
mov edx, dword [esi + 0x1c]
push esi
push 1
push ebp
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x42851a
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov ecx, dword [edi]
mov edx, dword [esi + 0x8054]
mov eax, dword [esi + 0x1c]
push edi
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x42851a
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x428536
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 4
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.00428900
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x428c80
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x103c
call fcn.0051d7f0
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x247c]
push edi
test eax, eax
mov dword [esp + 0x10], ebx
mov ebp, 0x53ca14
je 0x428ca8
mov ebp, str.POST
mov ax, word [0x56e1d0]
mov esi, dword [esp + 0x1050]
mov word [esp + 0x4c], ax
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x4c]
mov dword [esp + 0x1c], 0x53ca00
mov dword [esp + 0x20], 0
lea ecx, [eax + 0x1048]
add eax, 0x48
push ecx
push eax
push 0x53ac6c
push 0x7ff
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [ebx + 0x62c64]
add esp, 0x14
test ecx, ecx
mov eax, 0x8400c300
je 0x428d13
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x428d21
or eax, 0x803000
mov ecx, dword [esi + 0x18]
push esi
lea edx, [esp + 0x20]
push eax
push edx
push 0
lea eax, [esp + 0x5c]
push str.HTTP_1.1
push eax
push ebp
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
test eax, eax
mov dword [esi + 0x1c], eax
je 0x428e05
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea edx, [esp + 0x18]
push 4
push edx
push 2
push eax
mov dword [esp + 0x28], 0x3a98
call edi
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x14]
push 4
push eax
push 0x41
push ecx
mov dword [esp + 0x24], 1
call edi
mov ebp, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
push 0xa2d0
mov dword [esp + 0x28], 0x28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x428dd3
mov ecx, 0x28b4
xor eax, eax
mov edi, ebx
push ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0xa2cf
push ebx
push esi
call fcn.00428f20
push ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x1c]
push esi
push 1
lea edx, [esp + 0x2c]
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test ebx, ebx
mov esi, eax
je 0x428df6
push ebx
call fcn.0051d79a
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x103c
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x103c
ret 4
Function at 0x429980
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov ax, word [0x56e1d0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esp + 0x18], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
xor ebp, ebp
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esi + 4]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
shl edi, 1
mov ecx, edi
push 2
neg ecx
push ebp
push ecx
push edx
call ebx
mov edx, dword [esi + 4]
lea eax, [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
push edx
call ebp
cmp edi, dword [esp + 0x10]
jne 0x429a55
lea eax, [esp + 0x18]
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x429a55
mov edx, dword [esp + 0x10]
mov ecx, 0xfffffffc
push 1
sub ecx, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebx
mov edx, dword [esi + 4]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push edx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
add eax, ecx
push 1
push 0
neg eax
push eax
push edx
call ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x429a60
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x26ec]
mov dword [esp + 0xc], edi
cmp eax, edi
jne 0x429a7d
mov dword [esp + 8], edi
jmp 0x429a8c
mov ecx, dword [esi + 0x26f0]
sub ecx, eax
sar ecx, 2
mov dword [esp + 8], ecx
mov edx, dword [esi + 4]
push 2
push edi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 8], edi
je 0x429b33
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
lea eax, [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edx
call ebx
mov ebp, 4
mov eax, dword [esi + 0x26ec]
test eax, eax
je 0x429af6
mov ecx, dword [esi + 0x26f0]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x429af6
mov ecx, dword [eax + edi*4]
lea edx, [esp + 0x14]
push 0
push edx
mov edx, dword [esi + 4]
push 0x20
push ecx
push edx
call ebx
add ebp, 0x20
inc edi
jmp 0x429ac4
mov edx, dword [esi + 4]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
push edx
mov dword [esp + 0x24], ebp
call ebx
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esi + 4]
add esp, 4
lea ecx, [esp + 0x14]
shl eax, 1
push 0
push ecx
push eax
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push edx
call ebx
pop ebp
pop ebx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
add esp, 8
ret
Function at 0x429ed0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov eax, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x8058]
mov esi, ecx
push edi
cmp dword [eax + 4], 1
jne 0x429eec
mov ebp, dword [ebx]
mov eax, dword [esi + 0x26f8]
xor edi, edi
cmp eax, edi
je 0x429fcb
mov ecx, esi
call fcn.00429980
mov edi, dword [ebx + 0x803c]
push 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
add ecx, eax
mov eax, dword [edi + 0xc]
adc eax, edx
mov edx, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 4]
sar edx, 0x1f
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x429f47
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42a022
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a022
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x42a022
mov ecx, dword [edi + 0x18]
add ecx, eax
mov dword [edi + 0x18], ecx
mov ebp, dword [edi + 0x1c]
mov ecx, 0
adc ebp, ecx
mov dword [edi + 0x1c], ebp
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x5d0c0]
push eax
add edi, eax
push ebx
mov dword [esi + 0x5d0c0], edi
mov edx, dword [esi + 0x5d0c4]
adc edx, ecx
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.0042a030
mov ecx, esi
call fcn.00429a60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42a022
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x42a022
mov ebp, dword [esi + 0x5d0c0]
push eax
add ebp, eax
push ebx
mov dword [esi + 0x5d0c0], ebp
mov edx, dword [esi + 0x5d0c4]
adc edx, edi
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.0042a030
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x42b630
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42b63e
xor eax, eax
pop esi
ret
push edi
lea eax, [esi + 0x5d4e4]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x42b67d
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2694], eax
lea ecx, [esi + 4]
call fcn.0042b200
test eax, eax
pop edi
jne 0x42b68c
pop esi
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x2464], eax
je 0x42b6bf
push esi
push 0
push 0x42b6d0
mov dword [esi + 0x5d0b0], 8
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov eax, 1
pop esi
ret
Function at 0x42ce20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push str.GuardConfig.ini
rep stosd dword es:[edi], eax
mov ecx, 0x56e210
stosw word es:[edi], ax
call fcn.0040c3d0
push eax
push str._sdata_s
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0042dfe0
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x214]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
add esp, 0x208
ret

Function at 0x42ce90
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov ecx, 0x56e210
je 0x42cec1
call fcn.0040c3d0
push eax
push str._sdata_tcdump_secrash.dmp
push 0x104
push 0x578c64
call fcn.0042dfe0
add esp, 0x10
jmp 0x42d013
call fcn.0040c3d0
push eax
push str._sdata_tcdump_
push 0x104
push 0x578c64
call fcn.0042dfe0
push 0x578c64
call fcn.0043fa40
mov eax, dword [0x56e254]
add esp, 0x14
test eax, eax
je 0x42cf8a
lea eax, [esp + 0xc]
test eax, eax
je 0x42cf39
mov ecx, 0x104
mov eax, 0x578c64
xor esi, esi
cmp word [eax], 0
je 0x42cf17
add eax, 2
dec ecx
jne 0x42cf09
jmp 0x42cf1b
test ecx, ecx
jne 0x42cf20
mov esi, 0x80070057
test esi, esi
jl 0x42cf2d
mov edx, 0x104
sub edx, ecx
jmp 0x42cf2f
xor edx, edx
test esi, esi
jl 0x42d013
jmp 0x42cf3d
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x578c64]
sub ecx, edx
je 0x42d00b
mov edi, str.MajorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42cf7d
mov dx, word [edi + eax]
test dx, dx
je 0x42cf7d
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42cf5f
jmp 0x42d00b
test ecx, ecx
jne 0x42d00e
jmp 0x42d00b
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x42cfca
mov ecx, 0x104
mov eax, 0x578c64
xor esi, esi
cmp word [eax], 0
je 0x42cfac
add eax, 2
dec ecx
jne 0x42cf9e
jmp 0x42cfb0
test ecx, ecx
jne 0x42cfb5
mov esi, 0x80070057
test esi, esi
jl 0x42cfc2
mov edx, 0x104
sub edx, ecx
jmp 0x42cfc4
xor edx, edx
test esi, esi
jl 0x42d013
jmp 0x42cfce
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x578c64]
sub ecx, edx
je 0x42d00b
mov edi, str.MinorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42d007
mov dx, word [edi + eax]
test dx, dx
je 0x42d007
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42cfec
jmp 0x42d00b
test ecx, ecx
jne 0x42d00e
sub eax, 2
mov word [eax], 0
push 0x578c64
call fcn.0043fa40
add esp, 4
push 0x578c64
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret
Function at 0x42dc90
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea esi, [eax + 1]
lea edi, [esi + esi]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 8
test edx, edx
je 0x42dd46
mov ecx, edi
push ebp
mov ebp, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
test esi, esi
rep stosb byte es:[edi], al
je 0x42dd15
cmp esi, 0x7fffffff
ja 0x42dd15
mov ebp, SysReAllocString
mov edi, ebx
sub ebp, esi
mov eax, edx
sub edi, edx
lea ecx, [esi + ebp]
test ecx, ecx
je 0x42dd09
mov cx, word [edi + eax]
test cx, cx
je 0x42dd09
mov word [eax], cx
add eax, 2
dec esi
jne 0x42dcee
jmp 0x42dd0d
test esi, esi
jne 0x42dd10
sub eax, 2
mov word [eax], 0
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0x42dd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
pop ebp
test esi, esi
je 0x42dd46
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42fe50
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x820
push ebx
push esi
push edi
mov esi, dword [esp + 0x830]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
stosw word es:[edi], ax
push 0x53a4a4
lea eax, [esp + 0x21c]
push 0x103
push eax
call ebx
lea ecx, [esp + 0x224]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x18
test eax, eax
je 0x42fec3
add eax, 2
lea edx, [esp + 0x214]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x626]
mov word [esp + 0x624], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x624]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x214]
lea edx, [esp + 0x624]
push ecx
push edx
push 0x53ac6c
lea eax, [esp + 0x18]
push 0x103
push eax
call ebx
mov cx, word [0x56e1d0]
xor eax, eax
mov word [esp + 0x430], cx
mov ecx, 0x81
lea edi, [esp + 0x432]
add esp, 0x14
rep stosd dword es:[edi], eax
push str.Skin
push 0x56e47c
push str._s_s_
lea edx, [esp + 0x428]
push 0x103
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x430]
push eax
call fcn.0043fa40
lea ecx, [esp + 0x434]
push 1
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004402a0
add esp, 0x24
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0xc]
push ecx
call edi
push 0
push esi
call fcn.00440120
add esp, 8
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x820
ret 4
Function at 0x4396c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, 1
call fcn.00438e90
test eax, eax
je 0x439743
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x10], 0
pop edi
je 0x439739
lea eax, [esp + 0xc]
push str.IEInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x439743
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x43f180
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x43f288
lea edi, [esi + 0x22c]
push 0x103
push eax
push edi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
push ebp
push 0x80
push 4
push ebp
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43f288
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6400000
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov dword [esp + 0x18], ebp
jbe 0x43f1fa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esi + 0x21c], edi
jne 0x43f21a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x220]
xor eax, eax
inc ecx
push ebp
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 ecx, dword [esi + 0x220]
mov edx, dword [esi + 0x21c]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43f268
mov eax, dword [esi + 0x220]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x43f268
mov dword [esp + 0x10], 1
jmp 0x43f281
mov eax, dword [esi + 0x21c]
cmp eax, ebp
je 0x43f281
push eax
call fcn.0051d79a
add esp, 4
mov dword [esi + 0x21c], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x228], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x43f550
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
push edi
je 0x43f59e
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f59e
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x43f59e
push esi
xor esi, esi
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x43f598
mov ecx, ebx
mov esi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret

Function at 0x43f5b0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push edi
je 0x43f605
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f605
mov ebp, dword [esp + 0x14]
test ebp, ebp
jbe 0x43f605
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx]
test esi, esi
je 0x43f5fe
mov ecx, ebp
push eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
pop edi
pop ebp
ret
pop edi
xor eax, eax
pop ebp
ret
Function at 0x43fa10
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x43fa36
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x43fa38
mov eax, esi
pop esi
ret