joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4273b0
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 0x42743d
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x42746b
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 0x427426
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 0x427475
pop edi
mov eax, 1
pop esi
ret 4
cmp dword [esi], 0
jne 0x427456
mov eax, dword [esi + 4]
test eax, eax
je 0x427456
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.004289f0
test eax, eax
je 0x427475
pop edi
mov eax, 1
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x427bb0
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 0x427c40
mov eax, dword [edi + 0x247c]
test eax, eax
je 0x427c77
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 0x427c28
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 0x427c5a
mov eax, dword [esi + 4]
test eax, eax
je 0x427c5a
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.004289f0
test eax, eax
jne 0x427c77
push ebx
mov ecx, edi
call fcn.004284d0
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x427fa0
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 0x428030
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 0x42801b
cmp eax, 0x8000
jbe 0x42802a
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x428071
mov dword [esp + 0x14], ecx
jmp 0x428071
mov eax, dword [ebx + 0x5d0b0]
mov ecx, dword [ebx + 0x5d0b4]
cmp eax, 0xffffffff
jne 0x428045
cmp ecx, eax
je 0x428073
mov edx, dword [ebx + 0x5d0c0]
sub eax, edx
mov edx, dword [ebx + 0x5d0c4]
sbb ecx, edx
ja 0x42805e
cmp eax, 0x8000
jbe 0x42806d
mov eax, 0x8000
mov dword [esp + 0x14], 0
jmp 0x428071
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 0x4280b8
mov edx, dword [esi + 0x1c]
push esi
push 1
push ebp
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x4280ea
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 0x4280ea
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 0x428106
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.004284d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x428850
Capabilities:
Send data
Send http request

Disassembly:
mov eax, 0x103c
call fcn.0051d1f0
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, 0x53b9bc
je 0x428878
mov ebp, str.POST
mov ax, word [0x56d150]
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], 0x53b9a8
mov dword [esp + 0x20], 0
lea ecx, [eax + 0x1048]
add eax, 0x48
push ecx
push eax
push 0x539c6c
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 0x4288e3
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x4288f1
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 0x4289d5
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 0x4289a3
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.00428af0
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 0x4289c6
push ebx
call fcn.0051d19a
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 0x429550
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov ax, word [0x56d150]
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 0x429625
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 0x429625
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 0x429630
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 0x42964d
mov dword [esp + 8], edi
jmp 0x42965c
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 0x429703
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 0x4296c6
mov ecx, dword [esi + 0x26f0]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x4296c6
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 0x429694
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 0x429aa0
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 0x429abc
mov ebp, dword [ebx]
mov eax, dword [esi + 0x26f8]
xor edi, edi
cmp eax, edi
je 0x429b9b
mov ecx, esi
call fcn.00429550
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 0x429b17
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x429bf2
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 0x429bf2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x429bf2
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.00429c00
mov ecx, esi
call fcn.00429630
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 0x429bf2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x429bf2
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.00429c00
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 0x42b220
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42b22e
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 0x42b26d
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.0042add0
test eax, eax
pop edi
jne 0x42b27c
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 0x42b2af
push esi
push 0
push 0x42b2c0
mov dword [esi + 0x5d0b0], 8
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov eax, 1
pop esi
ret
Function at 0x42ca10
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, 0x56d188
stosw word es:[edi], ax
call fcn.0040c160
push eax
push str._sdata_s
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0042dbd0
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 0x42ca80
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov ecx, 0x56d188
je 0x42cab1
call fcn.0040c160
push eax
push str._sdata_tcdump_secrash.dmp
push 0x104
push 0x577bdc
call fcn.0042dbd0
add esp, 0x10
jmp 0x42cc03
call fcn.0040c160
push eax
push str._sdata_tcdump_
push 0x104
push 0x577bdc
call fcn.0042dbd0
push 0x577bdc
call fcn.0043f530
mov eax, dword [0x56d1cc]
add esp, 0x14
test eax, eax
je 0x42cb7a
lea eax, [esp + 0xc]
test eax, eax
je 0x42cb29
mov ecx, 0x104
mov eax, 0x577bdc
xor esi, esi
cmp word [eax], 0
je 0x42cb07
add eax, 2
dec ecx
jne 0x42caf9
jmp 0x42cb0b
test ecx, ecx
jne 0x42cb10
mov esi, 0x80070057
test esi, esi
jl 0x42cb1d
mov edx, 0x104
sub edx, ecx
jmp 0x42cb1f
xor edx, edx
test esi, esi
jl 0x42cc03
jmp 0x42cb2d
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x577bdc]
sub ecx, edx
je 0x42cbfb
mov edi, str.MajorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42cb6d
mov dx, word [edi + eax]
test dx, dx
je 0x42cb6d
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42cb4f
jmp 0x42cbfb
test ecx, ecx
jne 0x42cbfe
jmp 0x42cbfb
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x42cbba
mov ecx, 0x104
mov eax, 0x577bdc
xor esi, esi
cmp word [eax], 0
je 0x42cb9c
add eax, 2
dec ecx
jne 0x42cb8e
jmp 0x42cba0
test ecx, ecx
jne 0x42cba5
mov esi, 0x80070057
test esi, esi
jl 0x42cbb2
mov edx, 0x104
sub edx, ecx
jmp 0x42cbb4
xor edx, edx
test esi, esi
jl 0x42cc03
jmp 0x42cbbe
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x577bdc]
sub ecx, edx
je 0x42cbfb
mov edi, str.MinorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42cbf7
mov dx, word [edi + eax]
test dx, dx
je 0x42cbf7
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42cbdc
jmp 0x42cbfb
test ecx, ecx
jne 0x42cbfe
sub eax, 2
mov word [eax], 0
push 0x577bdc
call fcn.0043f530
add esp, 4
push 0x577bdc
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret
Function at 0x42d880
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 0x42d936
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 0x42d905
cmp esi, 0x7fffffff
ja 0x42d905
mov ebp, SysReAllocString
mov edi, ebx
sub ebp, esi
mov eax, edx
sub edi, edx
lea ecx, [esi + ebp]
test ecx, ecx
je 0x42d8f9
mov cx, word [edi + eax]
test cx, cx
je 0x42d8f9
mov word [eax], cx
add eax, 2
dec esi
jne 0x42d8de
jmp 0x42d8fd
test esi, esi
jne 0x42d900
sub eax, 2
mov word [eax], 0
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0x42d940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
pop ebp
test esi, esi
je 0x42d936
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 0x42f9a0
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 0x5394a4
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 0x42fa13
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 0x539c6c
lea eax, [esp + 0x18]
push 0x103
push eax
call ebx
mov cx, word [0x56d150]
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 0x56d3f4
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.0043f530
lea ecx, [esp + 0x434]
push 1
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0043fd90
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.0043fc10
add esp, 8
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x820
ret 4
Function at 0x439210
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, 1
call fcn.004389e0
test eax, eax
je 0x439293
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 0x439289
lea eax, [esp + 0xc]
push str.IEInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x439293
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x43ec70
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 0x43ed78
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 0x43ed78
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 0x43ecea
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 0x43ed0a
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 0x43ed58
mov eax, dword [esi + 0x220]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x43ed58
mov dword [esp + 0x10], 1
jmp 0x43ed71
mov eax, dword [esi + 0x21c]
cmp eax, ebp
je 0x43ed71
push eax
call fcn.0051d19a
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 0x43f040
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
push edi
je 0x43f08e
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f08e
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x43f08e
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 0x43f088
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 0x43f0a0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push edi
je 0x43f0f5
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f0f5
mov ebp, dword [esp + 0x14]
test ebp, ebp
jbe 0x43f0f5
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 0x43f0ee
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 0x43f500
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 0x43f526
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x43f528
mov eax, esi
pop esi
ret