joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431e68
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 8
mov eax, 0x47c58a
call fcn.0044b0f4
xor ebx, ebx
push ebx
push ebx
mov esi, ecx
push 0xf0
push dword [esi + 0x694]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x431f57
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
push 0x3ee
push dword [esi + 4]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
cmp edi, ebx
jne 0x431ed2
lea ecx, [ebp - 0x10]
jmp 0x431f94
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.00449ba0
add esp, 0xc
push 0x3ff
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x49c23c], ebx
jne 0x431f2a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00431696
lea edi, [esi + 0xac]
mov ecx, edi
test eax, eax
jne 0x431f32
push 0x3af2ff
call fcn.00428d50
push ebx
jmp 0x431f3e
lea edi, [esi + 0xac]
mov ecx, edi
push 0xffffff
call fcn.00428d50
push 1
lea ecx, [esi + 0x3fc]
call fcn.0042cb0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040bf88
jmp 0x431f75
lea edi, [esi + 0xac]
push 0x3af2ff
mov ecx, edi
call fcn.00428d50
push ebx
lea ecx, [esi + 0x3fc]
call fcn.0042cb0b
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0042e638
push dword [ebp - 0x14]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0042e618
lea ecx, [ebp - 0x14]
call fcn.0040bf88
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00449c1a
add ebp, 0x804
leave
ret

Function at 0x431fbc
Capabilities:
Get graphical window text

Disassembly:
push 8
mov eax, 0x47c5c2
call fcn.0044b0f4
mov edi, ecx
push 0xd
call fcn.0040fa32
mov ecx, eax
call fcn.00442e5c
push 0x3ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [edi + 0x71c]
mov esi, 0x104
push esi
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.0040d426
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.0040e5e6
push ebx
lea ecx, [ebp - 0x14]
call fcn.0040f623
mov eax, dword [0x49501c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push 0x208
mov esi, 0x49bcb8
push esi
mov byte [ebp - 4], 1
call fcn.004303a8
lea eax, [ebp - 0x10]
push eax
push esi
mov ecx, edi
call fcn.00431696
test eax, eax
je 0x432081
mov eax, dword [0x49bcb8]
add eax, 0xffffff9f
cmp ax, 0x19
ja 0x43206e
mov eax, 0xffe0
add word [0x49bcb8], ax
push ebx
push esi
push 0x3921
push dword [0x49becc]
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [edi + 0x7c]
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x10]
call fcn.0040bf88
lea ecx, [ebp - 0x14]
call fcn.0040bf88
call fcn.0044b1cc
ret
Function at 0x432140
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x4004]
mov eax, 0x4004
call fcn.0044b4f0
push 0xffffffffffffffff
push 0x47c608
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x4000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x3ee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x2000
push edi
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea eax, [ebp]
push ebx
push eax
call fcn.00449ba0
add esp, 0xc
push 0x1000
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 9
call fcn.0040fa32
mov ecx, eax
call fcn.00442e5c
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
lea eax, [ebp]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x28], 0x481698
mov dword [ebp - 0x24], 0x59
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], 0x42fca8
mov dword [ebp - 0x30], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x4322be
push edi
lea eax, [ebp + 0x2000]
push ebx
push eax
call fcn.00449ba0
add esp, 0xc
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4322be
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x2000]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00431696
test eax, eax
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x14]
je 0x432296
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea edi, [esi + 0x3fc]
push 1
mov ecx, edi
call fcn.0042cb0b
add esi, 0x694
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4322b6
push ebx
push ebx
push 0xf0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4322b6
mov ecx, edi
jmp 0x4322b0
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0x10]
lea ecx, [esi + 0xac]
call fcn.0042e618
lea ecx, [esi + 0x3fc]
push ebx
call fcn.0042cb0b
lea ecx, [ebp - 0x10]
call fcn.0040bf88
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4000]
xor ecx, ebp
call fcn.00449c1a
add ebp, 0x4004
leave
ret

Function at 0x4329b0
Capabilities:
Create process on windows

Disassembly:
push 1
xor eax, eax
push eax
push eax
push str.www.360.cn
push 0x47fee4
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x432d22
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x432d2f
xor eax, eax
pop esi
ret
push 1
push 1
push dword [esi + 0x10]
call fcn.00429683
test eax, eax
je 0x432d2b
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x4333bb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x4333cb
lea esi, [ecx - 0x84]
jmp 0x4333cd
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x433401
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x4333f2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x433407
cmp dword [ebp + 0xc], 0
jne 0x433401
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x43341f
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x84]
call fcn.00432fcf
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4335f2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x91
lea ecx, [esi + 0x120]
call fcn.0040ec64
push 0
push dword [esi + 0xec]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x433a5f
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x47c8e8
call fcn.0044b0f4
mov esi, ecx
cmp dword [esi + 0x11c], 0x5001
jne 0x433acf
push 0x32
call fcn.0040fa32
mov ecx, eax
call fcn.00442e5c
mov eax, dword [0x49501c]
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
cmp dword [0x49c244], edi
je 0x433aa6
push 0x94
jmp 0x433aab
push 0x8f
call fcn.0040ec64
push 1
push edi
push edi
push dword [ebp - 0x10]
push 0x47fee4
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040bf88
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
call fcn.0044b1cc
ret
Function at 0x433c21
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2004]
mov eax, 0x2004
call fcn.0044b4f0
push 0xffffffffffffffff
push 0x47c92e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x2000], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x1ffe
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
call fcn.00449ba0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [0x49c22c]
mov dword [ebp - 0x14], 1
push dword [0x49c228]
mov dword [ebp - 0x18], 0x1000
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], 1
jne 0x433d19
cmp word [ebp], si
je 0x433d19
cmp dword [ebp - 0x18], esi
jbe 0x433d19
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041077d
push 0x48037c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.004136ce
mov eax, dword [0x49c230]
push eax
push dword [eax - 8]
lea ecx, [ebp - 0x10]
call fcn.0041336d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433d01
push esi
push dword [ebp - 0x10]
call fcn.004102aa
pop ecx
pop ecx
test eax, eax
jne 0x433d0f
push 0x26
call fcn.0040fa32
mov ecx, eax
call fcn.00442e5c
lea ecx, [ebp - 0x10]
call fcn.0040bf88
jmp 0x433d27
push 0x25
call fcn.0040fa32
mov ecx, eax
call fcn.00442e5c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x2000]
xor ecx, ebp
call fcn.00449c1a
add ebp, 0x2004
leave
ret
Function at 0x43b768
Capabilities:
Get common file path

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x43d81d
Capabilities:
Get common file path
Get disk information

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al

Function at 0x43d82c
Capabilities:
Get common file path

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x43da12
Capabilities:
Get common file path

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x441d2f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.0044b4f0
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa0]
mov edx, dword [ebp + 0xfac]
mov ecx, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
cmp eax, 0xffffffff
je 0x441e38
test ecx, ecx
je 0x441e38
mov edi, dword [ebp + 0xfa8]
test edi, edi
jle 0x441e38
mov eax, edi
cdq
and edx, 0xfff
add eax, edx
mov esi, eax
sar esi, 0xc
and edi, 0x80000fff
jns 0x441da8
dec edi
or edi, 0xfffff000
inc edi
and dword [ebp - 0x70], 0
and dword [ebp - 0x78], 0
mov dword [ebp - 0x74], ecx
test esi, esi
jle 0x441dfb
mov ebx, 0x1000
push ebx
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ce70
add esp, 0xc
push 0
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441e38
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x441df0
mov ecx, dword [ebp - 0x70]
add dword [eax], ecx
add dword [ebp - 0x74], ebx
inc dword [ebp - 0x78]
cmp dword [ebp - 0x78], esi
jl 0x441dbc
test edi, edi
jle 0x441e33
push edi
push dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.0044ce70
add esp, 0xc
push 0
lea eax, [ebp - 0x70]
push eax
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x441e38
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x441e33
mov ecx, dword [ebp - 0x70]
add dword [eax], ecx
xor eax, eax
inc eax
jmp 0x441e3a
xor eax, eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449c1a
add ebp, 0xf98
leave
ret

Function at 0x441e73
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
push 8
push 0
push edi
call fcn.00449ba0
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x441ec8
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x441ec7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x441f38
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x441f6e
xor eax, eax
jmp 0x441f8f
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
push dword [esi + 4]
push edi
call fcn.00441d2f
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x442388
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x442484
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebp
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
call fcn.0044216c
and dword [esp + 0x10], 0
push ebx
mov dword [esp + 0x18], eax
call fcn.00442155
pop ecx
pop ecx
xor ecx, ecx
cmp cx, word [eax]
jae 0x442464
push edi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
jne 0x442402
push 5
push dword [esi + 8]
jmp 0x442405
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x442463
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x442430
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x442411
test edi, edi
je 0x442463
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebp
push 1
push dword [esp + 0x18]
call fcn.004421ec
inc dword [esp + 0x18]
push ebx
mov dword [esp + 0x20], eax
call fcn.00442155
movzx eax, word [eax]
add esp, 0xc
cmp dword [esp + 0x10], eax
jl 0x4423f4
pop edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x44238b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x442484
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x10]
push 0x30
push eax
call ebp
movzx eax, word [esi]
push 5
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
call fcn.0044216c
and dword [esp + 0x10], 0
push ebx
mov dword [esp + 0x18], eax
call fcn.00442155
pop ecx
pop ecx
xor ecx, ecx
cmp cx, word [eax]
jae 0x442464
push edi
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], 0
jne 0x442402
push 5
push dword [esi + 8]
jmp 0x442405
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x442463
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x14]
je 0x442430
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x442411
test edi, edi
je 0x442463
push 1
push dword [esi + 0x10]
push 0x30
push edi
call ebp
push 1
push dword [esp + 0x18]
call fcn.004421ec
inc dword [esp + 0x18]
push ebx
mov dword [esp + 0x20], eax
call fcn.00442155
movzx eax, word [eax]
add esp, 0xc
cmp dword [esp + 0x10], eax
jl 0x4423f4
pop edi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x442846
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0044b4f0
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x442926
test edi, edi
je 0x442926
cmp dword [ebp + 0x10], 0x80
jl 0x442926
and dword [ebp - 0x200c], 0
push 0x2000
lea eax, [ebp - 0x2004]
push 0
push eax
call fcn.00449ba0
add esp, 0xc
lea eax, [ebp - 0x200c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x442926
cmp eax, 0x1fff
ja 0x442926
lea ecx, [ebp - 0x2004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x442926
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x2008]
push eax
push 0x48037c
lea eax, [ebp - 0x2004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x442926
push dword [ebp + 0x10]
push 0
push edi
call fcn.00449ba0
mov eax, dword [ebp - 0x2008]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push edi
call 0x43d86a
xor eax, eax
add esp, 0x24
inc eax
jmp 0x442928
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c1a
leave
ret
Function at 0x442b13
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x3e
mov word [ebp - 0x44], ax
xor esi, esi
lea eax, [ebp - 0x42]
push esi
push eax
call fcn.00449ba0
add esp, 0xc
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x50], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4c], eax
cmp eax, esi
je 0x442c0c
push ebx
push str.s.360.cn
lea ecx, [ebp - 0x48]
call fcn.0041077d
push esi
push esi
push 3
push esi
push esi
push 0x50
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
cmp ebx, esi
jne 0x442b8b
push dword [ebp - 0x4c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x442c03
push esi
push 0x8440c100
push esi
push esi
push str.HTTP_1.1
push edi
push 0x482994
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
cmp edi, esi
jne 0x442bb9
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
jmp 0x442c01
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x442bd9
push dword [ebp - 0x4c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
jmp 0x442c01
push esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x13
push edi
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push ebx
call esi
push dword [ebp - 0x4c]
call esi
lea ecx, [ebp - 0x48]
call fcn.0040bf88
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c1a
leave
ret 4

Function at 0x442d9c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x442d89
push eax
push eax
mov dword [esi], eax
mov dword [ebp - 4], eax
call fcn.0044e449
add esp, 0x18
mov dword [esi + 8], eax
pop esi
leave
ret

Function at 0x442efc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x11c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00449ba0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
mov ecx, dword [ebp + 0x9c]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00449c1a
add ebp, 0xa0
leave
ret

Function at 0x444550
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004444a7
test eax, eax
jne 0x444564
or edx, 0xffffffff
mov eax, edx
leave
ret
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
push 0
push 0
push dword [ebp - 4]
mov edi, eax
call fcn.00451ef0
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
leave
ret