joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e070
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c720
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x45604c]
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
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x40e0c9
push eax
call fcn.00429f77
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push ecx
lea ecx, [ebp - 0x370]
call fcn.00405ac0
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x1c], 0x450850
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0
push esi
push ebx
lea ecx, [ebp - 0x370]
mov dword [ebp - 4], 0
call fcn.00405c60
test al, al
je 0x40e25f
lea eax, [ebp - 0x378]
mov dword [ebp - 0x378], 0
push eax
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x374], eax
cmp eax, 0xffffffff
jne 0x40e14e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40e148
xor eax, eax
jmp 0x40e14e
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x378]
push eax
push dword [ebp - 0x36c]
mov dword [ebp - 0x378], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x374], eax
cmp eax, 0xffffffff
jne 0x40e193
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40e18d
xor eax, eax
mov dword [ebp - 0x374], eax
jmp 0x40e193
mov eax, dword [ebp - 0x374]
add eax, 4
push eax
call fcn.00429f92
add esp, 4
mov dword [ebp - 0x378], eax
test eax, eax
jne 0x40e1cc
mov dword [edi + 0x24], 2
cmp byte [esi + 0x11c], al
je 0x40e1c2
add esi, 0xc
push 0x450708
jmp 0x40e20c
mov esi, dword [esi + 8]
push 0x450708
jmp 0x40e20c
push dword [ebp - 0x374]
lea ecx, [ebp - 0x1c]
push eax
push ebx
call fcn.0040e680
test al, al
jne 0x40e227
mov ecx, dword [ebp - 0x378]
push ecx
mov dword [edi + 0x24], 3
call fcn.00429f77
add esp, 4
cmp byte [esi + 0x11c], 0
je 0x40e204
add esi, 0xc
jmp 0x40e207
mov esi, dword [esi + 8]
push 0x44ea40
mov ecx, ebx
call fcn.00401e30
lea ecx, [esi + 4]
push ecx
push 0x44eac8
push eax
call fcn.00406410
add esp, 0xc
jmp 0x40e266
lea ecx, [ebp - 0x370]
call fcn.00405e80
mov ecx, dword [ebp - 0x378]
xor edx, edx
mov eax, dword [ebp - 0x374]
push ecx
push eax
push ecx
mov dword [ecx + eax], edx
mov ecx, edi
push ebx
call fcn.0040e380
test al, al
jne 0x40e25b
mov dword [edi + 0x24], 4
jmp 0x40e1f6
mov bl, 1
jmp 0x40e268
mov dword [edi + 0x24], 1
xor bl, bl
lea ecx, [ebp - 0x370]
mov dword [ebp - method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [ebp - 0x1c], vtable.t_byteStreamRead.0
call fcn.00405ba0
mov al, bl
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.00422505
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e680
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 0x40e770
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 0x40e6f1
cmp byte [esi - 0x22c], al
je 0x40e6cc
add esi, 0xfffffcc4
jmp 0x40e6d2
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 0x40e71d
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x40e739
cmp byte [esi - 0x22c], cl
je 0x40e708
add esi, 0xfffffcc4
jmp 0x40e70e
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 0x40e770
cmp byte [esi - 0x22c], 0
lea eax, [esi - 0x33c]
jne 0x40e752
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 0x412050
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.0042ad78
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x41215c
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.0042b397
add esp, 0x10
test eax, eax
je 0x412111
push eax
lea edx, [esp + 0x84]
lea ecx, [esp + 0xc]
call fcn.0040d6b0
push dword [esp + 8]
lea eax, [esp + 0x88]
push 0x400
push 1
push eax
call fcn.0042b397
add esp, 0x14
test eax, eax
jne 0x4120e1
lea edx, [esp + 0x70]
lea ecx, [esp + 8]
call fcn.0040d770
push dword [esp + 4]
call fcn.0042aee4
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x74]
add esp, 4
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x41215c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412136
mov al, 1
pop esi
mov ecx, dword [esp + 0x480]
xor ecx, esp
call fcn.00422505
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x484]
xor al, al
pop esi
xor ecx, esp
call fcn.00422505
mov esp, ebp
pop ebp
ret
Function at 0x412180
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.0042ad78
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x4121d9
xor al, al
pop esi
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00422505
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.0042b397
add esp, 0x10
test eax, eax
je 0x41224c
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0xc]
call fcn.0040d6b0
push dword [esp + 8]
lea eax, [esp + 0x78]
push 0x400
push 1
push eax
call fcn.0042b397
add esp, 0x14
test eax, eax
jne 0x412222
mov edx, esi
lea ecx, [esp + 8]
call fcn.0040d770
push dword [esp + 4]
call fcn.0042aee4
mov ecx, dword [esp + 0x478]
add esp, 4
mov al, 1
pop esi
xor ecx, esp
call fcn.00422505
mov esp, ebp
pop ebp
ret
Function at 0x412400
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 [0x45fa7d], 0
jne 0x412582
cmp byte [0x45faec], 0
mov byte [0x45fa7d], 1
jne 0x41256a
push ebx
push edi
push 0x114
lea eax, [ebp - 0x32c]
mov byte [0x45faec], 1
push 0
push eax
call fcn.00424350
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00424350
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x412544
push str.kernel32.dll
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042a005
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 0x412544
push esi
push eax
call fcn.00429f92
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 0x412529
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 0x412529
mov eax, dword [ebp - 0x214]
mov bl, 1
movzx edi, word [eax + 0xa]
jmp 0x41252f
mov edi, dword [ebp - 0x218]
test esi, esi
je 0x41253c
push esi
call fcn.00429f77
add esp, 4
movzx eax, di
pop esi
test bl, bl
jne 0x41254a
mov eax, dword [ebp - 0x328]
cmp eax, 6
pop edi
setae al
mov byte [0x45faed], al
pop ebx
mov byte [0x45fa7e], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret
mov al, byte [0x45faed]
mov byte [0x45fa7e], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x45fa7e]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret
Function at 0x412860
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, 0x456ab0
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 0x4128b6
add ecx, 0x10
add eax, 0x10
cmp ecx, 0x40
jb 0x4128a1
xor ecx, ecx
xor edx, edx
jmp 0x4128c8
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 0x4128da
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 0x41294d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x412918
cmp edi, 3
jge 0x412967
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x4128d0
cmp eax, 5
jne 0x412940
cmp edi, 3
jge 0x412967
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41292c
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 0x4128d0
test eax, eax
jne 0x412967
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x412967
lea ecx, [ebx + 0x24]
cmp ecx, esi
je 0x412967
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41295e
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 0x4129d0
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 0x412a00
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4129f6
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 0x412a2b
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 0x412a3a
mov dword [ecx], eax
add dword [esi + 0x3c], eax
test eax, eax
jne 0x412a4b
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 0x414030
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 0x4142ad
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00424350
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00424350
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.004240d0
add esp, 8
test eax, eax
je 0x4140ae
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 0x4142ab
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp word [ebp + edi*2 - 0x61e], 0x5c
je 0x414111
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 0x458030
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, 0x450670
mov eax, 0x45066c
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 0x458440
call fcn.004240d0
mov edi, eax
add esp, 8
test edi, edi
je 0x4141d1
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 0x458238
call fcn.004240d0
mov edi, eax
add esp, 8
test edi, edi
je 0x41420f
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 0x41427b
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.00422505
mov esp, ebp
pop ebp
ret
Function at 0x414880
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 0x414902
cmp esi, eax
jne 0x4148f7
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 0x414902
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10000000
push 6
push eax
call fcn.004125a0
push 6
push dword [edi]
call fcn.00412620
add esp, 0x14
xor esi, esi
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x41496b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 0x12
je 0x414962
cmp eax, 0x217
je 0x414959
cmp eax, 0x3e5
jne 0x41496b
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 0x41496d
push dword [ebx + 0x10]
call edi
test eax, eax
jne 0x41496d
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4161c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ca93
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 0x4163a2
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 0x4163a2
mov eax, dword [esi + 0x94]
cmp eax, dword [esi + 0x90]
jge 0x416376
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 0x416376
push 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x48]
call fcn.00416540
cmp eax, 0xffffffff
je 0x41638d
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x41638d
inc dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x4162ea
dec dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x4162cb
push 0x14
call fcn.00422276
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4162b5
push dword [esi + 4]
mov ecx, eax
call fcn.0041b9f0
jmp 0x4162b7
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4162cb
mov ecx, dword [esi + 4]
push eax
call fcn.00417cb0
cmp byte [esi + 0x85], 0
je 0x4162dc
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 0x416364
cmp byte [esi + 0x84], 0
je 0x416340
dec dword [esi + 0x94]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x416340
push 0x14
call fcn.00422276
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41632a
push dword [esi + 4]
mov ecx, eax
call fcn.0041b9f0
jmp 0x41632c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x416340
mov ecx, dword [esi + 4]
push eax
call fcn.00417cb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [esi + 0x85], 0
mov dword [esi + 0x8c], eax
je 0x41635d
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 0x416231
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 0x4176e0
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 0x417792
mov edi, eax
nop dword [eax]
mov eax, ebx
sub eax, dword [esi + 0x14]
test eax, eax
jle 0x417780
cmp dword [esi + 0x28], 0
je 0x417750
mov edx, dword [esi + 0x2c]
lea eax, [esi + 0x18]
mov ecx, eax
cmp edx, 8
jb 0x41773e
mov ecx, dword [eax]
test ecx, ecx
je 0x417750
cmp edx, 8
jb 0x417749
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.004154b0
push esi
mov ecx, edi
call fcn.00415680
mov esi, eax
lea ecx, [esi + 0x14]
call fcn.004174b0
push 0x30
push esi
call fcn.004222a6
mov esi, dword [ebp - 4]
add esp, 8
mov dword [ebp - 4], esi
jmp 0x41778b
lea ecx, [ebp - 4]
call fcn.004154b0
mov esi, dword [ebp - 4]
cmp esi, dword [edi]
jne 0x417720
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 0x4181d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce4d
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.0040fc60
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 0x4184a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce4d
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.0040faa0
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 0x418520
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ce4d
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.0040f960
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 0x419f50
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
push 0
push 4
mov esi, ecx
push esi
push 0x419fb0
push 0
push 0
call fcn.004262d1
mov edi, eax
add esp, 0x18
test edi, edi
je 0x419f93
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x419f93
push edi
push dword [esi + 4]
call fcn.00417570
test al, al
je 0x419f93
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.0041ae10
pop edi
mov eax, 1
pop esi
ret