joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e880
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x2cc8
call fcn.0049d320
push ebx
push ebp
push esi
push edi
call fcn.0040e6f0
mov ebx, eax
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0xcd8]
rep stosd dword es:[edi], eax
mov esi, 1
lea eax, [esp + 0x14]
lea ecx, [esp + 0xcd8]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0x1000
push eax
mov eax, dword [ebx + 0x30]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x2c]
push edx
mov edx, dword [ebx + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [esp + 0x10], esi
jne 0x40e955
cmp word [esp + 0xcd8], 0
je 0x40e955
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x40e955
lea eax, [esp + 0xcd8]
lea edi, [ebx + 0x24]
test eax, eax
jne 0x40e905
xor ebp, ebp
jmp 0x40e915
lea ecx, [esp + 0xcd8]
push ecx
call dword [0x4ab204]
mov ebp, eax
push ebp
mov ecx, edi
call fcn.00403e20
test eax, eax
je 0x40e955
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x40e946
mov edi, dword [edi]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0xcd8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
mov dword [ecx - 8], ebp
mov edx, dword [ebx + 0x24]
mov word [edx + eax], 0
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x24]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push eax
lea edx, [esp + 0x26c]
push ecx
push edx
call esi
mov edi, dword [0x4ab088]
lea eax, [esp + 0xa88]
lea ecx, [esp + 0x268]
push eax
push ecx
call edi
cmp eax, 0xffffffff
je 0x40e9d3
mov ebp, dword [0x4ab08c]
push eax
call ebp
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40e9c3
mov edx, dword [ebx + 0x24]
push eax
lea eax, [esp + 0x67c]
push edx
push eax
call esi
lea ecx, [esp + 0x18]
lea edx, [esp + 0x678]
push ecx
push edx
call edi
cmp eax, 0xffffffff
je 0x40e9d3
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2cc8
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2cc8
ret
Function at 0x40f3e0
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40f42f
cmp dword [esp + 0x10], 0x104
jl 0x40f42f
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
mov dword [esp + 0x18], 0
call dword [0x4ab538]
test eax, eax
jl 0x40f42f
mov edx, dword [esp + 0xc]
push esi
push edx
call dword [0x4ab53c]
mov eax, dword [esp + 0xc]
push eax
call dword [0x4ab7e4]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x410140
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab910
push 0x49d618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x4101eb
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], ebx
cmp esi, ebx
je 0x4101b7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4101b7
push esi
call fcn.004360d0
add esp, 4
test eax, eax
je 0x4101b7
push esi
call fcn.00436210
add esp, 4
test eax, eax
jne 0x4101b7
call fcn.00435f70
push eax
push esi
call fcn.00435ff0
add esp, 8
xor eax, eax
jmp 0x4101bc
mov eax, 1
mov dword [ebp - 0x30], eax
cmp eax, ebx
je 0x4101eb
push edi
call dword [0x4ab534]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412fd0
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00413110
mov edi, dword [esp + 0xc]
test edi, edi
je 0x413008
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41300c
push edi
call fcn.00436210
add esp, 4
test eax, eax
jne 0x41300c
call fcn.00435f70
push eax
push edi
call fcn.00435ff0
add esp, 8
xor eax, eax
jmp 0x413013
push edi
call dword [0x4ab13c]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x413021
pop edi
xor al, al
pop esi
ret 4
mov edi, dword [0x4ab0f8]
push str.HttpCreateDownloadObj
push eax
mov byte [esi + 0x68], 0
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x60]
push str.HttpDeleteDownloadObj
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpInitDownPara
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpDownload
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x60]
push str.HttpCancel
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpWait
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpResetAll
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x60]
push str.HttpGetState
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetConnectState
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetContentLength
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x60]
push str.HttpGetReceivedLength
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetLastError
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpDownloadExW
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x60]
push str.HttpGetResumedLength
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.HttpGetCurrentSpeed
push ecx
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esi + 0x60]
push str.HttpGetLastErrorW
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x34], eax
pop edi
mov al, 1
pop esi
ret 4
Function at 0x413610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
call fcn.00413310
mov eax, dword [esi + 0x64]
push eax
call dword [esi + 0x3c]
mov ecx, dword [esi + 0x64]
mov edi, dword [ebp + 8]
push ecx
mov dword [esi + 0x5c], eax
call dword [esi + 0x30]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov edx, dword [esi + 0x88]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x8c]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x64]
push ecx
call dword [esi + 0x40]
mov ecx, dword [edi + 0x10]
add esp, 0xc
sub ecx, eax
mov eax, dword [edi + 0x14]
mov ebx, dword [0x4ab234]
mov dword [edi + 0x18], ecx
sbb eax, edx
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
call ebx
mov edx, dword [esi + 0x70]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3e8
jl 0x4136c1
mov eax, 0x10624dd3
imul ecx
mov eax, edx
sar eax, 6
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
cdq
push edx
mov edx, dword [edi + 0x1c]
push eax
mov eax, dword [edi + 0x18]
push edx
push eax
call fcn.0049d5b0
mov dword [esi + 0x58], eax
cmp dword [esi + 0x6c], 1
jne 0x4136d0
mov dword [edi + 0x40], 0
jmp 0x4136d6
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x40], ecx
mov dl, byte [esi + 0x6c]
mov byte [edi + 0x45], dl
mov eax, dword [esi + 0x74]
cmp eax, 0xffffffff
je 0x41372b
call ebx
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub eax, edx
cmp eax, ecx
jbe 0x41372b
cmp dword [esi + 0x6c], 6
jne 0x41372b
mov dword [esi + 0x6c], 3
mov al, byte [esi + 0x6c]
mov byte [edi + 0x45], al
mov ecx, dword [esi + 0x64]
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call dword [esi + 0x18]
mov edx, dword [esi + 0x64]
add esp, 4
push edx
call dword [esi + 0x1c]
mov eax, dword [esi + 0x64]
add esp, 4
push eax
call dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x64], edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413f60
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x4140c4
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x413fb7
cmp bx, 0x7e
jne 0x413f9d
call fcn.00414c20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x413fe6
mov ecx, esi
call fcn.00414ca0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x413fe6
push edi
mov ecx, esi
call fcn.00413f10
push ebp
mov ecx, esi
call fcn.004140f0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.00413f00
test eax, eax
je 0x413fe6
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x414067
test eax, eax
je 0x413ffd
lea esi, [eax - 0x9c]
jmp 0x413fff
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x414034
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [0x4ab690]
cmp ebx, 2
jne 0x414025
push 0
push eax
call dword [0x4ab5d0]
jmp 0x414039
test ebx, ebx
jne 0x414034
push 5
push eax
call dword [0x4ab5d0]
jmp 0x414039
cmp ebx, 1
je 0x414087
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.00415020
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x41409d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x414087
cmp dword [eax + 0x18], ecx
je 0x414087
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00434070
test eax, eax
je 0x4140c4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x414d30
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call dword [0x4ab148]
call fcn.00405cf0
test eax, eax
jne 0x414d4b
call fcn.00405d20
test eax, eax
je 0x414da1
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x28
call dword [0x4ab0a8]
push eax
call dword [0x4ab020]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x4ab004]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [0x4ab024]
push 0
push 6
call dword [0x4ab684]
add esp, 0x14
ret
Function at 0x417430
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x4175d7
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41746b
push 1
call fcn.004173e0
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004175e0
mov dword [ebp], eax
jmp 0x4174e0
cmp ebx, 2
jne 0x417482
push 1
mov ecx, esi
call fcn.004173e0
mov ecx, esi
call fcn.00418170
jmp 0x4174d9
cmp ebx, 0x111
jne 0x4174a3
cmp di, 0x6c
jne 0x4174f7
mov ecx, esi
call fcn.00417630
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x4174be
push 1
mov ecx, esi
call fcn.004173e0
push edi
mov ecx, esi
call fcn.00417b10
jmp 0x4174d9
cmp ebx, 0x18
jne 0x4174f7
push 1
mov ecx, esi
call fcn.004173e0
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.00418950
mov dword [ebp], 0
mov ecx, esi
call fcn.004173d0
test eax, eax
je 0x4174f7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0xa0]
jne 0x417579
test eax, eax
je 0x41750e
lea esi, [eax - 0xa0]
jmp 0x417510
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x417545
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [0x4ab690]
cmp edi, 2
jne 0x417536
push 0
push eax
call dword [0x4ab5d0]
jmp 0x41754a
test edi, edi
jne 0x417545
push 5
push eax
call dword [0x4ab5d0]
jmp 0x41754a
cmp edi, 1
je 0x41759d
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0xa0]
call fcn.00418ee0
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x4175b0
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41759d
cmp dword [eax + 0x18], ecx
je 0x41759d
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ecx + 0x1c], eax
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push 0
push ebp
push ecx
push edi
push ebx
push edx
lea ecx, [esi + 0x20]
call fcn.00434070
test eax, eax
je 0x4175d7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x419be0
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push 0
push 0
call dword [0x4ab714]
mov edi, eax
test edi, edi
jne 0x419c07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov eax, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push eax
push edi
call dword [0x4ab728]
mov esi, eax
test esi, esi
je 0x419c9d
mov ebx, dword [esp + 0x5c]
mov ebp, dword [0x4ab72c]
lea ecx, [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push ecx
push edx
push 0x13
push esi
mov dword [esp + 0x24], 0x40
call dword [0x4ab730]
test eax, eax
je 0x419cb0
lea eax, [esp + 0x14]
push eax
call dword [0x4ab480]
add esp, 4
cmp eax, 0x197
je 0x419c68
cmp eax, 0x191
jne 0x419cb0
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x419cb0
push esi
call dword [0x4ab734]
mov ecx, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push ecx
push edi
call dword [0x4ab728]
mov esi, eax
test esi, esi
jne 0x419c2b
push esi
call dword [0x4ab734]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
push esi
mov esi, dword [0x4ab734]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 8
Function at 0x41b890
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6a48
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
mov eax, dword [edi + 0x5b4]
cmp eax, 3
ja case.default.0x41b8b6
jmp dword [eax*4 + 0x41b9e0]
lea ecx, [edi + 0x64]
call fcn.0042e000
test eax, eax
je case.default.0x41b8b6
push 0x17
jmp 0x41b8d7
push 0xa
jmp 0x41b8d7
push 0x13
jmp 0x41b8d7
push 0xd
mov ecx, 0x4cb540
call fcn.00402fe0
mov ecx, edi
call fcn.0041cac0
test eax, eax
je 0x41b9c4
push esi
mov ecx, 0x4cb540
call fcn.004012f0
mov ecx, eax
call fcn.00432140
add eax, 4
lea ecx, [esp + 8]
push eax
call fcn.00404b00
mov dword [esp + 0x34], 0
call dword [0x4ab5d4]
mov esi, eax
lea eax, [esp + 8]
mov dword [esp + 0x10], eax
call dword [0x4ab070]
push 0x4cb5e4
mov dword [esp + 0x18], eax
call dword [0x4ab06c]
mov ecx, dword [0x4cb618]
lea edx, [esp + 0x10]
push 0x4cb5e4
mov dword [esp + 0x1c], ecx
mov dword [0x4cb618], edx
call dword [0x4ab068]
mov eax, dword [0x4cb5b8]
push 0
push 0x404150
push esi
push 0x83
push eax
call dword [0x4ab5d8]
cmp eax, 2
pop esi
je 0x41b9a7
push 0xe
mov ecx, 0x4cb540
call fcn.00402fe0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00404c40
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xf
mov ecx, 0x4cb540
call fcn.00402fe0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00404c40
push 2
mov ecx, edi
call fcn.0041b9f0
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x41bf90
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [0x4ab5d0]
ret
Function at 0x41c1c0
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6a8b
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x5c0]
test eax, eax
je 0x41c1ee
xor ebx, ebx
jmp 0x41c1f5
mov ebx, dword [esp + 0x3c8]
mov eax, dword [0x4cb5b8]
push 0xca
push eax
call dword [0x4ab640]
mov edx, eax
mov ecx, 0xe9
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x3d0]
mov ecx, dword [esi + 4]
neg eax
sbb eax, eax
mov dword [esp + 0x10], 0x3a8
and eax, 0xc
mov dword [esp + 0x18], 0x81
add eax, 7
mov dword [esp + 0x3b4], 0
test ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0x7e9
mov dword [esp + 0x330], 0x1388
je 0x41c3d8
mov esi, dword [esp + 0x3cc]
test esi, esi
je 0x41c3e5
push ebp
mov ebp, dword [0x4ab4c8]
push 0x100
lea edx, [esp + 0x138]
push esi
push edx
call ebp
push 0x80
lea eax, [esp + 0x3c]
push esi
push eax
call ebp
mov ecx, dword [0x4bc080]
add esp, 0x18
mov dword [esp + 0x10], ecx
mov ecx, 0x4cb540
mov dword [esp + 0x3c4], 0
call fcn.004012f0
mov ecx, eax
call fcn.00432140
mov edi, eax
mov eax, dword [esp + 0x10]
add edi, 4
mov esi, dword [edi]
cmp eax, esi
je 0x41c37b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x4bc084]
jge 0x41c2f1
lea ebx, [eax - 0xc]
cmp ebx, edx
jne 0x41c2f8
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x41c33b
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00403e20
test eax, eax
je 0x41c377
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x41c328
mov edi, dword [esp + 0x10]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x41c377
add eax, 0xfffffff4
cmp eax, edx
je 0x41c367
push ecx
call dword [0x4ab208]
test eax, eax
jg 0x41c35d
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004985d0
add esp, 4
mov ecx, dword [0x4bc080]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [0x4ab200]
mov eax, dword [esp + 0x10]
push 0x40
lea edx, [esp + 0x33c]
push eax
push edx
call ebp
mov esi, dword [0x4ab530]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
call esi
test eax, eax
pop ebp
jne 0x41c3a7
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4bc084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41c3e5
add eax, 0xfffffff4
push eax
call dword [0x4ab208]
test eax, eax
jg 0x41c3e5
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.004985d0
add esp, 4
jmp 0x41c3e5
lea ecx, [esp + 0x10]
push ecx
push 2
call dword [0x4ab530]
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b8
ret 0xc
Function at 0x41ccd0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x5b8], 1
call dword [0x4ab234]
mov ecx, 0x4cb540
mov dword [esi + 0x5d8], eax
call fcn.00401310
mov ecx, eax
call fcn.00416db0
test eax, eax
jne 0x41cd14
push 1
push eax
push eax
mov ecx, esi
call fcn.0041c1c0
push 2
mov ecx, esi
call fcn.0041b9f0
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [0x4ab5d0]
mov ecx, 0x4cb540
call fcn.004012f0
mov ecx, eax
call fcn.00432140
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
push 1
mov ecx, esi
call fcn.0041c1c0
mov ecx, esi
call fcn.0041c930
pop esi
ret
Function at 0x41d2f0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
mov esi, ecx
push 0
push 0
push 0xffffd8f0
mov eax, dword [esi + 4]
push 0xffffd8f0
push 0
push eax
call dword [0x4ab5a0]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [0x4ab5d0]
pop esi
ret 4

Function at 0x41dfe0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a6b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov dword [esi + 0x18], eax
mov ecx, dword [0x4bc080]
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x4bc080]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x28], 0x3a98
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], eax
mov edx, dword [esi + 0x28]
mov ecx, esi
push edx
push 0x64
mov byte [esp + 0x18], 2
mov dword [esi], vtable.CProgressDialog.0
call fcn.0041e640
mov ecx, dword [esp + 8]
mov eax, esi
fstp dword [esi + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x420c30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x420e0a
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x420c83
push 1
call fcn.00420be0
push ebp
mov ecx, esi
call fcn.00420e20
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.00420bd0
test eax, eax
je 0x420d2c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x18
jne 0x420cbb
push 1
mov ecx, esi
call fcn.00420be0
push ebp
push edi
mov ecx, esi
call fcn.00421050
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [edx], 0
call fcn.00420bd0
test eax, eax
je 0x420d2c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x420d2c
cmp di, 0x6a
jne 0x420cdc
mov ecx, esi
call fcn.00423760
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x27d8
jb 0x420d04
cmp di, 0x283b
ja 0x420d04
and edi, 0xffff
mov ecx, esi
push edi
call fcn.004233e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x2710
jb 0x420d2c
cmp di, 0x27d7
ja 0x420d2c
and edi, 0xffff
mov ecx, esi
push edi
call fcn.00422f80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0x9c]
jne 0x420dad
test eax, eax
je 0x420d43
lea esi, [eax - 0x9c]
jmp 0x420d45
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x420d7a
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [0x4ab690]
cmp edi, 2
jne 0x420d6b
push 0
push eax
call dword [0x4ab5d0]
jmp 0x420d7f
test edi, edi
jne 0x420d7a
push 5
push eax
call dword [0x4ab5d0]
jmp 0x420d7f
cmp edi, 1
je 0x420dcd
mov ecx, ebp
shr ecx, 0x10
movsx edx, cx
movsx eax, bp
push edx
push eax
lea ecx, [esi + 0x9c]
call fcn.00425860
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x420de3
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x420dcd
cmp dword [eax + 0x18], ecx
je 0x420dcd
mov edx, dword [eax + 0x14]
mov dword [ebp + 0x18], edx
mov eax, dword [eax + 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x18
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push 0
push edx
push ebp
push edi
push ebx
push eax
lea ecx, [esi + 0x20]
call fcn.00434070
test eax, eax
je 0x420e0a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18