joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
test ebx, ebx
je 0x442349
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 8]
push str.StatusDlg___hWnd___08.8X__hInst___d__uiLangID___d
call fcn.004699e0
movzx eax, byte [ebx + 0x14]
push eax
push str.StatusDlg___Status:__d
call fcn.004699e0
lea eax, [ebx + 0x15]
push eax
push str.StatusDlg___PackImages:__s
call fcn.004699e0
mov ecx, 0x87
mov esi, ebx
mov edi, 0x4b61e8
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebx + 0x14], 0
jne 0x442284
mov esi, 0x96
jmp 0x4422a0
lea eax, [ebx + 0x15]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x325a
add esi, 0xc8
push esi
push str.StatusDlg___IdRes:__d
call fcn.004699e0
add esp, 8
movzx eax, si
push ebx
push 0x442370
push dword [ebp + 8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
je 0x442356
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x1c]
push 0
push 0
push 0
push eax
call edi
test eax, eax
je 0x442356
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x442342
push esi
call ebx
test eax, eax
je 0x44231c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x442330
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x442330
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x4422f0
jmp 0x442356
push str.WinMain____GetMessage____1
jmp 0x44234e
push str.StatusDlg___bad_parameters_
call fcn.004699e0
add esp, 4
push esi
push str.StatusDlg___End__d_
call fcn.004699e0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [ebp + 0xc]
jne 0x443657
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4b61e4]
test eax, eax
je 0x4434ab
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x3fa
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.0043d0e0
imul eax, dword [0x4b61e0], 0xc69
add esp, 0xc
push 0x70
push dword [ebp + 0xc]
add eax, 0xc
push dword [ebp - 4]
add eax, dword [0x4b6408]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x4b61e4], eax
test eax, eax
jne 0x443578
push str.ISLoadPNG
push dword [0x4b6520]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443559
imul ecx, dword [0x4b61e0], 0xc69
push 0
add ecx, 0xc
add ecx, dword [0x4b6408]
push ecx
call eax
mov dword [0x4b61e4], eax
test eax, eax
je 0x443610
push 8
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [0x4b61e4], eax
jmp 0x443570
push str.ISLoadPNG
push str.StatusDlg_Timer____Function__s_failed_
call fcn.00469d40
mov eax, dword [0x4b61e4]
add esp, 8
test eax, eax
je 0x443610
test esi, esi
je 0x443610
push edi
mov edi, dword [0x4b61f8]
cmp edi, 0xffffffff
jne 0x4435a6
push 5
push 1
call fcn.00440f80
add esp, 8
imul eax, eax, 0x69
mov edi, dword [eax + 0x4ca2f8]
mov eax, dword [0x4b61e4]
test edi, edi
jne 0x4435c3
push eax
push edi
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44360f
cmp edi, 0x100
jne 0x4435e3
push 1
push 0x104
push 0x26c
push eax
push esi
call fcn.0043ac80
add esp, 0x14
jmp 0x44360f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b61e4]
push 0
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1f4
push esi
call fcn.0043aa90
add esp, 0xc
pop edi
mov ecx, dword [0x4b640c]
mov eax, 0x52835813
sub ecx, dword [0x4b6408]
mov esi, dword [0x4b61e0]
imul ecx
inc esi
sar edx, 0xa
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
push 0
sbb eax, eax
and eax, esi
mov dword [0x4b61e0], eax
imul eax, dword [0x4b61f4], 0x3e8
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447a50
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0
push eax
push 0
push 0
push 0
push ecx
push 0x4964bc
push edx
mov dword [ebp - 0x28], 0
mov dword [esi], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x447b7f
cmp dword [0x4b6534], 0
jne 0x447b7f
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00447ca0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x447b96
cmp ecx, 0x12c
jb 0x447af2
cmp ecx, 0x194
mov esi, 5
mov eax, 2
cmove esi, eax
jmp 0x447b04
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.00447c30
mov dword [esi], eax
add esp, 8
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x447b56
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x24]
push eax
movq qword [ebp - 0x22], xmm0
movq qword [ebp - 0x12], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.00447bb0
add esp, 8
test eax, eax
lea eax, [ebp - 0x14]
push ebx
je 0x447b4f
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [0x4b6534], 0
mov eax, 0x4c7
pop edi
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push str.HttpOpenRequest
push 0
call fcn.0043fba0
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f33a
mov esp, ebp
pop ebp
ret

Function at 0x447c30
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
mov dword [ebp - 8], 4
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x447c7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
push 0
mov esi, eax
push str.GetHttpSize
push esi
call fcn.0043fba0
add esp, 0x18
jmp 0x447c8e
push dword [ebp - 4]
push str.GetHttpSize___FileSize:__d
call fcn.004699e0
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x447c97
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x447d20
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.GetInternetConnectedState___Test_cnx_Internet
call fcn.004699e0
add esp, 4
lea eax, [ebp - 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x447dda
push esi
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_TRUE_with_dwFlags___x
call fcn.004699e0
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x447d8a
push ebx
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push esi
test eax, eax
je 0x447d7d
mov ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x447d82
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.004699e0
add esp, 8
pop esi
test bl, 2
jne 0x447dea
push 0
push 1
push str.http:__www.microsoft.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x447db2
push str.http:__www.microsoft.com
or ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x447de2
push 0
push 0
push 0
push 0
push str.InternetCheckConnection
push 0
call fcn.0043fba0
push str.http:__www.microsoft.com
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.004699e0
add esp, 0x20
jmp 0x447dea
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_FALSE_with_dwFlags___u
call fcn.004699e0
add esp, 8
test byte [ebp - 4], 0x53
je 0x447df3
or ebx, 1
push ebx
push str.GetInternetConnectedState___Return__u_with_1CONNECTION_CONFIGURED_and_2CONNECTION_ACTIVED
call fcn.004699e0
push str.GetInternetConnectedState___End_cnx_Internet
call fcn.004699e0
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4482d0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48acce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b06f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [esi + 0x14], 0x10
jae 0x448329
mov eax, dword [esi + 0x10]
inc eax
je 0x448333
push eax
push esi
push edi
call fcn.0046e900
add esp, 0xc
jmp 0x448333
mov eax, dword [esi]
mov dword [edi], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0044c780
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4483c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48acce
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b06f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov eax, dword [eax]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.004285d0
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 0x2c], 0xf
mov dword [esi + 0x28], 0
mov dword [ebp + 8], esi
mov byte [esi + 0x18], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.0044c780
mov dword [esi + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44a4a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aff7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b06f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x44a4f4
mov dword [edi], 0x4976dc
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
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]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004530d0
mov eax, dword [edi]
mov dword [ebp - 4], 2
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.0044a6e0
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 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 + 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 dword [esi + 0x50], 0
mov eax, dword [0x4b6458]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44c860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b358
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x44c985
cmp byte [ebx + 0x45], 0
je 0x44c985
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44c8b4
xor al, al
jmp 0x44c987
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
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 0x44c91e
dec eax
je 0x44c922
sub eax, 2
je 0x44c96e
xor bl, bl
jmp 0x44c970
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x44c954
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00474912
add esp, 0x10
cmp esi, eax
jne 0x44c91a
cmp byte [ebx + 0x45], 0
je 0x44c96e
test esi, esi
jne 0x44c8e4
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044fe30
jmp 0x44c8e4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x44c981
push dword [ebp - 0x28]
call fcn.0046e740
add esp, 4
mov al, bl
jmp 0x44c987
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x453900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48baa8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x45393c
xor eax, eax
jmp 0x453acc
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x45396a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x45396a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x453acc
cmp dword [ebx + 0x50], 0
jne 0x453978
or eax, 0xffffffff
jmp 0x453acc
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x453999
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x4539be
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.00474548
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x453acc
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x453ab6
cmp eax, 1
jg 0x453a96
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x453a67
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.00474912
add esp, 0x10
cmp esi, eax
jne 0x453ab6
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x453a91
test esi, esi
jne 0x4539f1
cmp dword [ebp - 0x18], 0x20
jae 0x453ab6
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044fe30
jmp 0x4539f1
mov ebx, dword [ebp + 8]
jmp 0x453ab9
cmp eax, 3
jne 0x453ab6
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.00449170
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x453ab9
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x453aca
push dword [ebp - 0x28]
call fcn.0046e740
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret 4
Function at 0x455420
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.Kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x455461
push 0x4978a0
push eax
call edi
push str.Process32First
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.Process32Next
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
je 0x455473
cmp dword [esi + 0xc], 0
je 0x455473
cmp dword [esi + 0x10], 0
jne 0x4554bc
cmp dword [esi + 4], 0
je 0x4554bc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x4554bc
push str.ZwQuerySystemInformation
push eax
call edi
push 0x49790c
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x49791c
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x497928
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x4555f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x430], eax
push 0x424
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], edi
push edi
push eax
call fcn.0046fe20
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x45564f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4556c6
push ebx
mov ebx, dword [ebp + 0x14]
mov edi, edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x428], eax
je 0x455681
cmp dword [ebp + 0x18], 0
jne 0x4556a6
mov eax, 0x428
cmp ebx, eax
cmovb eax, ebx
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x430]
call fcn.0046f7d0
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x42c], 0x428
test edi, edi
jne 0x4556c5
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x455670
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046f33a
mov esp, ebp
pop ebp
ret
Function at 0x455860
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 4], 0
push esi
je 0x455901
cmp dword [ecx + 8], 0
je 0x45588f
cmp dword [ecx + 0xc], 0
je 0x45588f
cmp dword [ecx + 0x10], 0
je 0x45588f
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00455ad0
jmp 0x4558b3
cmp dword [ecx + 0x14], 0
je 0x455901
cmp dword [ecx + 0x1c], 0
je 0x455901
cmp dword [ecx + 0x18], 0
je 0x455901
cmp dword [ecx + 0x20], 0
je 0x455901
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00455910
mov esi, eax
test esi, esi
je 0x455901
push edi
push dword [ebp - 4]
push 0x455cb0
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4558e5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x4558ea
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4