joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424e50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46305d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CSettingHelper.0
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
lea edi, [esi + 8]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov dword [ebp - 4], 0
lea ebx, [esi + 0xc]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 4
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x48134c]
mov edx, dword [eax + 0xc]
mov ecx, 0x48134c
mov byte [ebp - 4], 5
call edx
add eax, 0x10
mov dword [esi + 0x38], eax
push 0
push 0x472350
mov ecx, edi
mov byte [ebp - 4], 6
mov dword [esi + 4], 0
call fcn.0040f6c0
xor edi, edi
push edi
push 0x472350
mov ecx, ebx
call fcn.0040f6c0
push edi
push 0x472350
lea ecx, [esi + 0x10]
call fcn.0040f6c0
push edi
push 0x472350
lea ecx, [esi + 0x14]
call fcn.0040f6c0
push edi
push 0x472350
lea ecx, [esi + 0x18]
call fcn.0040f6c0
push edi
push 0x472350
lea ecx, [esi + 0x1c]
call fcn.0040f6c0
mov eax, 1
push edi
push 0x472350
lea ecx, [esi + 0x38]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.0040f6c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425460
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x800
lea ecx, [ebp - 0x804]
push 0
push ecx
mov dword [ebp - 0x808], eax
call fcn.00446080
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
push 0x400
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x804]
push eax
call ebx
mov esi, eax
cmp esi, 1
je 0x42550e
call fcn.004248f0
mov esi, eax
test esi, esi
je 0x425512
push 0x800
lea ecx, [ebp - 0x804]
push 0
push ecx
call fcn.00446080
add esp, 0xc
lea edx, [ebp - 0x804]
push edx
push 0x400
call edi
lea eax, [ebp - 0x804]
push eax
call ebx
test eax, eax
jne 0x42550e
push eax
lea ecx, [ebp - 0x804]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x425512
test esi, esi
jne 0x425525
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425530
mov ecx, dword [ebp - 0x808]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x804]
push edx
call fcn.0040f6c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x425570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463110
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor edi, edi
test esi, esi
je 0x4256e7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4256e7
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4256e7
lea ecx, [ebp - 0x24]
call fcn.00423ae0
movzx eax, word [ebp + 0xc]
push 0x46abe8
push eax
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00424030
test eax, eax
je 0x42563b
mov edx, dword [0x48134c]
mov eax, dword [edx + 0xc]
mov ecx, 0x48134c
call eax
add eax, 0x10
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 1
call fcn.00425460
add esp, 4
test eax, eax
jne 0x42564f
mov byte [ebp - 4], al
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42563b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
jmp 0x4256e0
push 0x10
push str.SettingInfo.ini
lea ecx, [ebp + 8]
call fcn.004179c0
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x24]
call fcn.004241f0
test eax, eax
jne 0x42568f
mov byte [ebp - 4], al
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4256ce
push 1
push ecx
add esi, 0xfffffff0
mov dword [ebp + 0xc], esp
mov edi, esp
push esi
call fcn.0040f250
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [edi], eax
call fcn.004250d0
mov edi, eax
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4256ce
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x425840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x11c
mov ebx, ecx
push 0
push ebx
call fcn.00446080
add esp, 0xc
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 6
jne 0x42590b
cmp dword [ebx + 8], 2
jb 0x42590b
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42590b
push esi
push 0x471e6c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4258f9
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00446080
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
mov eax, ebx
jl 0x4258e9
push edi
mov ecx, 0x47
lea esi, [ebp - 0x120]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00445a92
mov esp, ebp
pop ebp
ret
Function at 0x4266a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.0040f7f0
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
call fcn.0040f7f0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040f7f0
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
fld qword [edi + 0x18]
fstp qword [esi + 0x18]
movzx edx, byte [edi + 0x20]
mov byte [esi + 0x20], dl
movzx eax, byte [edi + 0x21]
mov byte [esi + 0x21], al
mov cl, byte [edi + 0x22]
mov byte [esi + 0x22], cl
movzx edx, byte [edi + 0x23]
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
mov byte [esi + 0x23], dl
call fcn.0040f7f0
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esi + 0x28]
call fcn.0040f7f0
mov edx, dword [edi + 0x30]
lea ecx, [edi + 0x38]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
push ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], eax
call fcn.0040f7f0
lea edx, [edi + 0x3c]
push edx
lea ecx, [esi + 0x3c]
call fcn.0040f7f0
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
call fcn.0040f7f0
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
lea edx, [edi + 0x58]
mov dword [esi + 0x54], ecx
push edx
lea ecx, [esi + 0x58]
call fcn.0040f7f0
lea eax, [edi + 0x5c]
push eax
lea ecx, [esi + 0x5c]
call fcn.0040f7f0
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
lea eax, [edi + 0x68]
push eax
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], edx
call fcn.0040f7f0
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
lea edx, [edi + 0x70]
push edx
lea ecx, [esi + 0x70]
call fcn.0040f7f0
movzx eax, byte [edi + 0x74]
lea ecx, [edi + 0x78]
push ecx
lea ecx, [esi + 0x78]
mov byte [esi + 0x74], al
call fcn.0040f7f0
add edi, 0x7c
push edi
lea ecx, [esi + 0x7c]
call fcn.0040f7f0
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x42a7b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
lea edi, [ebx + 1]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00418bf0
push 0x46af70
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 1
call fcn.0040f860
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a82a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
add esi, 4
push esi
push edx
call fcn.004299a0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.00423b00
mov edx, dword [ebp - 0x10]
add esp, 0x10
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebx
je 0x42a87f
movzx edx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push 0x46af68
push edx
push eax
call fcn.004240d0
add esp, 0x10
cmp eax, ebx
jne 0x42a881
xor edi, edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a8a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004459ea
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a8db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42be00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 1
call fcn.00423ae0
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0x46af68
push eax
push ecx
xor esi, esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.00424030
test eax, eax
je 0x42bed6
lea edx, [ebp + 0xc]
push edx
call fcn.00418bf0
push 0x46af70
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0040f860
add esp, 0x10
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42be9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call fcn.004241f0
test eax, eax
jne 0x42befb
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bed6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 0x1c], esi
jne 0x42bf59
mov eax, dword [ebx + 0x14]
lea esi, [ebx + 4]
mov dword [ebp + 8], eax
cmp dword [esi + 0xc], eax
jbe 0x42bf19
call fcn.00446257
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [ebp - 0x20], edx
cmp edi, dword [esi + 0x10]
jbe 0x42bf2b
call fcn.00446257
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push ecx
push edx
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.00429560
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call fcn.0042ad00
add esp, 8
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x42bf59
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42bf86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00423ff0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42c380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
cmp byte [0x480f68], 0
jne 0x42c3b9
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
mov ebx, 1
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call sub.gdiplus.dll_GdiplusStartup
mov byte [0x480f68], bl
movzx edx, word [ebp + 8]
mov ebx, dword [0x48136c]
push 0x469c74
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x42c40f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42c40f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42c40f
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x42c418
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x42c43a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.00449fe0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42c40f
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0042c310
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42ccc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
push edi
je 0x42ccd2
mov edi, dword [esi + 0x34]
jmp 0x42ccd5
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cd12
test edi, edi
je 0x42cd12
cmp dword [ebp + 8], 0
je 0x42cd06
mov ecx, esi
call fcn.0042cb00
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x42cd20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x42cd79
mov eax, dword [esi + 0x48]
add eax, 4
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42cda5
cmp dword [esi + 0x2c], 0
je 0x42cd4b
mov edi, dword [esi + 0x34]
jmp 0x42cd4e
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cda5
test edi, edi
je 0x42cda5
mov ecx, esi
call fcn.0042cb00
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
je 0x42cd84
mov edi, dword [esi + 0x34]
jmp 0x42cd87
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cda5
test edi, edi
je 0x42cda5
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x42dd00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push eax
push 1
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x42dd76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42dd59
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x42dd4e
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042d790
mov dword [esi], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x14
lea esi, [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 4]
call fcn.0042dc20
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14
Function at 0x42e0c0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463e48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x47e4f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x42e158
push str.s.360.cn
lea ecx, [ebp - 0x54]
call fcn.0040fbb0
mov ecx, dword [ebp - 0x54]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x42e187
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e158
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e25d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42e25d
mov ecx, dword [ebp + 8]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push ecx
push 0x46b0fc
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x42e200
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42e1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42e25d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42e25d
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42e224
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
jmp 0x42e24d
push 0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x13
push ebx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
push esi
call ebx
lea ecx, [ebp - 0x54]
call fcn.0040ede0
lea ecx, [ebp + 8]
call fcn.0040ede0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445a92
mov esp, ebp
pop ebp
ret 4
Function at 0x42e500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esi], 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x42e4e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi], eax
mov dword [esi + 0x44], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e5e0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor bl, bl
cmp byte [esi + 4], bl
je 0x42e605
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
ret
push 0
push 0
push esi
push 0x42e580
push 0
push 0
call fcn.00449a95
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x42e627
mov bl, 1
mov byte [esi + 4], bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
ret