joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x100a23c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100c60c8]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0x414]
call dword [0x100c60dc]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
mov byte [ebp - 4], 1
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x100179d6
call fcn.10016d40
mov edi, eax
jmp 0x10017afb
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100179ef
call fcn.10016d40
jmp 0x10017af2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10017a08
call fcn.10016d40
jmp 0x10017af2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x20], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x10017a49
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x10017a30
lea eax, [ebp]
call fcn.10019dc0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.10019ba0
mov eax, 0x8007000e
jmp 0x10017b18
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x10017a63
cmp eax, 0xffffffff
jbe 0x10017a6d
push 0x80070057
call fcn.1000a200
cmp eax, 0x400
jbe 0x10017a86
lea edx, [ebp]
push edx
call fcn.10019dd0
mov dword [ebp - 4], 1
jmp 0x10017aa8
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x10017aa8
mov ebx, dword [ebp]
test ebx, ebx
jne 0x10017ab6
mov edi, 0x8007000e
jmp 0x10017af4
call dword [0x100c60dc]
push edi
push ebx
push edi
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10017ad7
call fcn.10016d40
jmp 0x10017af2
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
push eax
mov ecx, dword [ebp]
lea edx, [ebp - 0x28]
call fcn.100187d0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x10017b0f
lea eax, [ebp]
call fcn.10019dc0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.1009176c
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001cc90
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x34
mov eax, dword [edi + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fldz
cmp byte [ebp + 0x10], 0
fst qword [esp + 0x30]
fstp qword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
je 0x1001ccee
cmp dword [ebp + 0xc], esi
je 0x1001ccee
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
test eax, eax
je 0x1001ccee
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0xc
push 0x4000
mov byte [esp + 0x48], 0
call fcn.10090f1a
add esp, 4
push 0x4000
mov ebx, eax
push 0
push ebx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [edi + 0x1c], esi
jbe 0x1001cd84
mov cl, byte [ebp + 0x11]
test cl, cl
jne 0x1001cd80
mov eax, dword [esp + 0x4c]
push 0x4000
lea esi, [esp + 0x1c]
mov edx, ebx
call fcn.1007dbb0
mov dl, byte [ebp + 0x11]
test dl, dl
mov esi, eax
jne 0x1001cd80
cmp esi, 0xffffffff
je 0x1001cd80
test esi, esi
jbe 0x1001cda0
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], 0
je 0x1001cd7b
test ebx, ebx
je 0x1001cd7b
cmp dword [eax], 0xffffffff
je 0x1001cd7b
mov edx, dword [eax]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1001cd7b
cmp esi, dword [esp + 0x14]
je 0x1001cdb7
mov byte [esp + 0x44], 1
mov esi, dword [esp + 0x28]
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, dword [edi + 0x1c]
add esp, 4
xor ecx, ecx
cmp esi, eax
jne 0x1001cdfd
cmp dword [esp + 0x2c], ecx
jne 0x1001cdfd
mov bl, 1
jmp 0x1001cdff
jne 0x1001cd80
cmp byte [edi + 0x20], 0
jne 0x1001cd80
push 0x4b0
call sub.KERNEL32.dll_Sleep
add dword [esp + 0x10], 1
cmp dword [esp + 0x10], 5
ja 0x1001cd80
cmp dword [ebp + 0xc], 0
mov esi, dword [esp + 0x28]
je 0x1001cddc
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push esi
push edx
push edi
call eax
test eax, eax
jne 0x1001cdf6
mov ecx, dword [edi + 0x1c]
xor eax, eax
cmp dword [esp + 0x2c], eax
ja 0x1001cd84
jb 0x1001cd17
cmp esi, ecx
jae 0x1001cd84
jmp 0x1001cd17
mov byte [esp + 0x44], 1
jmp 0x1001cd84
xor bl, bl
cmp byte [esp + 0x44], 0
mov byte [esp + 0x4c], bl
je 0x1001ce17
mov cl, byte [ebp + 0x11]
xor bl, bl
test cl, cl
mov byte [esp + 0x4c], bl
jne 0x1001ce23
cmp byte [edi + 0x20], 0
je 0x1001ce23
mov bl, 1
mov byte [esp + 0x4c], bl
mov dl, byte [ebp + 0x11]
test dl, dl
jne 0x1001ce44
cmp byte [ebp + 0x10], dl
je 0x1001ce44
cmp dword [ebp + 0xc], 0
je 0x1001ce44
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [esp + 0x4c]
mov eax, dword [eax + 8]
push edx
call eax
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x34
ret 0xc
Function at 0x1001e1a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1009dcc1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001e1e6
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x1c]
call fcn.10011cd0
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x44]
push ebx
push eax
or eax, 0xffffffff
call fcn.10011ac0
push 0xffffffffffffffff
mov esi, 7
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], ebx
push ebx
mov ecx, edi
mov word [edi + 4], bx
call fcn.100076e0
mov dword [esp + 0x10], 1
mov byte [esp + 0x38], bl
cmp dword [esp + 0x2c], 8
jb 0x1001e24f
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x1001ecb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100996c3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.RC::RCBindStatusCallback.0
mov dword [esi + 4], vtable.RC::RCBindStatusCallback.1.0
mov dword [esp + 0x20], 5
mov ebp, 8
cmp dword [esi + 0x90], ebp
jb 0x1001ed09
mov eax, dword [esi + 0x7c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ebx, ebx
mov edi, 7
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], ebx
mov word [esi + 0x7c], bx
mov byte [esp + 0x20], 4
cmp dword [esi + 0x70], ebp
jb 0x1001ed36
mov eax, dword [esi + 0x5c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], ebx
mov word [esi + 0x5c], bx
mov byte [esp + 0x20], 3
cmp dword [esi + 0x54], ebp
jb 0x1001ed56
mov eax, dword [esi + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], ebx
mov word [esi + 0x40], bx
mov byte [esp + 0x20], 2
lea eax, [esi + 0x34]
push eax
call fcn.1001ec60
mov byte [esp + 0x20], 1
cmp dword [esi + 0x30], ebp
jb 0x1001ed84
mov eax, dword [esi + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], bx
mov byte [esp + 0x20], bl
lea ecx, [esi + 0x10]
push ecx
call fcn.1001ec60
mov dword [esp + 0x20], 0xffffffff
add esi, 0xc
push esi
call fcn.1001ec60
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1001fe70
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10099653
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push esi
call fcn.10020050
xor edi, edi
mov dword [esp + 0x20], edi
or ebp, 0xffffffff
mov dword [esi], vtable.RC::RCDownloadFileInfo.0
mov dword [esi + 4], vtable.RC::RCDownloadFileInfo.1.0
mov dword [esi + 8], vtable.RC::RCDownloadFileInfo.2.0
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov ebx, 7
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], edi
mov word [esi + 0x1c], di
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], edi
mov word [esi + 0x48], di
mov byte [esp + 0x20], 2
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x20], 3
lea eax, [esi + 0x64]
mov dword [esp + 0x14], eax
mov dword [eax], edi
mov byte [esp + 0x20], 5
lea eax, [esi + 0x68]
mov dword [esp + 0x14], eax
mov dword [eax], edi
mov byte [esp + 0x20], bl
lea eax, [esi + 0x6c]
mov dword [esp + 0x14], eax
mov dword [eax], edi
mov byte [esp + 0x20], 9
lea eax, [esi + 0x70]
mov dword [esp + 0x14], eax
mov dword [eax], edi
mov byte [esp + 0x20], 0xb
lea eax, [esi + 0x74]
mov dword [esp + 0x14], eax
mov dword [eax], edi
mov byte [esp + 0x20], 0xd
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], edi
mov word [esi + 0x7c], di
mov byte [esp + 0x20], 0xe
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa8], edi
mov word [esi + 0x98], di
mov byte [esp + 0x20], 0xf
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xc4], edi
mov word [esi + 0xb4], di
mov byte [esp + 0x20], 0x10
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], edi
mov word [esi + 0xd0], di
mov byte [esp + 0x20], 0x11
mov dword [esi + 0x100], ebx
mov dword [esi + 0xfc], edi
mov word [esi + 0xec], di
mov byte [esp + 0x20], 0x12
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x118], edi
mov word [esi + 0x108], di
mov byte [esp + 0x20], 0x13
mov byte [esi + 0x120], 1
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x148], edi
mov word [esi + 0x138], di
mov byte [esp + 0x20], 0x14
mov byte [esi + 0x150], 1
mov dword [esp + 0x20], ebp
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x10020f00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10096f04
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp], ebx
mov dword [eax], ebx
je 0x10021003
cmp dword [esp + 0x28], 1
jb 0x10021003
lea ecx, [esi + 0x68]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.1001fb70
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x10021030
lea eax, [esi + 0x64]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.1001fb70
mov byte [esp + 0x1c], 1
cmp dword [esi + 0x130], 0x401e8
jne 0x10020fdd
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x10020fdd
push ebx
push 0x100c77b4
push 0x100c7790
push ebx
push eax
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
cmp eax, ebx
je 0x10020fdd
mov dl, byte [eax + 0x74]
test dl, dl
je 0x10020fb6
cmp dword [eax + 0x10], ebx
jne 0x10020fdd
mov byte [esp + 0x1c], bl
lea eax, [esp + 0x30]
push eax
call fcn.1001ec60
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
call fcn.1001ec60
mov eax, 0x8000000a
jmp 0x10021008
cmp dword [esp + 0x2c], ebx
jne 0x1002101e
mov byte [esp + 0x1c], bl
lea edx, [esp + 0x30]
push edx
call fcn.1001ec60
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.1001ec60
mov eax, 0x80030009
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
mov byte [esp + 0x1c], bl
lea ecx, [esp + 0x30]
push ecx
call fcn.1001ec60
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x2c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push edi
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0x24]
mov dword [ebp], eax
add dword [esi + 0x128], eax
adc dword [esi + 0x12c], ebx
mov dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x2c]
push eax
call fcn.1001ec60
mov eax, edi
jmp 0x10021008
Function at 0x10022ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100994e1
mov eax, dword fs:[0]
push eax
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 7
mov dword [eax + 0x28], edx
mov dword [eax + 0x24], ecx
mov word [eax + 0x14], cx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x48], ecx
mov word [eax + 0x38], cx
mov byte [esp + 0xc], 1
mov dword [eax + 0x68], edx
mov dword [eax + 0x64], ecx
mov word [eax + 0x54], cx
mov byte [esp + 0xc], 2
or edx, 0xffffffff
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x2c], 2
mov byte [eax + 0x30], cl
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x1009db49
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.10023200
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.RC::RCDownloadBlock.0
mov dword [esi + 4], vtable.RC::RCDownloadBlock.1.0
mov dword [esi + 8], vtable.RC::RCDownloadBlock.2.0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esp + 0x14], 1
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.10023330
mov byte [esp + 0x14], 2
mov dword [esi + 0xc4], ebx
mov byte [esp + 0x14], 3
push 1
lea ecx, [esi + 0xc8]
call fcn.1006bc20
mov byte [esp + 0x14], 4
mov byte [esi + 0xec], bl
mov dword [esi + 0xf0], ebx
mov byte [esp + 0x14], 5
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [esi + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x14], 6
mov byte [esi + 0xf8], bl
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10023330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100994a4
mov eax, dword fs:[0]
push eax
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 7
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], ecx
mov word [eax + 4], cx
mov dword [esp + 0xc], ecx
mov dword [eax + 0x34], 0xf
mov dword [eax + 0x30], ecx
mov byte [eax + 0x20], cl
mov byte [esp + 0xc], 1
mov dword [eax + 0x50], edx
mov dword [eax + 0x4c], ecx
mov word [eax + 0x3c], cx
mov byte [esp + 0xc], 2
mov dword [eax + 0x6c], edx
mov dword [eax + 0x68], ecx
mov word [eax + 0x58], cx
mov byte [esp + 0xc], 3
mov dword [eax + 0x88], edx
mov dword [eax + 0x84], ecx
mov word [eax + 0x74], cx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x10024d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi - 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x18], eax
call fcn.100239d0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10024e00
add esi, 0x18
mov ecx, 8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 1
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x18]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10024e17
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test bl, bl
je 0x10024e2c
mov al, byte [edi + 0xe8]
test al, al
jne 0x10024e2c
mov eax, 1
jmp 0x10024e2e
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret

Function at 0x10024e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi - 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x18], eax
call fcn.100239d0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10024ee0
add esi, 0x18
mov ecx, 8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 2
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x18]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10024ef7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test bl, bl
je 0x10024f0c
mov al, byte [edi + 0xe8]
test al, al
jne 0x10024f0c
mov eax, 1
jmp 0x10024f0e
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret
Function at 0x10024f30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi - 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x18], eax
call fcn.100239d0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10024fc0
add esi, 0x18
mov ecx, 8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 4
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x18]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10024fd7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test bl, bl
je 0x10024fec
mov al, byte [edi + 0xe8]
test al, al
jne 0x10024fec
mov eax, 1
jmp 0x10024fee
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret

Function at 0x10025010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c60c8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xc]
lea esi, [edi - 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edi
xor bl, bl
mov dword [esp + 0x18], eax
call fcn.100239d0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100250a0
add esi, 0x18
mov ecx, 8
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push 0
push 5
push ecx
mov ecx, eax
call edx
mov edi, dword [esp + 0x18]
mov bl, al
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x100250b7
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
test bl, bl
je 0x100250cc
mov al, byte [edi + 0xe8]
test al, al
jne 0x100250cc
mov eax, 1
jmp 0x100250ce
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1009176c
mov esp, ebp
pop ebp
ret
Function at 0x1002c000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100a216e
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.1002c140
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.RC::RCDownloadTask.0
mov dword [esi + 4], vtable.RC::RCDownloadTask.1.0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 5
mov byte [esi + 0x14], bl
push 0x18
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
push eax
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x14], 1
mov dword [esi + 0x24], ebx
mov byte [esp + 0x14], 2
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esp + 0x14], 3
push 1
lea ecx, [esi + 0x30]
call fcn.1006bc20
mov byte [esp + 0x14], 4
lea eax, [esi + 0x5c]
push eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
call fcn.10031df0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x68]
push ecx
call fcn.100323d0
mov byte [esp + 0x14], 6
lea edx, [esi + 0x74]
push edx
call fcn.100323d0
mov byte [esp + 0x14], 7
lea eax, [esi + 0x84]
push eax
mov byte [esi + 0x80], bl
call fcn.10032740
mov byte [esp + 0x14], 8
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], 2
mov byte [esi + 0xa4], bl
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4