joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c450
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4e6738
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x64]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3f2
push dword [edi + 4]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x407
push dword [edi + 4]
call esi
push eax
call ebx
push 5
push 0x40a
push dword [edi + 4]
call esi
push eax
call ebx
push 0x2c
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.004cb9a0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0047f3d0
mov dword [esp + 0x50], 0
push ecx
push dword [edi + 4]
lea ecx, [esp + 0x20]
call fcn.0047e9c0
cmp eax, 1
jne 0x47c517
push 0
push dword [edi + 4]
mov word [edi + 0x150], 0x100
call ebx
mov dword [ebp], 0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.0047f470
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004c515f
add esp, 0x40
ret 0x10
Function at 0x47ce60
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4e6816
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x264], eax
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
push 0x208
push eax
mov word [esp + 0x64], ax
lea eax, [esp + 0x66]
push eax
call fcn.004cb9a0
add esp, 0xc
lea eax, [esp + 0x5c]
push 0x104
push eax
push 0x417
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
cmp word [esp + 0x5c], ax
jne 0x47cf05
xor ecx, ecx
jmp 0x47cf1f
lea ecx, [esp + 0x5c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47cf10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x4c]
call fcn.00403120
mov dword [esp + 0x278], 0
xorps xmm0, xmm0
cmp dword [esp + 0x58], 8
lea eax, [esp + 0x44]
movq qword [esp + 0x20], xmm0
cmovae eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
lea eax, [esp + 0xc]
movdqu xmmword [esp + 0x10], xmm0
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0x61
mov dword [esp + 0x1c], 0x4fe12c
mov dword [esp + 0x24], 0x47ce30
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x47d041
lea ecx, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x47d041
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.004029f0
mov byte [esp + 0x278], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x47cfeb
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x47cfeb
push 0x4fdfe8
lea ecx, [esp + 0x30]
call fcn.00479c00
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push 0x417
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esp + 0x278], 0
cmp dword [esp + 0x40], 8
jb 0x47d02a
push dword [esp + 0x2c]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x278], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x47d05f
push dword [esp + 0x44]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.004c515f
add esp, 0x274
ret 0x10
Function at 0x47d1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e68a9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x48]
mov dword [esp + 0x14], 0
xorps xmm0, xmm0
push 0x133c
push dword [ecx + 0x30]
mov dword [esp + 0x18], esi
movdqu xmmword [esp + 0x24], xmm0
mov dword [esp + 0x20], 8
movq qword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x47d251
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47d251
xor ecx, ecx
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00403000
mov dword [esp + 0x38], 0
jmp 0x47d268
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004c515f
add esp, 0x34
ret 8
Function at 0x4801a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6fc2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x34]
push 0
mov dword [esp + 0x10], esi
call fcn.004c4b20
mov dword [esp + 0x2c], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [esp + 0x2c], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x2c], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [esp + 0x2c], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [esp + 0x2c], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [esp + 0x2c], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [esp + 0x2c], 6
test edi, edi
jne 0x480278
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], str.bad_locale_name
push eax
lea ecx, [esp + 0x14]
call fcn.004c7667
mov byte [esp + 0x2c], 7
mov dword [esp + 0x10], vtable.std::runtime_error.0
mov byte [esp + 0x2c], 6
lea eax, [esp + 0x10]
push 0x50becc
push eax
call fcn.004c99fb
push edi
push esi
call fcn.004c494f
add esp, 8
mov dword [esp + 0x2c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004c515f
add esp, 0x24
ret 4

Function at 0x480710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7138
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.std::_Facet_base.0
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x30]
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], eax
mov dword [esp + 0x24], 1
mov dword [esi], vtable.std::ctype_base.0
mov dword [esp + 0x24], 2
lea eax, [esp + 0xc]
push eax
mov dword [esi], vtable.std::ctype_char_.0
call fcn.004c4c6c
add esp, 4
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 8], xmm0
mov dword [esp + 0x24], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
Function at 0x480ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7209
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 0x30], 1
cmp dword [esp + 0x50], 0
je 0x480b31
push 2
push 0x4fe1b0
lea ecx, [esp + 0x48]
call fcn.004828a0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
call fcn.00480a70
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
push 0
push eax
call fcn.004827f0
mov byte [esp + 0x30], 1
cmp dword [esp + 0x24], 0x10
jb 0x480b6a
push dword [esp + 0x10]
call fcn.004c515a
add esp, 4
lea eax, [esp + 0x40]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov byte [esi], 0
call fcn.00482750
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x54], 0x10
jb 0x480bbc
push dword [esp + 0x40]
call fcn.004c515a
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x480bf0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e7250
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xffffffffffffffff
push 0
push dword [esp + 0x5c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00402bf0
mov dword [esp + 0x4c], 0
push dword [esp + 0x5c]
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.00480ae0
add esp, 0x20
mov dword [esp + 0x34], 1
cmp dword [eax + 0x14], 0x10
jb 0x480c75
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [esp + 0x3c]
push eax
call fcn.004c7667
mov byte [esp + 0x34], 2
mov dword [esi], vtable.std::runtime_error.0
mov byte [esp + 0x34], 4
cmp dword [esp + 0x24], 0x10
jb 0x480ca8
push dword [esp + 0x10]
call fcn.004c515a
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], eax
mov dword [esp + 0x34], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 0xc
Function at 0x481020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e73d9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 8], 0
mov eax, dword [ecx + 0x30]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [ecx]
call dword [edx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 8], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x4813b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4e753b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
cmp dword [edx + 0x14], 8
mov esi, dword [esp + 0xd4]
jb 0x4813f9
mov edx, dword [edx]
push edx
push 0x3f5
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4814b4
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4814b4
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x48149c
push 0xa8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004cb9a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x481458
mov eax, dword [esi]
jmp 0x48145a
mov eax, esi
sub esp, 0xc
lea ecx, [esp + 0x20]
push eax
call fcn.00481ac0
mov dword [esp + 0xc8], 0
lea ecx, [esp + 0x14]
push 0
push edi
push ebx
call fcn.00481980
lea ecx, [esp + 0x14]
call fcn.00481c60
mov dword [esp + 0xc8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.004814e0
cmp edi, 4
jbe 0x4814b4
mov ecx, esi
call fcn.004963c0
cmp eax, edi
jne 0x4814b4
test edx, edx
jne 0x4814b4
mov al, 1
jmp 0x4814b6
xor al, al
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004c515f
add esp, 0xbc
ret
Function at 0x481ac0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e7652
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
lea eax, [edi + 0x60]
mov dword [edi], 0x4fe208
mov dword [esp + 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [esp + 0x20], 0
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x20], 1
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0xc], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00482a30
mov dword [esp + 0x20], 4
mov eax, dword [edi]
mov dword [esp + 0x14], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.004831c0
mov byte [esp + 0x20], 5
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x70dfc4]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov byte [esp + 0x20], 6
sub esp, 8
mov ecx, esi
push dword [esp + 0x30]
call fcn.00482b30
test eax, eax
jne 0x481c38
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x481c26
or eax, 4
and eax, 0x17
mov dword [ecx + 0xc], eax
test dword [ecx + 0x10], eax
je 0x481c38
push 0
call fcn.00480f40
mov dword [esp + 0x20], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0x10
Function at 0x482d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e7768
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x482ef3
cmp byte [ebx + 0x45], 0
je 0x482ef3
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x482dc0
xor al, al
jmp 0x482ef5
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x482e20
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x482e5b
dec eax
je 0x482e5f
sub eax, 2
je 0x482ebd
xor bl, bl
jmp 0x482ebf
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x482e9e
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004c7d87
add esp, 0x10
cmp esi, eax
jne 0x482e57
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x482ebd
test esi, esi
jne 0x482e20
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.00482980
jmp 0x482e0f
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x482eda
push dword [esp + 0x18]
call fcn.004c515a
add esp, 4
mov dword [esp + 0x2c], 0xf
mov al, bl
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jmp 0x482ef5
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
Function at 0x486eb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e7e32
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x238]
xor eax, eax
mov ebx, dword [esp + 0x23c]
push 0x208
mov dword [esp + 0x14], 0
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
mov dword [esp + 0x20], edi
call fcn.004cb9a0
add esi, 4
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x486f2b
mov esi, dword [esi]
cmp dword [ebx + 0x14], 8
jb 0x486f33
mov ebx, dword [ebx]
push esi
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x4f3da4
push ebx
push 0x4fe648
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [esp + 0x18], ax
jne 0x486f6d
xor ecx, ecx
jmp 0x486f83
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486f74
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00403120
mov dword [esp + 0x230], 0
mov dword [esp + 0x10], 1
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004c515f
add esp, 0x224
ret 8

Function at 0x487010
Capabilities:
Get common file path

Disassembly:
sub esp, 0x418
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
xor eax, eax
mov edi, edx
push 0x40e
push eax
mov word [esp + 0x14], ax
mov esi, ecx
lea eax, [esp + 0x16]
push eax
call fcn.004cb9a0
add esp, 0xc
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x487080
lea eax, [esp + 0xc]
push eax
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x487099
mov eax, dword [esp + 8]
test eax, eax
je 0x487080
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004c515f
add esp, 0x418
ret
cmp word [esp + 0xc], 0
jne 0x4870a5
xor ecx, ecx
jmp 0x4870bf
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4870b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00403120
mov eax, dword [esp + 8]
test eax, eax
je 0x4870db
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x41c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004c515f
add esp, 0x418
ret
Function at 0x487490
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e7ec8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi], 0
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jne 0x4874d8
xor al, al
jmp 0x48755e
lea esi, [edi + 4]
mov dword [esp + 0x18], esi
test esi, esi
je 0x4874f0
mov eax, dword [esi]
test eax, eax
je 0x4874f0
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 0
push ebp
push dword [edi]
call fcn.00487580
mov edi, eax
test edi, edi
jne 0x48750a
xor bl, bl
jmp 0x48753b
push edi
call fcn.00428960
add esp, 4
push edi
sub eax, 0x64
je 0x487532
dec eax
je 0x487528
call fcn.00427e50
add esp, 4
xor bl, bl
jmp 0x48753b
call fcn.00427e50
add esp, 4
jmp 0x487539
mov ecx, ebx
call fcn.004877b0
mov bl, 1
mov dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x48755c
mov eax, dword [esi]
test eax, eax
je 0x487554
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004c515f
add esp, 0x18
ret 8

Function at 0x4878f0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4e5640
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x34]
cmp dword [esp + 0x48], 8
lea edx, [esp + 0x14]
cmovae ecx, dword [esp + 0x34]
call fcn.004042b0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp ebp, eax
jne 0x48797f
xor bl, bl
jmp 0x4879bb
mov ebx, eax
xor ecx, ecx
sub ebx, ebp
xor edi, edi
add ebx, 3
mov esi, ebp
shr ebx, 2
cmp ebp, eax
cmova ebx, ecx
test ebx, ebx
je 0x4879b9
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x4879b1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc edi
add esi, 4
cmp edi, ebx
jne 0x487998
mov bl, 1
mov byte [esp + 0x2c], 0
test ebp, ebp
je 0x4879e5
push ebp
call fcn.004c515a
add esp, 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], 0xffffffff
cmp dword [esp + 0x48], 8
jb 0x487a00
push dword [esp + 0x34]
call fcn.004c515a
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov word [esp + 0x34], ax
mov al, bl
mov dword [esp + 0x44], 0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004c515f
add esp, 0x1c
ret