joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x40e890
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push edi
push dword [ebp + 0xc]
push dword [esi - 0x350]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e811
cmp byte [esi - 0x22c], al
je 0x40e7ec
add esi, 0xfffffcc4
jmp 0x40e7f2
mov esi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
call fcn.004073e0
push 0x44ea70
mov edi, eax
push 0x44eac8
push edi
call fcn.00406410
add esp, 0xc
jmp 0x40e83d
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x40e859
cmp byte [esi - 0x22c], cl
je 0x40e828
add esi, 0xfffffcc4
jmp 0x40e82e
mov esi, dword [esi - 0x340]
mov ecx, dword [ebp + 8]
push 0x44ea80
call fcn.00401e30
mov edi, eax
lea eax, [esi + 4]
push eax
push 0x44eac8
push edi
call fcn.00406410
add esp, 0xc
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, edi
je 0x40e890
cmp byte [esi - 0x22c], 0
lea eax, [esi - 0x33c]
jne 0x40e872
mov eax, dword [esi - 0x340]
add eax, 4
push eax
push ecx
push edi
push str.penc_rN
push dword [ebp + 8]
call fcn.004072b0
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
add dword [esi + 8], edi
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4121a0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
mov eax, dword [0x45604c]
xor eax, esp
mov dword [esp + 0x480], eax
mov eax, dword [ebp + 8]
push esi
push 0x44ec24
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call fcn.0042ad68
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x4122ac
push eax
push 0x400
lea eax, [esp + 0x88]
mov dword [esp + 0x14], 0
push 1
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.0042b387
add esp, 0x10
test eax, eax
je 0x412261
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0xc]
call fcn.0040d7d0
push dword [esp + 8]
lea eax, [esp + 0x88]
push 0x400
push 1
push eax
call fcn.0042b387
add esp, 0x14
test eax, eax
jne 0x412231
lea edx, [esp + 0x70]
lea ecx, [esp + 8]
call fcn.0040d890
push dword [esp + 4]
call fcn.0042aed4
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
add esp, 4
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4122ac
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412286
mov al, 1
pop esi
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x484]
xor al, al
pop esi
xor ecx, esp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
Function at 0x4122d0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x474
mov eax, dword [0x45604c]
xor eax, esp
mov dword [esp + 0x470], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push 0x44ec24
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call fcn.0042ad68
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x412329
xor al, al
pop esi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
push eax
push 0x400
lea eax, [esp + 0x78]
mov dword [esp + 0x14], 0
push 1
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.0042b387
add esp, 0x10
test eax, eax
je 0x41239c
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xc]
call fcn.0040d7d0
push dword [esp + 8]
lea eax, [esp + 0x78]
push 0x400
push 1
push eax
call fcn.0042b387
add esp, 0x14
test eax, eax
jne 0x412372
mov edx, esi
lea ecx, [esp + 8]
call fcn.0040d890
push dword [esp + 4]
call fcn.0042aed4
mov ecx, dword [esp + 0x478]
add esp, 4
mov al, 1
pop esi
xor ecx, esp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
Function at 0x412550
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x45fa6d], 0
jne 0x4126d2
cmp byte [0x45fadc], 0
mov byte [0x45fa6d], 1
jne 0x4126ba
push ebx
push edi
push 0x114
lea eax, [ebp - 0x32c]
mov byte [0x45fadc], 1
push 0
push eax
call fcn.00424340
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424340
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x412694
push str.kernel32.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00429ff5
add esp, 0xc
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 0
xor bl, bl
mov dword [ebp - 0x218], 0
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x412694
push esi
push eax
call fcn.00429f82
add esp, 4
mov esi, eax
lea eax, [ebp - 0x20c]
push esi
push dword [ebp - 0x210]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x412679
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x44a758
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x412679
mov eax, dword [ebp - 0x214]
mov bl, 1
movzx edi, word [eax + 0xa]
jmp 0x41267f
mov edi, dword [ebp - 0x218]
test esi, esi
je 0x41268c
push esi
call fcn.00429f67
add esp, 4
movzx eax, di
pop esi
test bl, bl
jne 0x41269a
mov eax, dword [ebp - 0x328]
cmp eax, 6
pop edi
setae al
mov byte [0x45fadd], al
pop ebx
mov byte [0x45fa6e], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
mov al, byte [0x45fadd]
mov byte [0x45fa6e], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x45fa6e]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
Function at 0x4129b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], 0
push esi
push edi
lea eax, [ebx + 4]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebp + 0xc]
mov eax, 0x456aa0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebx + 0x20], edx
cmp dword [eax], edx
je 0x412a06
add ecx, 0x10
add eax, 0x10
cmp ecx, 0x40
jb 0x4129f1
xor ecx, ecx
xor edx, edx
jmp 0x412a18
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, dword [ebp + 8]
xor edi, edi
nop dword [eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x412a2a
mov eax, dword [esi]
push 0
push 0x80
push dword [ebp - 0xc]
push 0
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
inc edi
mov dword [ebx + 0x1c], eax
cmp eax, 0xffffffff
jne 0x412a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x412a68
cmp edi, 3
jge 0x412ab7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x412a20
cmp eax, 5
jne 0x412a90
cmp edi, 3
jge 0x412ab7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x412a7c
mov eax, dword [esi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x412a20
test eax, eax
jne 0x412ab7
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x412ab7
lea ecx, [ebx + 0x24]
cmp ecx, esi
je 0x412ab7
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x412aae
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00405750
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x412b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x412b50
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x412b46
mov dword [eax], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x412b7b
pop edi
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
test ecx, ecx
je 0x412b8a
mov dword [ecx], eax
add dword [esi + 0x3c], eax
test eax, eax
jne 0x412b9b
pop edi
mov eax, 0xfffffffd
pop esi
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414180
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 4], eax
push 2
push 0
call fcn.00401e00
add esp, 8
test al, al
je 0x4143fd
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00424340
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00424340
add esp, 0x18
lea eax, [ebp - 0x61c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x61c]
push 0x5c
push eax
call fcn.004240c0
add esp, 8
test eax, eax
je 0x4141fe
xor ecx, ecx
mov word [eax], cx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x414]
push edi
push 0x44a7a4
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4143fb
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp + edi*2 - 0x61e], 0x5c
je 0x414261
push 0x44a758
lea eax, [ebp - 0x414]
push eax
call esi
push dword [0x45602c]
lea eax, [ebp - 0x414]
push eax
call esi
push 0x43eb60
lea eax, [ebp - 0x414]
push eax
call esi
push 0x458020
lea eax, [ebp - 0x414]
push eax
call esi
push 0x43eb60
lea eax, [ebp - 0x414]
push eax
call esi
push dword [0x456030]
lea eax, [ebp - 0x414]
push eax
call esi
push 0x43eb60
lea eax, [ebp - 0x414]
push eax
call esi
cmp byte [0x456028], 0
mov ecx, 0x4506f8
mov eax, 0x4506f4
cmove eax, ecx
push eax
lea eax, [ebp - 0x414]
push eax
call esi
push 0x44a7a4
lea eax, [ebp - 0x414]
push eax
call esi
push 0x5c
push 0x458430
call fcn.004240c0
mov edi, eax
add esp, 8
test edi, edi
je 0x414321
push 0x43eb68
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
push 0x44a7a4
lea eax, [ebp - 0x414]
push eax
call esi
push 0x5c
push 0x458228
call fcn.004240c0
mov edi, eax
add esp, 8
test edi, edi
je 0x41435f
push 0x43eb68
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [edi + 2]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
push 0x44a7a4
lea eax, [ebp - 0x414]
push eax
call esi
cmp byte [0x456028], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x65c], xmm0
movlpd qword [ebp - 0x654], xmm0
movlpd qword [ebp - 0x64c], xmm0
movlpd qword [ebp - 0x644], xmm0
movlpd qword [ebp - 0x63c], xmm0
movlpd qword [ebp - 0x634], xmm0
movlpd qword [ebp - 0x62c], xmm0
movlpd qword [ebp - 0x624], xmm0
mov dword [ebp - 0x660], 0x44
je 0x4143cb
mov eax, 5
mov dword [ebp - 0x634], 1
mov word [ebp - 0x630], ax
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x660]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x414]
push eax
push 0
movups xmmword [ebp - 0x670], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret
Function at 0x4149d0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x40000003
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0x400c0003
push 0
push 0
push 0x2000
mov esi, dword [edi]
cmp esi, 0xffffffff
push 0x2000
push 0xff
push 6
cmovne eax, edx
mov dword [ebp - 4], ecx
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x414a52
cmp esi, eax
jne 0x414a47
mov eax, dword [ebp - 4]
push 0
push 0
push 0x2000
push 0x2000
push 0xff
push 0
push 0x40000003
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x414a52
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10000000
push 6
push eax
call fcn.004126f0
push 6
push dword [edi]
call fcn.00412770
add esp, 0x14
xor esi, esi
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x414abb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 0x12
je 0x414ab2
cmp eax, 0x217
je 0x414aa9
cmp eax, 0x3e5
jne 0x414abb
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebx + 0x10]
call edi
test eax, eax
jne 0x414abd
push dword [ebx + 0x10]
call edi
test eax, eax
jne 0x414abd
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ca83
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x10], 0
cmp eax, dword [esi + 0x90]
jge 0x4164f2
lea ebx, [esi + 0x5c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4164f2
mov eax, dword [esi + 0x94]
cmp eax, dword [esi + 0x90]
jge 0x4164c6
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x4164c6
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x48]
call fcn.00416690
cmp eax, 0xffffffff
je 0x4164dd
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4164dd
inc dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x41643a
dec dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x41641b
push 0x14
call fcn.00422267
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x416405
push dword [esi + 4]
mov ecx, eax
call fcn.0041bae0
jmp 0x416407
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41641b
mov ecx, dword [esi + 4]
push eax
call fcn.00417e00
cmp byte [esi + 0x85], 0
je 0x41642c
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x8c], eax
jmp 0x4164b4
cmp byte [esi + 0x84], 0
je 0x416490
dec dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x416490
push 0x14
call fcn.00422267
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41647a
push dword [esi + 4]
mov ecx, eax
call fcn.0041bae0
jmp 0x41647c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x416490
mov ecx, dword [esi + 4]
push eax
call fcn.00417e00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 0x85], 0
mov dword [esi + 0x8c], eax
je 0x4164ad
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov dword [ebp - 0x10], 0
mov eax, dword [esi + 0x94]
cmp eax, dword [esi + 0x90]
jl 0x416381
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
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 0x417830
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea edi, [esi + 0xa4]
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x98]
mov ebx, eax
lea eax, [esi + 0x98]
mov esi, dword [ecx]
mov dword [ebp - 4], esi
cmp esi, ecx
je 0x4178e2
mov edi, eax
nop dword [eax]
mov eax, ebx
sub eax, dword [esi + 0x14]
test eax, eax
jle 0x4178d0
cmp dword [esi + 0x28], 0
je 0x4178a0
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x18]
mov ecx, eax
cmp edx, 8
jb 0x41788e
mov ecx, dword [eax]
test ecx, ecx
je 0x4178a0
cmp edx, 8
jb 0x417899
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00415600
push esi
mov ecx, edi
call fcn.004157d0
mov esi, eax
lea ecx, [esi + 0x14]
call fcn.00417600
push 0x30
push esi
call fcn.00422297
mov esi, dword [ebp - 4]
add esp, 8
mov dword [ebp - 4], esi
jmp 0x4178db
lea ecx, [ebp - 4]
call fcn.00415600
mov esi, dword [ebp - 4]
cmp esi, dword [edi]
jne 0x417870
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
push edi
mov eax, dword [eax + 0xa0]
sub ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr ebx, 0x1f
pop edi
xor bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 3
push dword [ebp + 0x20]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
push dword [ebp + 0x1c]
mov dword [esi], vtable.t_ipcServerTaskConditionDownloading.0
push dword [ebp + 0x18]
push edx
call fcn.0040fdb0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 0x34], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4185f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 3
push dword [ebp + 0x20]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
push dword [ebp + 0x1c]
mov dword [esi], vtable.t_ipcServerTaskConditionStart.0
push dword [ebp + 0x18]
push edx
call fcn.0040fbf0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 0x34], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x418670
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce3d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], 3
push dword [ebp + 0x18]
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
push edx
mov dword [esi], vtable.t_ipcServerTaskConditionWait.0
call fcn.0040fab0
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x2c], eax
mov al, byte [ebp + 0x10]
mov byte [esi + 0x30], al
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41a040
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
push 0
push 4
mov esi, ecx
push esi
push 0x41a0a0
push 0
push 0
call fcn.004262c1
mov edi, eax
add esp, 0x18
test edi, edi
je 0x41a083
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x41a083
push edi
push dword [esi + 4]
call fcn.004176c0
test al, al
je 0x41a083
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, 1
pop esi
ret
push 0x44a78c
push 0
push 0
push 0
push 0xc
mov ecx, esi
call fcn.0041af00
pop edi
mov eax, 1
pop esi
ret
Function at 0x41ada0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 4]
push 0
push eax
mov eax, dword [ebp + 0x10]
push edi
push 0x20000013
mov dword [ebp - 4], 4
push dword [eax]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41add1
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0xc8
jne 0x41ade0
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ebx], 0
mov eax, dword [edi]
sub eax, 0x12c
cmp eax, 0x63
ja 0x41ae23
push esi
xor esi, esi
nop dword [eax]
mov eax, dword [ebp + 0x10]
push ebx
push edi
push dword [ebp + 0x14]
push dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041ab00
add esp, 0x18
test al, al
je 0x41ae22
inc esi
cmp esi, 5
jl 0x41ae00
pop esi
cmp dword [ebx], 0
pop ebx
sete al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41b5d0
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push 0
push 4
mov esi, ecx
push esi
push 0x41b610
push 0
push 0
call fcn.004262c1
add esp, 0x18
test eax, eax
jne 0x41b601
push 0x44a78c
push eax
push 0xc
mov ecx, esi
call fcn.0041b650
or eax, 0xffffffff
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
Function at 0x41bc90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d208
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 3
lea esi, [ecx + 0x10]
mov dword [ecx], vtable.t_ipcServerTaskReplySGT.0
push 3
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
call fcn.0040ec90
mov dword [esi], vtable.t_taskMsgReplySGT.0
xorps xmm0, xmm0
mov dword [esi + 0x10], 0xffffffff
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], 7
mov word [esi + 0x4c], ax
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi + 0x74], eax
lea ecx, [esi + 0x2c]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], eax
call fcn.004066d0
push dword [ebp + 0x20]
lea ecx, [esi + 0x44]
call fcn.004066d0
push dword [ebp + 0x24]
lea ecx, [esi + 0x5c]
call fcn.004066d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20