joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b0b0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x45ad92
mov eax, dword fs:[0]
push eax
mov eax, 0x5118
call fcn.004421c0
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x5114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x512c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x513c]
mov edi, dword [esp + 0x5140]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x24], esi
mov byte [esi + 4], bl
push 0x4ffe
lea ecx, [esp + 0x12e]
xor eax, eax
push ebx
push ecx
mov dword [esp + 0x5140], ebx
mov dword [esp + 0x20], 1
mov word [esp + 0x134], ax
call fcn.00440500
add esp, 0xc
cmp dword [edi + 0x18], 8
lea ebp, [edi + 4]
jb 0x41b151
mov eax, dword [ebp]
jmp 0x41b153
mov eax, ebp
lea edx, [esp + 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x41b1f4
cmp eax, 0x4fff
ja 0x41b1f4
cmp dword [edi + 0x18], 8
jb 0x41b17a
mov ebp, dword [ebp]
lea ecx, [esp + 0x128]
push ecx
push eax
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41b1f4
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x463624
lea ecx, [esp + 0x134]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41b1f4
push pe_nt_image_headers32
lea edx, [esp + 0x2c]
push ebx
push edx
call fcn.00440500
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
lea eax, [esp + 0x44]
push str._d._d._d._d
push eax
call fcn.00441954
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00408ee0
mov eax, esi
mov ecx, dword [esp + 0x512c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5114]
xor ecx, esp
call fcn.004404e6
add esp, 0x5124
ret 8

Function at 0x41b360
Capabilities:
Access peb ldr_data
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x45add9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
movzx eax, word [esp + 0x10]
mov dword [esp + 0x40], ebx
mov dword [esp + 0xc], 1
cmp eax, ebx
je 0x41b3f4
cmp eax, 9
jne 0x41b402
push 2
push 0x4649c4
jmp 0x41b3fb
push 2
push 0x4649c0
mov ecx, esi
call fcn.00408c40
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x38
ret 4
Function at 0x41d020
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45b09b
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x170]
push 0x104
lea eax, [esp + 0x5c]
push 0
push eax
mov esi, ecx
call fcn.00440500
lea ecx, [esi + 0x3e4]
mov eax, ecx
add esp, 0xc
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41d082
mov esi, dword [esi + 0xd4]
mov edx, dword [esi - 0xc]
sub eax, edi
add eax, edx
cmp eax, 0x82
jbe 0x41d0b8
push ebp
push ecx
push str._r_n_t_item__r_n_t_t_dmpexe__s__dmpexe__r_n_t_t_stackmd5__s__stackmd5__r_n_t__item__r_n__evtdata_
lea ecx, [esp + 0x64]
push 0x103
push ecx
call fcn.00418c90
add esp, 0x14
jmp 0x41d0d2
push esi
push ebp
push ecx
push str._r_n_t_item__r_n_t_t_dmpexe__s__dmpexe__r_n_t_t_stackmd5__s__stackmd5__r_n_t_t_stackinf__S__stackinf__r_n_t__item__r_n__evtdata_
lea edx, [esp + 0x68]
push 0x103
push edx
call fcn.00418c90
add esp, 0x18
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x16c], 0
call fcn.00423300
add esp, 4
test eax, eax
jne 0x41d10c
or ebp, 0xffffffff
jmp 0x41d1f0
push 0x14
push str.modulesevtdata.dat
lea ecx, [esp + 0x18]
call fcn.00415b80
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
jne 0x41d15d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x168], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x41d206
push 0x40
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x20], 0
call fcn.00440500
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0x3f
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 9
lea ecx, [esp + 0x1c]
push ecx
push str._evtdata_
call fcn.00456f16
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
add esp, 0xc
test eax, eax
jne 0x41d1b8
push 2
push 0
push 0xfffffffffffffff4
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x41d1c9
push 0
lea edx, [esp + 0x18]
push edx
push 9
push str._evtdata_
push esi
call edi
lea eax, [esp + 0x58]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d1d0
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x64]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x168], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41d214
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004404e6
add esp, 0x15c
ret 4
Function at 0x41d240
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45b0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
call fcn.00419a40
push eax
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
mov dword [esp + 0x78], ebx
call fcn.00423000
add esp, 8
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x70], 1
jb 0x41d2a1
mov edx, dword [eax + 4]
jmp 0x41d2a4
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41d2c0
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x50]
call fcn.00408c40
mov edi, 0x10
cmp dword [esp + 0x28], edi
jb 0x41d2ec
mov edx, dword [esp + 0x14]
push edx
call fcn.004404db
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x70], 4
cmp dword [esp + 0x44], edi
jb 0x41d314
mov eax, dword [esp + 0x30]
push eax
call fcn.004404db
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
cmp dword [esp + 0x60], edi
jae 0x41d332
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0041ce20
test al, al
jne 0x41d354
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], edi
jae 0x41d34c
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0041d020
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x500], ebx
jne 0x41d36b
lea ecx, [esi + 0x814]
push ecx
call edi
lea edx, [esi + 0x60c]
push edx
call edi
add esi, 0x710
push esi
call edi
cmp dword [esp + 0x60], 0x10
jb 0x41d391
mov eax, dword [esp + 0x4c]
push eax
call fcn.004404db
add esp, 4
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004404e6
add esp, 0x64
ret

Function at 0x41d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45b148
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov dword [esp + 0xc], esi
call fcn.0041c8c0
cmp dword [eax + 0x18], 8
mov dword [esp + 0x30], esi
jb 0x41d473
mov eax, dword [eax + 4]
jmp 0x41d476
add eax, 4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, dword [esp + 0x3c]
push eax
push esi
call fcn.004281c0
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x41d4a0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004404db
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x41d8e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x48
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push ebx
push esi
mov esi, dword [esp + 0x5c]
push eax
push 0x20
lea eax, [esp + 0x14]
push eax
push 0x464c34
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0040fd40
push 0x464c34
push eax
call fcn.00418e00
mov bl, al
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d96a
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004404e6
add esp, 0x48
ret
lea ecx, [esp + 0xc]
push ecx
call fcn.004420b1
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004404e6
add esp, 0x48
ret

Function at 0x41d9a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x45b1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00415ea0
push str.DumpUper.ini
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x30], 0
call fcn.0040f5f0
add esp, 0x10
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41da20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 8]
push str.DumpUper.exe
lea ecx, [esp + 0x14]
push ecx
push 0x464c38
push edx
call fcn.0041d8e0
add esp, 0x10
test eax, eax
je 0x41da4c
mov eax, dword [esp + 0x10]
mov dword [edi + 0x4f4], eax
jmp 0x41da56
mov dword [edi + 0x4f4], 5
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x1c
ret
Function at 0x41ebd0
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45b3a0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
mov dword [esp + 0x68], eax
mov edi, 0x400
add edi, edi
push edi
call fcn.0044037f
mov esi, eax
lea eax, [esi + edi]
add esp, 4
cmp esi, eax
je 0x41ec5f
sub eax, esi
push eax
push 0
push esi
call fcn.00440500
add esp, 0xc
mov ecx, dword [esp + 0x38]
call fcn.004086d0
push eax
mov eax, dword [esp + 0x18]
push edi
push esi
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ebp, eax
push ebp
push esi
lea ecx, [esp + 0x48]
call fcn.00408c40
push esi
call fcn.00440de3
add esp, 4
test ebx, ebx
je 0x41ec9f
cmp dword [esp + 0x14], 0
mov eax, 1
jne 0x41eca4
mov eax, 2
mov ecx, edi
sub ecx, eax
cmp ebp, ecx
je 0x41ec3d
push 1
mov ebx, 0xf
push 0x464c84
lea edx, [esp + 0x28]
push ebx
xor ebp, ebp
push edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.00440857
mov eax, dword [esp + 0x30]
mov esi, 0x10
add esp, 0x10
mov dword [esp + 0x30], 1
cmp dword [esp + 0x34], esi
jae 0x41ecf0
lea eax, [esp + 0x20]
mov byte [eax + 1], 0
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
mov byte [esp + 0x74], 1
call fcn.0041eac0
add esp, 0xc
cmp dword [esp + 0x34], esi
jb 0x41ed23
mov edx, dword [esp + 0x20]
push edx
call fcn.004404db
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov byte [esp + 0x20], 0
cmp dword [esp + 0x58], esi
jb 0x41ed43
mov eax, dword [esp + 0x44]
push eax
call fcn.004404db
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004404e6
add esp, 0x58
ret
Function at 0x423300
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
mov ecx, esi
call fcn.0040c4b0
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4233ea
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.00440500
add esp, 0xc
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x20], 0x206
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4233a1
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0040f380
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
pop esi
setne cl
mov eax, ecx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004404e6
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004404e6
add esp, 0x218
ret
Function at 0x423410
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x45bd41
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x49ea64]
mov edx, dword [eax + 0xc]
mov ecx, 0x49ea64
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x28], ebx
call fcn.00423300
add esp, 4
test eax, eax
je 0x4234c4
push str._safemon360tray.exe
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0040f5f0
add esp, 0xc
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
push eax
mov byte [esp + 0x28], 1
mov dword [esp + 0x14], ebx
call esi
test eax, eax
je 0x4234c4
push str.hipsver.dll
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040f5f0
mov eax, dword [eax]
add esp, 0xc
push eax
mov ebx, 3
call esi
test eax, eax
je 0x4234c4
lea esi, [ebx - 2]
jmp 0x4234c6
xor esi, esi
test bl, 2
je 0x4234f2
mov eax, dword [esp + 0x14]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4234f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 0
test bl, 1
je 0x42351f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42351f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x423a90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x45be0c
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x4a4], eax
push esi
push edi
mov eax, dword [0x49c23c]
xor eax, esp
push eax
lea eax, [esp + 0x4b4]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x60]
push 0
push eax
mov esi, ecx
call fcn.00440500
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
add esp, 8
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
mov dword [esp + 0x64], 0x44
call fcn.0040c440
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
mov dword [esp + 0x4c8], 0
call fcn.0040c440
add eax, 0x10
mov dword [edi], eax
or edi, 0xffffffff
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c4], edi
call fcn.004243e0
push 0
mov dword [esp + 0x4c0], 1
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [esp + 0x34]
call fcn.00423a00
test eax, eax
je 0x423c45
add esi, 0x1c
push esi
lea ecx, [esp + 0x14]
push 0x465928
push ecx
call fcn.0040f6d0
push 0x465928
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x4d4], 2
call fcn.0040f5f0
add esp, 0x18
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x4bc], 4
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x410
lea ecx, [esp + 0xa4]
push 0
push ecx
call fcn.00440500
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0xb0]
push 0x208
push eax
call fcn.0044403f
mov esi, dword [esi]
push esi
call fcn.00425a50
add esp, 0x1c
test eax, eax
je 0x423c1e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x60]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xc0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x4bc], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4bc], edi
call fcn.00424010
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.004404e6
add esp, 0x4b4
ret

Function at 0x423e30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00423ca0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x423e75
mov ecx, dword [esi + 4]
cmp dword [ecx - 0xc], 0
je 0x423e75
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x423e75
push 0
push 0
push esi
push 0x423c80
push 0
push 0
call fcn.004441af
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret
Function at 0x423e90
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x423ec8
mov eax, 1
cmp dword [esp + 8], eax
je 0x423eca
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004404e6
add esp, 0x118
ret

Function at 0x4245a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0x463a1c
push eax
mov esi, ecx
call fcn.00443489
mov edi, eax
add esp, 8
test edi, edi
je 0x424657
mov ecx, dword [esi + 0x2c0]
push 0
push ecx
push edi
call fcn.004444f4
mov eax, dword [esi + 0x2d4]
add esp, 0xc
test eax, eax
je 0x4245ef
push eax
call fcn.004404db
add esp, 4
mov dword [esi + 0x2d4], 0
mov eax, dword [esi + 0x2bc]
test eax, eax
ja 0x42460a
push edi
call fcn.0044308c
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret 4
push eax
call fcn.0044037f
mov edx, dword [esi + 0x2bc]
push edi
push 1
push edx
push eax
mov dword [esi + 0x2d4], eax
call fcn.004433a8
push edi
call fcn.0044308c
mov eax, dword [esi + 0x2d4]
add esp, 0x18
cmp dword [eax], 0x2014b50
jne 0x424644
pop edi
xor eax, eax
pop esi
ret 4
push eax
call fcn.004404db
mov dword [esi + 0x2d4], 0
add esp, 4
pop edi
or eax, 0xffffffff
pop esi
ret 4
Function at 0x424bd0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0x465ac8
push ebx
mov esi, ecx
call fcn.00443489
mov edi, eax
add esp, 8
test edi, edi
jne 0x424bf6
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
lea eax, [esi + 0x2b0]
xor ecx, ecx
mov dword [eax + 4], ecx
push edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push 1
mov dword [eax + 0x10], ecx
push 0x16
mov word [eax + 0x14], cx
push eax
mov dword [eax], 0x6054b50
call fcn.00443647
push edi
call fcn.0044308c
push ebx
lea eax, [esi + 0xc]
push 0x4626b8
push eax
call fcn.00441954
mov edi, dword [esp + 0x34]
add esp, 0x20
test edi, edi
jne 0x424c47
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
push 0x463a1c
push edi
call fcn.00443489
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x424bed
push edi
lea ecx, [esi + 0x138]
push 0x4626b8
push ecx
call fcn.00441954
push ebx
call fcn.0044308c
add esp, 0x10
push 0
push 0
push 0
push edi
mov ecx, esi
call fcn.00424690
movzx eax, al
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
dec eax
pop ebx
ret 8

Function at 0x424d80
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
sub esp, 0x20c
mov eax, dword [0x49c23c]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push ebp
xor ebp, ebp
test ebx, ebx
je 0x424e55
lea edx, [esp + 8]
mov eax, ebx
sub edx, ebx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x424db0
push esi
push edi
lea edi, [esp + 0x10]
add edi, 0xfffffffe
jmp 0x424dd0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x424dd0
mov ecx, 7
mov esi, str.dbgfiles.cab
push str.http:__sdl.360safe.com_dbgfiles.cab
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push 0
push 0
lea eax, [esp + 0x18]
push eax
push str.http:__sdl.360safe.com_dbgfiles.cab
push 0
call sub.urlmon.dll_URLDownloadToFileW
pop edi
pop esi
test eax, eax
jne 0x424e3b
lea ecx, [esp + 8]
push ecx
call fcn.00425970
add esp, 4
test eax, eax
je 0x424e3b
push ebx
push 0x424cc0
push 0
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
je 0x424e3b
mov ebp, 1
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424e55
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x210]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004404e6
add esp, 0x20c
ret