joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414fd0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00415110
mov edi, dword [esp + 0xc]
test edi, edi
je 0x415008
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41500c
push edi
call fcn.00439c40
add esp, 4
test eax, eax
jne 0x41500c
call fcn.004399a0
push eax
push edi
call fcn.00439a20
add esp, 8
xor eax, eax
jmp 0x415013
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x415021
pop edi
xor al, al
pop esi
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
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 0x415170
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa100
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
test ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [esi + 0x90], 0
je 0x415326
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415326
call dword [esi + 8]
mov dword [esi + 0x64], eax
mov ecx, 0x4e
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
push ebx
mov dword [ebp - 0x148], 1
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004a0d60
mov eax, dword [ebp + 8]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push eax
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14c], edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004a0d60
mov edx, dword [ebp + 0xc]
mov edi, esp
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x138], eax
push eax
lea eax, [ebp - 0x150]
push eax
push ecx
mov dword [ebp - 0x150], edi
call dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
mov byte [ebp + 0xc], 0
call edi
mov ebx, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x68], 1
je 0x4152de
cmp dword [ebp + 0x10], 0xffffffff
je 0x41529b
call edi
mov ecx, dword [ebp + 0x10]
sub eax, ebx
cmp eax, ecx
ja 0x4152bc
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], eax
lea edx, [ebp + 8]
lea eax, [ebp - 0x18]
push edx
push eax
push ecx
call dword [esi + 0x24]
add esp, 0xc
cmp eax, 4
je 0x4152c8
jmp 0x41527c
mov dword [esi + 0x90], 1
jmp 0x4152de
mov eax, dword [esi + 0x64]
lea edx, [ebp + 8]
push edx
push eax
call dword [esi + 0x34]
add esp, 8
test eax, eax
jne 0x4152de
mov byte [ebp + 0xc], 1
mov al, byte [ebp + 0xc]
mov dword [ebp - 4], 0
test al, al
jne 0x4152f6
mov ecx, dword [esi + 0x64]
push ecx
call dword [esi + 0x18]
add esp, 4
mov edx, dword [esi + 0x64]
push edx
call dword [esi + 0x1c]
mov eax, dword [esi + 0x64]
add esp, 4
push eax
call dword [esi + 0xc]
add esp, 4
jmp 0x415315
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x64], 0
and eax, 0xff
jmp 0x415328
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x15c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415650
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa110
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.00415350
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]
sbb eax, edx
xor ebx, ebx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3e8
jl 0x4156ff
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.004a0fe0
mov dword [esi + 0x58], eax
cmp dword [esi + 0x6c], 1
jne 0x41570a
mov dword [edi + 0x40], ebx
jmp 0x415710
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 0x41576f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub eax, edx
cmp eax, ecx
jbe 0x41576f
cmp dword [esi + 0x6c], 6
jne 0x41576f
mov eax, 3
mov dword [ebp - 4], ebx
mov dword [esi + 0x6c], eax
mov byte [edi + 0x45], al
mov eax, dword [esi + 0x64]
push eax
call dword [esi + 0x18]
mov ecx, dword [esi + 0x64]
add esp, 4
push ecx
call dword [esi + 0x1c]
mov edx, dword [esi + 0x64]
add esp, 4
push edx
call dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x64], ebx
jmp 0x41578a
mov esi, dword [esi + 0x6c]
cmp esi, 5
jl 0x41578a
cmp esi, 8
jle 0x415787
cmp esi, 9
jne 0x41578a
mov byte [edi + 0x45], 4
jmp 0x41578a
mov byte [edi + 0x45], bl
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 0x415fd0
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 0x416134
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x416027
cmp bx, 0x7e
jne 0x41600d
call fcn.00416d00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x416056
mov ecx, esi
call fcn.00416d80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x416056
push edi
mov ecx, esi
call fcn.00415f80
push ebp
mov ecx, esi
call fcn.00416160
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.00415f70
test eax, eax
je 0x416056
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x4160d7
test eax, eax
je 0x41606d
lea esi, [eax - 0x9c]
jmp 0x41606f
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x4160a4
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x416095
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4160a9
test ebx, ebx
jne 0x4160a4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4160a9
cmp ebx, 1
je 0x4160f7
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.00417100
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 0x41610d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x4160f7
cmp dword [eax + 0x18], ecx
je 0x4160f7
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.00437aa0
test eax, eax
je 0x416134
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 0x416e10
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
call fcn.00406c20
test eax, eax
jne 0x416e2b
call fcn.00406c50
test eax, eax
je 0x416e81
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
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 [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x41aa50
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 0x41abf7
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x41aa8b
push 1
call fcn.0041aa00
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.0041ac00
mov dword [ebp], eax
jmp 0x41ab00
cmp ebx, 2
jne 0x41aaa2
push 1
mov ecx, esi
call fcn.0041aa00
mov ecx, esi
call fcn.0041b7b0
jmp 0x41aaf9
cmp ebx, 0x111
jne 0x41aac3
cmp di, 0x6c
jne 0x41ab17
mov ecx, esi
call fcn.0041ac50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x113
jne 0x41aade
push 1
mov ecx, esi
call fcn.0041aa00
push edi
mov ecx, esi
call fcn.0041b140
jmp 0x41aaf9
cmp ebx, 0x18
jne 0x41ab17
push 1
mov ecx, esi
call fcn.0041aa00
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.0041bfb0
mov dword [ebp], 0
mov ecx, esi
call fcn.0041a9f0
test eax, eax
je 0x41ab17
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0xa0]
jne 0x41ab99
test eax, eax
je 0x41ab2e
lea esi, [eax - 0xa0]
jmp 0x41ab30
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41ab65
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41ab56
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ab6a
test edi, edi
jne 0x41ab65
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ab6a
cmp edi, 1
je 0x41abbd
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.0041c850
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x41abd0
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41abbd
cmp dword [eax + 0x18], ecx
je 0x41abbd
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.00437aa0
test eax, eax
je 0x41abf7
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 0x41d550
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 [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x41d577
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 [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x41d60d
mov ebx, dword [esp + 0x5c]
mov ebp, dword [sym.imp.WININET.dll_InternetErrorDlg]
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 [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x41d620
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 0x197
je 0x41d5d8
cmp eax, 0x191
jne 0x41d620
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x41d620
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x58]
push 0
push 0
push 0
push 0
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x41d59b
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 8

Function at 0x41d640
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x41d410
push 0
push 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x41d68b
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], 0
pop esi
pop ecx
ret
Function at 0x41f200
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4aa6d8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push edi
mov edi, ecx
mov eax, dword [edi + 0x5bc]
cmp eax, 3
ja case.default.0x41f226
jmp dword [eax*4 + 0x41f37c]
lea ecx, [edi + 0x64]
call fcn.00431750
test eax, eax
je case.default.0x41f226
push 0
push 0
push 0x17
mov ecx, 0x4cf6f0
call fcn.00403460
jmp case.default.0x41f226
push 0
push 0
push 0xa
mov ecx, 0x4cf6f0
call fcn.00403460
jmp case.default.0x41f226
push 0
push 0
push 0x13
mov ecx, 0x4cf6f0
call fcn.00403460
jmp case.default.0x41f226
push 0xd
lea ecx, [edi + 0x3ac]
call fcn.0041c0d0
mov ecx, edi
call fcn.00420460
test eax, eax
je 0x41f361
push esi
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00435b00
add eax, 4
lea ecx, [esp + 8]
push eax
call fcn.00405c80
mov dword [esp + 0x34], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov esi, eax
lea eax, [esp + 8]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4cf794
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4cf7c8]
lea edx, [esp + 0x10]
push 0x4cf794
mov dword [esp + 0x1c], ecx
mov dword [0x4cf7c8], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4cf768]
push 0
push 0x404ee0
push esi
push 0x83
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 2
pop esi
je 0x41f343
push 0xe
lea ecx, [edi + 0x3ac]
call fcn.0041c0d0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00405dc0
pop edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push 0xf
lea ecx, [edi + 0x3ac]
call fcn.0041c0d0
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00405dc0
push 2
mov ecx, edi
call fcn.0041f390
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
add esp, 0x30
ret

Function at 0x41f930
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x41fb60
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4aa71b
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x5c8]
test eax, eax
je 0x41fb8e
xor ebx, ebx
jmp 0x41fb95
mov ebx, dword [esp + 0x3c8]
mov eax, dword [0x4cf768]
push 0xca
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
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 0x41fd78
mov esi, dword [esp + 0x3cc]
test esi, esi
je 0x41fd85
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcsncpy]
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 [0x4c0080]
add esp, 0x18
mov dword [esp + 0x10], ecx
mov ecx, 0x4cf6f0
mov dword [esp + 0x3c4], 0
call fcn.004012f0
mov ecx, eax
call fcn.00435b00
mov edi, eax
mov eax, dword [esp + 0x10]
add edi, 4
mov esi, dword [edi]
cmp eax, esi
je 0x41fd1b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x4c0084]
jge 0x41fc91
lea ebx, [eax - 0xc]
cmp ebx, edx
jne 0x41fc98
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x41fcdb
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00404a20
test eax, eax
je 0x41fd17
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x41fcc8
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 0x41fd17
add eax, 0xfffffff4
cmp eax, edx
je 0x41fd07
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41fcfd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0049c000
add esp, 4
mov ecx, dword [0x4c0080]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
push 0x40
lea edx, [esp + 0x33c]
push eax
push edx
call ebp
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 1
call esi
test eax, eax
pop ebp
jne 0x41fd47
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x4c0084]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41fd85
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41fd85
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0049c000
add esp, 4
jmp 0x41fd85
lea ecx, [esp + 0x10]
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3b8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3b8
ret 0xc
Function at 0x4205a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [esi + 0x5c0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x4cf6f0
mov dword [esi + 0x5e0], eax
call fcn.00401310
mov ecx, eax
call fcn.00418e90
test eax, eax
jne 0x4205e4
push 1
push eax
push eax
mov ecx, esi
call fcn.0041fb60
push 2
mov ecx, esi
call fcn.0041f390
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x4cf6f0
call fcn.004012f0
mov ecx, eax
call fcn.00435b00
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
push 1
mov ecx, esi
call fcn.0041fb60
mov ecx, esi
call fcn.004202d0
pop esi
ret
Function at 0x420bc0
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 [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x4218b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4aa7ae
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 [0x4c0080]
mov dword [esp + 0x10], eax
mov dword [esi + 0x20], ecx
mov edx, dword [0x4c0080]
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.00421f10
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 0x424500
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 0x4246da
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x424553
push 1
call fcn.004244b0
push ebp
mov ecx, esi
call fcn.004246f0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.004244a0
test eax, eax
je 0x4245fc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x18
jne 0x42458b
push 1
mov ecx, esi
call fcn.004244b0
push ebp
push edi
mov ecx, esi
call fcn.00424840
mov edx, dword [esp + 0x24]
mov ecx, esi
mov dword [edx], 0
call fcn.004244a0
test eax, eax
je 0x4245fc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x4245fc
cmp di, 0x6a
jne 0x4245ac
mov ecx, esi
call fcn.00426f10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x27d8
jb 0x4245d4
cmp di, 0x283b
ja 0x4245d4
and edi, 0xffff
mov ecx, esi
push edi
call fcn.00426b90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x2710
jb 0x4245fc
cmp di, 0x27d7
ja 0x4245fc
and edi, 0xffff
mov ecx, esi
push edi
call fcn.00426730
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0x9c]
jne 0x42467d
test eax, eax
je 0x424613
lea esi, [eax - 0x9c]
jmp 0x424615
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x42464a
mov eax, dword [esi + 4]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x42463b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42464f
test edi, edi
jne 0x42464a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42464f
cmp edi, 1
je 0x42469d
mov ecx, ebp
shr ecx, 0x10
movsx edx, cx
movsx eax, bp
push edx
push eax
lea ecx, [esi + 0x9c]
call fcn.00429010
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 0x4246b3
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x42469d
cmp dword [eax + 0x18], ecx
je 0x42469d
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.00437aa0
test eax, eax
je 0x4246da
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