joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447600
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4af6f0]
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 0x49532c
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 0x44772f
cmp dword [0x4b552c], 0
jne 0x44772f
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.00447850
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x447744
cmp ecx, 0x12c
jb 0x4476a2
cmp ecx, 0x194
mov esi, 5
mov eax, 2
cmove esi, eax
jmp 0x4476b4
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004477e0
mov dword [esi], eax
add esp, 8
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x447706
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.00447760
add esp, 8
test eax, eax
lea eax, [ebp - 0x14]
push ebx
je 0x4476ff
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [0x4b552c], 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.0046ebfa
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.HttpOpenRequest
push 0
call fcn.0043fb20
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret

Function at 0x4477e0
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 0x44782c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
mov esi, eax
push str.GetHttpSize
push esi
call fcn.0043fb20
add esp, 0x14
jmp 0x44783c
push dword [ebp - 4]
push str.GetHttpSize___FileSize:__d
call fcn.00469290
add esp, 8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x447845
mov dword [eax], esi
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4478d0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.GetInternetConnectedState___Test_cnx_Internet
call fcn.00469290
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 0x447988
push esi
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_TRUE_with_dwFlags___x
call fcn.00469290
mov esi, dword [ebp + 8]
add esp, 8
test esi, esi
je 0x44793a
push ebx
push 1
push esi
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push esi
test eax, eax
je 0x44792d
mov ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x447932
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.00469290
add esp, 8
pop esi
test bl, 2
jne 0x447998
push 0
push 1
push str.http:__www.microsoft.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x447962
push str.http:__www.microsoft.com
or ebx, 2
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_TRUE
jmp 0x447990
push 0
push 0
push 0
push str.InternetCheckConnection
push 0
call fcn.0043fb20
push str.http:__www.microsoft.com
push str.GetInternetConnectedState___InternetCheckConnection__s__returns_FALSE
call fcn.00469290
add esp, 0x1c
jmp 0x447998
push dword [ebp - 4]
push str.GetInternetConnectedState___InternetGetConnectedState_returns_FALSE_with_dwFlags___u
call fcn.00469290
add esp, 8
test byte [ebp - 4], 0x53
je 0x4479a1
or ebx, 1
push ebx
push str.GetInternetConnectedState___Return__u_with_1CONNECTION_CONFIGURED_and_2CONNECTION_ACTIVED
call fcn.00469290
push str.GetInternetConnectedState___End_cnx_Internet
call fcn.00469290
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447e60
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a58e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4af6f0]
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 0x447eb9
mov eax, dword [esi + 0x10]
inc eax
je 0x447ec3
push eax
push esi
push edi
call fcn.0046e1c0
add esp, 0xc
jmp 0x447ec3
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.0044c320
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 0x447f50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a58e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4af6f0]
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.004285e0
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.0044c320
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 0x44a030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a8b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4af6f0]
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 0x44a084
mov dword [edi], 0x496514
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.00452c70
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.0044a270
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 [0x4b5454]
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 0x44c400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4af6f0]
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 0x44c525
cmp byte [ebx + 0x45], 0
je 0x44c525
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44c454
xor al, al
jmp 0x44c527
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 0x44c4be
dec eax
je 0x44c4c2
sub eax, 2
je 0x44c50e
xor bl, bl
jmp 0x44c510
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 0x44c4f4
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004741d2
add esp, 0x10
cmp esi, eax
jne 0x44c4ba
cmp byte [ebx + 0x45], 0
je 0x44c50e
test esi, esi
jne 0x44c484
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044f9d0
jmp 0x44c484
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x44c521
push dword [ebp - 0x28]
call fcn.0046e000
add esp, 4
mov al, bl
jmp 0x44c527
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.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x4534a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b468
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4af6f0]
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 0x4534dc
xor eax, eax
jmp 0x45366c
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x45350a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x45350a
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 0x45366c
cmp dword [ebx + 0x50], 0
jne 0x453518
or eax, 0xffffffff
jmp 0x45366c
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x453539
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 0x45355e
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.00473e08
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x45366c
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 0x453656
cmp eax, 1
jg 0x453636
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 0x453607
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.004741d2
add esp, 0x10
cmp esi, eax
jne 0x453656
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x453631
test esi, esi
jne 0x453591
cmp dword [ebp - 0x18], 0x20
jae 0x453656
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044f9d0
jmp 0x453591
mov ebx, dword [ebp + 8]
jmp 0x453659
cmp eax, 3
jne 0x453656
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.00448d00
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x453659
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x45366a
push dword [ebp - 0x28]
call fcn.0046e000
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.0046ebfa
mov esp, ebp
pop ebp
ret 4
Function at 0x454fc0
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 0x455001
push 0x4966e0
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 0x455013
cmp dword [esi + 0xc], 0
je 0x455013
cmp dword [esi + 0x10], 0
jne 0x45505c
cmp dword [esi + 4], 0
je 0x45505c
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x45505c
push str.ZwQuerySystemInformation
push eax
call edi
push 0x49674c
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x49675c
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x496768
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 0x455190
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4af6f0]
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.0046f6e0
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4551ef
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
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 0x455266
push ebx
mov ebx, dword [ebp + 0x14]
mov edi, edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x428], eax
je 0x455221
cmp dword [ebp + 0x18], 0
jne 0x455246
mov eax, 0x428
cmp ebx, eax
cmovb eax, ebx
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x430]
call fcn.0046f090
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x42c], 0x428
test edi, edi
jne 0x455265
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x455210
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.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x455400
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 4], 0
push esi
je 0x4554a1
cmp dword [ecx + 8], 0
je 0x45542f
cmp dword [ecx + 0xc], 0
je 0x45542f
cmp dword [ecx + 0x10], 0
je 0x45542f
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00455670
jmp 0x455453
cmp dword [ecx + 0x14], 0
je 0x4554a1
cmp dword [ecx + 0x1c], 0
je 0x4554a1
cmp dword [ecx + 0x18], 0
je 0x4554a1
cmp dword [ecx + 0x20], 0
je 0x4554a1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004554b0
mov esi, eax
test esi, esi
je 0x4554a1
push edi
push dword [ebp - 4]
push 0x455850
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x455485
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x45548a
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
Function at 0x456470
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x320c
call fcn.0046f060
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x120c], ax
lea eax, [ebp - 0x120a]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x320c], ax
lea eax, [ebp - 0x320a]
push eax
call fcn.0046f6e0
push 0x48e734
lea eax, [ebp - 0x220c]
push 0x800
push eax
call fcn.0046fd12
push 0x48e734
push 0x41
push 0x4b5478
call fcn.0046fd12
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0043d9c0
add esp, 0x54
test eax, eax
je 0x456574
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x220c]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x456574
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0045fb00
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x220c]
push eax
push 0x4b5068
call fcn.0043af70
add esp, 8
test eax, eax
je 0x456631
lea eax, [ebp - 0x320c]
push 0x4b50c0
push eax
call fcn.0047054b
add esp, 8
test eax, eax
jne 0x456631
cmp word [ebp - 0x120c], ax
je 0x4565ea
lea ecx, [ebp - 0x120c]
push ecx
push 0x4b50b8
call fcn.0046e870
add esp, 8
test eax, eax
je 0x456631
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
push esi
push 0x48f188
push 0x41
push 0x4b5478
call fcn.0046ebde
push esi
lea eax, [ebp - 0x20c]
push eax
push str.ChangeDir__s____d
call fcn.00469290
add esp, 0x1c
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x457d00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6008
call fcn.0046f060
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0xffe
push eax
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x2002]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x3004], ax
lea eax, [ebp - 0x3002]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.0046f6e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x6004], ax
lea eax, [ebp - 0x6002]
push eax
call fcn.0046f6e0
push 0x48e734
lea eax, [ebp - 0x5004]
mov edi, 1
push 0x800
push eax
call fcn.0046fd12
add esp, 0x48
push esi
push str.ScriptDelay__s___Begin
call fcn.00469290
push 0x2c
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0x800
lea eax, [ebp - 0x2004]
push eax
push esi
call fcn.0043d9c0
add esp, 0x20
test eax, eax
je 0x457ea7
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push eax
push str.ScriptDelay____szDelay_s_szFile_s
call fcn.00469290
push 0x2c
push 0x800
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x1004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x24
test eax, eax
je 0x457ea7
push 0x2c
push 0x800
lea eax, [ebp - 0x5004]
push eax
lea eax, [ebp - 0x3004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x457ea7
push 0x2c
push 0x800
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x5004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x457ea7
push 0x2c
push 0x800
lea eax, [ebp - 0x6004]
push eax
lea eax, [ebp - 0x4004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
lea eax, [ebp - 0x2004]
push 0x800
push eax
call fcn.0045fb00
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.0045fb00
lea eax, [ebp - 0x5004]
push eax
push 0x4b5068
call fcn.0043af70
add esp, 0x18
test eax, eax
je 0x457f93
lea eax, [ebp - 0x6004]
push 0x4b50c0
push eax
call fcn.0047054b
add esp, 8
test eax, eax
jne 0x457f93
cmp word [ebp - 0x4004], ax
je 0x457f22
lea eax, [ebp - 0x4004]
push eax
push 0x4b50b8
call fcn.0046e870
add esp, 8
test eax, eax
je 0x457f93
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.004706b9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [ebp - 0x6008], eax
call esi
mov ebx, eax
call esi
sub eax, ebx
cmp eax, dword [ebp - 0x6008]
jae 0x457f80
mov edi, edi
test edi, edi
je 0x457f80
cmp word [ebp - 0x1004], 0
je 0x457f6c
lea eax, [ebp - 0x1004]
push eax
call fcn.00455090
mov edi, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, dword [ebp - 0x6008]
jb 0x457f50
call esi
sub eax, ebx
push eax
push str.Delay____Time_d_ms
call fcn.004695f0
add esp, 8
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret