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

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.00419b30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [esp + 0x1c]
mov edi, eax
cmp edi, 0xffffffff
je 0x4199ec
push ebp
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x18]
push 4
push ecx
lea edx, [esp + 0x24]
push 4
push edx
push 0x22204c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x4199ec
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x419a1d
test ebx, ebx
je 0x419a19
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419a1d
push ebx
call fcn.00405fc0
add esp, 4
test eax, eax
jne 0x419a1d
push 1
call fcn.00442630
push eax
push ebx
call fcn.00442880
add esp, 0xc
xor eax, eax
jmp 0x419a24
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x60], eax
jne 0x419a36
pop edi
pop esi
xor al, al
pop ebx
add esp, 0xc
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
pop esi
mov al, 1
pop ebx
add esp, 0xc
ret 4
Function at 0x419b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa5f0
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 0x419d46
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x419d46
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.004a2ae0
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.004a2ae0
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 0x419cfe
cmp dword [ebp + 0x10], 0xffffffff
je 0x419cbb
call edi
mov ecx, dword [ebp + 0x10]
sub eax, ebx
cmp eax, ecx
ja 0x419cdc
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 0x419ce8
jmp 0x419c9c
mov dword [esi + 0x90], 1
jmp 0x419cfe
mov eax, dword [esi + 0x64]
lea edx, [ebp + 8]
push edx
push eax
call dword [esi + 0x34]
add esp, 8
test eax, eax
jne 0x419cfe
mov byte [ebp + 0xc], 1
mov al, byte [ebp + 0xc]
mov dword [ebp - 4], 0
test al, al
jne 0x419d16
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 0x419d35
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x64], 0
and eax, 0xff
jmp 0x419d48
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 0x41a070
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa600
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.00419d70
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 0x41a11f
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.004a2cc0
mov dword [esi + 0x58], eax
cmp dword [esi + 0x6c], 1
jne 0x41a12a
mov dword [edi + 0x40], ebx
jmp 0x41a130
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 0x41a18f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
sub eax, edx
cmp eax, ecx
jbe 0x41a18f
cmp dword [esi + 0x6c], 6
jne 0x41a18f
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 0x41a1aa
mov esi, dword [esi + 0x6c]
cmp esi, 5
jl 0x41a1aa
cmp esi, 8
jle 0x41a1a7
cmp esi, 9
jne 0x41a1aa
mov byte [edi + 0x45], 4
jmp 0x41a1aa
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 0x41a5e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x4aa69f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
lea ecx, [ebp + 0x40]
mov dword [esp + 0x14], ebp
cmp ecx, ebx
je 0x41a610
lea eax, [ecx - 0x40]
jmp 0x41a612
xor eax, eax
push ecx
add eax, 0x2c
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, ebp
mov dword [esp + 0x20], ebx
call fcn.0043ed70
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x3c], ebx
or eax, 0xffffffff
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x60], bl
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x20], 3
lea esi, [ebp + 0x68]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jl 0x41a66e
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41a6c4
mov eax, dword [0x4c2080]
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, ebx
mov dword [esp + 0x28], ecx
jne 0x41a683
xor edi, edi
jmp 0x41a68c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, esi
call fcn.004059f0
test eax, eax
je 0x41a6c4
mov ecx, dword [esp + 0x28]
lea eax, [edi + edi]
mov dword [esp + 0x10], eax
push eax
mov eax, dword [esi]
lea edx, [edi + edi + 2]
push ecx
push edx
push eax
call fcn.00404a40
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [eax + edx], bx
mov ecx, dword [0x4c2080]
mov dword [ebp + 0x6c], ecx
mov edx, dword [0x4c2080]
lea edi, [ebp + 0x70]
mov eax, 0x4d1b48
mov byte [esp + 0x20], 5
test eax, eax
mov dword [edi], edx
je 0x41a73e
mov ecx, eax
shr ecx, 0x10
jne 0x41a701
xor eax, eax
mov edx, 0x4d1b48
mov ax, dx
mov ecx, edi
push eax
call fcn.00405320
jmp 0x41a73e
push 0x4d1b48
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x41a73e
push esi
mov ecx, edi
call fcn.004056f0
test eax, eax
je 0x41a73e
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x41a73e
mov edi, dword [edi]
mov edx, ecx
mov esi, 0x4d1b48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x4c2080]
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0x74], eax
pop edi
mov dword [ebp], vtable.CIncompatibleMsgBox.1.0
mov dword [ebp + 0x24], vtable.CIncompatibleMsgBox.0
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x41a950
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 0x41ab79
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp eax, 0x14
jne 0x41a995
push 1
call fcn.00408280
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
call fcn.0041afc0
mov dword [ebx], eax
jmp 0x41aa61
cmp eax, 0x111
jne 0x41a9ed
cmp di, 0x3f1
jne 0x41a9b6
mov ecx, esi
call fcn.0041ab90
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 0x3f2
jne 0x41a9d0
mov ecx, esi
call fcn.00418480
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp di, 2
jne 0x41aaad
mov ecx, esi
call fcn.00418480
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x110
jne 0x41aa16
push 1
mov ecx, esi
call fcn.00408280
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call fcn.00409040
mov ecx, esi
call fcn.0041abc0
mov dword [ebx], eax
jmp 0x41aa61
cmp eax, 0xf
jne 0x41aa36
push 1
mov ecx, esi
call fcn.00408280
push ecx
mov ecx, esi
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], edi
call fcn.00408db0
jmp 0x41aa5b
cmp eax, 0x201
jne 0x41aa78
push 1
mov ecx, esi
call fcn.00408280
mov ecx, ebp
shr ecx, 0x10
movsx ecx, cx
movsx eax, bp
push ecx
push eax
push edi
mov ecx, esi
call fcn.00418ab0
mov dword [ebx], 0
mov ecx, esi
call fcn.00408270
test eax, eax
je 0x41aaa9
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp eax, 0x7ed
jne 0x41aaad
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 1
push edx
push eax
push 0x7ed
mov ecx, esi
call fcn.0041aea0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ebx
push ebp
push edi
push eax
push edx
mov ecx, esi
call fcn.0043f100
test eax, eax
je 0x41aacf
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x44]
cmp ecx, 5
jne 0x41ab47
test eax, eax
je 0x41aae4
lea esi, [eax - 0x44]
jmp 0x41aae6
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41ab1b
mov eax, dword [esi + 0x28]
push 0xe801
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x41ab0c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ab20
test edi, edi
jne 0x41ab1b
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41ab20
cmp edi, 1
je 0x41ab67
mov ecx, ebp
shr ecx, 0x10
movsx edx, cx
movsx eax, bp
push edx
push eax
lea ecx, [esi + 0x44]
call fcn.0041baa0
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp ecx, 0x24
jne 0x41ab79
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41ab67
cmp dword [eax + 0x18], ecx
je 0x41ab67
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x41c3d0
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 0x41c534
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
cmp edi, 0x111
jne 0x41c427
cmp bx, 0x7e
jne 0x41c40d
call fcn.0041d090
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x85
jne 0x41c456
mov ecx, esi
call fcn.0041d110
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 1
jne 0x41c456
push edi
mov ecx, esi
call fcn.0042b000
push ebp
mov ecx, esi
call fcn.0041c540
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0042aff0
test eax, eax
je 0x41c456
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0xb4]
jne 0x41c4d7
test eax, eax
je 0x41c46d
lea esi, [eax - 0xb4]
jmp 0x41c46f
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41c4a4
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x41c495
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41c4a9
test ebx, ebx
jne 0x41c4a4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41c4a9
cmp ebx, 1
je 0x41c4f7
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0xb4]
call fcn.00437310
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 0x41c50d
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41c4f7
cmp dword [eax + 0x18], ecx
je 0x41c4f7
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.004417a0
test eax, eax
je 0x41c534
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 0x41d1c0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
call fcn.0040a600
test eax, eax
jne 0x41d1d5
call fcn.0040a630
test eax, eax
je 0x41d22b
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 0x41f220
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 0x41f3f9
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
cmp edi, 1
jne 0x41f25b
push 1
call fcn.00451670
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.0041f410
mov dword [ebp], eax
jmp 0x41f2d4
cmp edi, 2
jne 0x41f272
push 1
mov ecx, esi
call fcn.00451670
mov ecx, esi
call fcn.0041fd80
jmp 0x41f2cd
cmp edi, 0x111
jne 0x41f297
cmp bx, 0x6c
jne 0x41f319
mov ecx, esi
call fcn.0041f460
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x113
jne 0x41f2b2
push 1
mov ecx, esi
call fcn.00451670
push ebx
mov ecx, esi
call fcn.0041f820
jmp 0x41f2cd
cmp edi, 0x18
jne 0x41f2eb
push 1
mov ecx, esi
call fcn.00451670
mov ecx, dword [esp + 0x20]
push ecx
push ebx
mov ecx, esi
call fcn.004201f0
mov dword [ebp], 0
mov ecx, esi
call fcn.0041f1d0
test eax, eax
je 0x41f319
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x7ee
jne 0x41f319
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 1
push edx
push eax
push edi
mov ecx, esi
call fcn.004205d0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 1
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0xb8]
jne 0x41f39b
test eax, eax
je 0x41f330
lea esi, [eax - 0xb8]
jmp 0x41f332
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x41f367
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x41f358
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41f36c
test ebx, ebx
jne 0x41f367
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41f36c
cmp ebx, 1
je 0x41f3bf
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
movsx edx, cx
movsx eax, ax
push edx
push eax
lea ecx, [esi + 0xb8]
call fcn.00420ab0
pop edi
mov dword [ebp], 0
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x41f3d2
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x41f3bf
cmp dword [eax + 0x18], ecx
je 0x41f3bf
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 ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.004417a0
test eax, eax
je 0x41f3f9
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 0x421860
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 0x421887
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 0x42191d
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 0x421930
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
add esp, 4
cmp eax, 0x197
je 0x4218e8
cmp eax, 0x191
jne 0x421930
push 0
push 7
push 0x2eee
push esi
push ebx
call ebp
cmp eax, 0x2f00
jne 0x421930
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 0x4218ab
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 0x421950
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 0x421720
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 0x42199b
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 0x424640
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret