joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426470
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x11c
mov ebx, ecx
push 0
push ebx
call fcn.00448540
add esp, 0xc
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 6
jne 0x42653b
cmp dword [ebx + 8], 2
jb 0x42653b
push 0x46d9c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42653b
push esi
push 0x4752ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x426529
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00448540
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
mov eax, ebx
jl 0x426519
push edi
mov ecx, 0x47
lea esi, [ebp - 0x120]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x4272d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov esi, ecx
lea ecx, [edi + 4]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.0040f840
lea edx, [edi + 8]
push edx
lea ecx, [esi + 8]
call fcn.0040f840
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040f840
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
fld qword [edi + 0x18]
fstp qword [esi + 0x18]
movzx edx, byte [edi + 0x20]
mov byte [esi + 0x20], dl
movzx eax, byte [edi + 0x21]
mov byte [esi + 0x21], al
mov cl, byte [edi + 0x22]
mov byte [esi + 0x22], cl
movzx edx, byte [edi + 0x23]
lea eax, [edi + 0x24]
push eax
lea ecx, [esi + 0x24]
mov byte [esi + 0x23], dl
call fcn.0040f840
lea ecx, [edi + 0x28]
push ecx
lea ecx, [esi + 0x28]
call fcn.0040f840
mov edx, dword [edi + 0x30]
lea ecx, [edi + 0x38]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
push ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], eax
call fcn.0040f840
lea edx, [edi + 0x3c]
push edx
lea ecx, [esi + 0x3c]
call fcn.0040f840
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x40]
call fcn.0040f840
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
lea edx, [edi + 0x58]
mov dword [esi + 0x54], ecx
push edx
lea ecx, [esi + 0x58]
call fcn.0040f840
lea eax, [edi + 0x5c]
push eax
lea ecx, [esi + 0x5c]
call fcn.0040f840
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
lea eax, [edi + 0x68]
push eax
lea ecx, [esi + 0x68]
mov dword [esi + 0x64], edx
call fcn.0040f840
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
lea edx, [edi + 0x70]
push edx
lea ecx, [esi + 0x70]
call fcn.0040f840
movzx eax, byte [edi + 0x74]
lea ecx, [edi + 0x78]
push ecx
lea ecx, [esi + 0x78]
mov byte [esi + 0x74], al
call fcn.0040f840
add edi, 0x7c
push edi
lea ecx, [esi + 0x7c]
call fcn.0040f840
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x42b3e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4660c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
lea edi, [ebx + 1]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004193c0
push 0x46df68
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 1
call fcn.0040f8b0
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b45a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
add esi, 4
push esi
push edx
call fcn.0042a5d0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.00424570
mov edx, dword [ebp - 0x10]
add esp, 0x10
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebx
je 0x42b4af
movzx edx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push 0x46df60
push edx
push eax
call fcn.00424b20
add esp, 0x10
cmp eax, ebx
jne 0x42b4b1
xor edi, edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b4d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00447eaa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b50b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42ca30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4662f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], 1
call fcn.00424550
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 0x46df60
push eax
push ecx
xor esi, esi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], esi
call fcn.00424a80
test eax, eax
je 0x42cb06
lea edx, [ebp + 0xc]
push edx
call fcn.004193c0
push 0x46df68
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.0040f8b0
add esp, 0x10
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42caca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x34]
call fcn.00424c40
test eax, eax
jne 0x42cb2b
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cb06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00424a40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
cmp dword [ebx + 0x1c], esi
jne 0x42cb89
mov eax, dword [ebx + 0x14]
lea esi, [ebx + 4]
mov dword [ebp + 8], eax
cmp dword [esi + 0xc], eax
jbe 0x42cb49
call fcn.00448717
mov edi, dword [esi + 0xc]
mov edx, dword [esi]
mov dword [ebp - 0x20], edx
cmp edi, dword [esi + 0x10]
jbe 0x42cb5b
call fcn.00448717
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi]
push ecx
push edx
push edi
push eax
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0042a190
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call fcn.0042b930
add esp, 8
mov dword [ebx + 0x1c], eax
test eax, eax
jne 0x42cb89
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cbb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00424a40
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42d100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
cmp byte [0x483f88], 0
jne 0x42d139
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
mov ebx, 1
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call sub.gdiplus.dll_GdiplusStartup
mov byte [0x483f88], bl
movzx edx, word [ebp + 8]
mov ebx, dword [0x4843b4]
push 0x46cc2c
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
je 0x42d18f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42d18f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42d18f
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x42d198
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x42d1ba
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.0044b690
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x42d18f
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.004169b0
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42da40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
push edi
je 0x42da52
mov edi, dword [esi + 0x34]
jmp 0x42da55
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42da92
test edi, edi
je 0x42da92
cmp dword [ebp + 8], 0
je 0x42da86
mov ecx, esi
call fcn.0042d880
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x42daa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x42daf9
mov eax, dword [esi + 0x48]
add eax, 4
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42db25
cmp dword [esi + 0x2c], 0
je 0x42dacb
mov edi, dword [esi + 0x34]
jmp 0x42dace
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42db25
test edi, edi
je 0x42db25
mov ecx, esi
call fcn.0042d880
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
je 0x42db04
mov edi, dword [esi + 0x34]
jmp 0x42db07
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42db25
test edi, edi
je 0x42db25
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x42e880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push eax
push 1
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x42e8f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42e8d9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x42e8ce
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042e510
mov dword [esi], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x14
lea esi, [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 4]
call fcn.004211f0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x14
Function at 0x42ec50
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466468
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4814f0]
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
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x42ece8
push 0x46e0f8
lea ecx, [ebp - 0x54]
call fcn.0040fbe0
mov ecx, dword [ebp - 0x54]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x42ed17
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ece8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42eded
mov ecx, dword [ebp + 8]
push 0
push 0x8440c100
push 0
push 0
push 0x46e0e4
push ecx
push 0x46e0dc
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
jne 0x42ed90
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ed68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42eded
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42eded
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42edb4
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
jmp 0x42eddd
push 0
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x13
push ebx
mov dword [ebp - 0x58], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
push esi
call ebx
lea ecx, [ebp - 0x54]
call fcn.0040edc0
lea ecx, [ebp + 8]
call fcn.0040edc0
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.00447f52
mov esp, ebp
pop ebp
ret 4
Function at 0x42f200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esi], 0
call edi
push 0
push 0
push 1
push 0
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x42f1e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi], eax
mov dword [esi + 0x44], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42f2d0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor bl, bl
cmp byte [esi + 4], bl
je 0x42f2f5
push edi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
ret
push 0
push 0
push esi
push 0x42f270
push 0
push 0
call fcn.0044c2c5
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x42f317
mov bl, 1
mov byte [esi + 4], bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x431770
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4667ee
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.0042f290
mov dword [esi + 0x24], vtable.ICallbackTarget.0
lea edi, [esi + 0x30]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CInstManager.1.0
mov dword [esi + 0x24], vtable.CInstManager.0
call fcn.004210e0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
call fcn.004210e0
push ebx
push ebx
push 1
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x4317f3
call fcn.00448717
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
cmp ecx, dword [edi + 0x10]
jbe 0x43180b
call fcn.00448717
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edi]
push ebx
push edx
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0042a190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432180
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x4321b5
mov eax, dword [esi + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4321af
mov eax, dword [esi + 0x7c]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x80]
pop esi
ret

Function at 0x4323f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x432400
xor eax, eax
pop ebp
ret 4
mov eax, dword [0x4837d8]
test eax, eax
jne 0x43241b
push ecx
call fcn.00417e90
add esp, 4
mov dword [0x4837d8], eax
test eax, eax
je 0x4323fa
cmp dword [0x4837e0], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x43243d
push 0x46cb8c
push eax
call esi
mov dword [0x4837e0], eax
mov eax, dword [0x4837d8]
cmp dword [0x4837e4], 0
jne 0x432458
push 0x46cf1c
push eax
call esi
mov dword [0x4837e4], eax
mov eax, dword [0x4837d8]
cmp dword [0x483fe4], 0
jne 0x432473
push 0x46e404
push eax
call esi
mov dword [0x483fe4], eax
mov eax, dword [0x4837d8]
cmp dword [0x4837dc], 0
jne 0x43248e
push 0x46cae0
push eax
call esi
mov dword [0x4837dc], eax
mov eax, dword [0x4837d8]
cmp dword [0x483fe8], 0
jne 0x4324a4
push 0x46e3f8
push eax
call esi
mov dword [0x483fe8], eax
xor eax, eax
cmp dword [0x4837e0], eax
pop esi
setne al
pop ebp
ret 4
Function at 0x436850
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x4368b2
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [ebp + 0xc]
lea esi, [eax + 1]
mov eax, dword [edi]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or edx, eax
jge 0x436894
push esi
mov ecx, edi
call fcn.0040f3c0
mov eax, dword [edi]
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
push esi
mov ecx, edi
call fcn.00417410
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
call fcn.0040f350
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x4381f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00425b00
cmp dword [eax + 0x38], 0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
jne 0x438218
mov eax, dword [esi + 4]
push eax
call edi
push 0x46f000
jmp 0x438223
mov ecx, dword [esi + 4]
push ecx
call edi
push 0x46ef70
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
mov edx, dword [esi + 4]
push 0x40d
push edx
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 0x3f0
push eax
call edi
push 0x46eef8
push eax
call ebx
mov ecx, dword [esi + 0x50]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43826b
push 0
lea ecx, [esi + 0x4c]
call fcn.00421650
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
ret
Function at 0x438b60
Capabilities:
Delete file
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467190
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4814f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xcd
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 0x3ec
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f1
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f2
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3ef
push ecx
call edi
push 0
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f0
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438c10
mov ecx, dword [esi + 0x50]
push 0
push ecx
call ebx
mov edx, dword [esi + 4]
push 0x3ed
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esi + 4]
push 0x3f3
push eax
call edi
push 5
push eax
call ebx
mov ecx, dword [esi + 4]
push 0x3f3
push ecx
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 4]
push 0x41a
push edx
call edi
push 5
push eax
call ebx
mov eax, dword [esi + 4]
push 0x41a
push eax
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, 0x484200
call fcn.00432070
or edi, 0xffffffff
test eax, eax
je 0x438ce4
mov ecx, 0x484200
call fcn.00432010
test eax, eax
je 0x438ca4
mov ecx, 0x484200
call fcn.00432040
mov ecx, 0x484200
call fcn.00432170
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x438ce4
lea ecx, [ebp - 0x48]
call fcn.0042e6c0
mov dword [ebp - 4], 0
call fcn.0042e930
mov ecx, eax
call fcn.0042e6e0
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.0042e810
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x46e56c
call fcn.0040fbe0
mov ecx, 0x484200
call fcn.00434140
mov ecx, 0x484200
call fcn.00432060
test eax, eax
je 0x438d32
lea ecx, [ebp - 0xd]
call fcn.0042cee0
push 1
push 0x46f098
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
lea ecx, [ebp - 0xd]
call fcn.0042d020
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], edi
call fcn.00413c90
mov ecx, 0x484200
call fcn.00432070
test eax, eax
jne 0x438d4e
mov ecx, 0x484200
call fcn.00432060
test eax, eax
je 0x438d6b
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [0x48432c]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret