joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bd10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00455890
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43be30
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43be30
push esi
mov esi, dword [ebp - 8]
push esi
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push str.ExtractRes__s___LgData_d_oct
call fcn.00469290
add esp, 0xc
cmp esi, 0x100000
jbe 0x43be11
mov dword [ebp - 0x10], ebx
mov eax, 0x100000
test esi, esi
je 0x43be26
cmp dword [0x4b552c], 0
jne 0x43be26
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
push ebx
push dword [ebp - 4]
push str.ExtractRes_____WriteFile__d____d
call fcn.00469290
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, dword [ebp - 4]
mov ecx, 0x4af010
mov dword [ebp - 0x10], eax
push 0
push eax
call fcn.004293d0
cmp esi, 0x100000
jbe 0x43be26
sub esi, 0x100000
mov ecx, 0x100000
cmp esi, 0x100000
mov eax, esi
cmova eax, ecx
add edi, dword [ebp - 4]
test esi, esi
jne 0x43bd93
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43be40
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x464], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f6e0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x492fc0
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
test eax, eax
je 0x43bfd9
cmp eax, 0xffffffff
je 0x43bfd9
jmp 0x43bed0
mov cx, word [ebp - 0x42e]
mov ax, word [ebp - 0x430]
test cx, cx
jne 0x43bee9
cmp ax, 0x2e
je 0x43bf61
cmp word [ebp - 0x42c], 0
jne 0x43befe
cmp ax, 0x2e
jne 0x43befe
cmp cx, ax
je 0x43bf61
lea eax, [ebp - 0x430]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x45c], 0x10
je 0x43bf36
push dword [ebp - 0x464]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043be40
add esp, 0xc
mov edi, eax
jmp 0x43bf4a
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.0047054b
add esp, 8
test eax, eax
je 0x43bf9b
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
push str.FindMyFile__s___s___File_s_d
call fcn.00469290
add esp, 0x14
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43bed0
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
mov edi, 1
push eax
push 0x104
push dword [ebp - 0x464]
call fcn.0046fd12
add esp, 0xc
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
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
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x43c090
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [ebp - 4], ebx
test eax, eax
je 0x43c195
push 1
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x43c0d3
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x43c0ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43c0bb
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43c153
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x43c153
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x43c108
sub edi, ecx
je 0x43c146
lea eax, [edi + 1]
push eax
call fcn.00470008
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x43c141
push dword [ebp - 8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.0046fcbd
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x43c146
mov esi, 8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x43c157
call ebx
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x43c165
call ebx
mov esi, eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43c171
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x43c17a
mov dword [eax], esi
test esi, esi
je 0x43c18c
push esi
push str.GetClipboardText___returns_with_the_error_code__d
call fcn.00469290
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x57
jmp 0x43c168
Function at 0x43cdf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x12c], edi
test edi, edi
jne 0x43ce2e
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046f6e0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov eax, 0x3000
mov dword [ebp - 0x130], eax
jb 0x43cf79
push ebx
push 0
push 0x1fffff
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x43cf8e
lea eax, [ebp - 0x124]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43cf68
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], esi
push eax
push 0
push 0
push 0x19
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x43cf5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43cf5c
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x43cf5c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x43cf56
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
push edi
push 0x19
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43cf46
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
test eax, eax
je 0x43cf41
movzx eax, byte [eax]
dec eax
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
jmp 0x43cf46
mov esi, 0x8000ffff
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x12c]
push dword [ebp - 0x124]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x43cf7b
mov eax, dword [ebp - 0x130]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov eax, 0x3000
jmp 0x43cf79
Function at 0x43d630
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046f6e0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x43d698
cmp dword [ebp - 0x11c], 6
jne 0x43d688
cmp dword [ebp - 0x118], 1
je 0x43d6ae
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x43d6ae
jne 0x43d688
cmp dword [ebp - 0x118], 0
jbe 0x43d688
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret

Function at 0x43d6d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046f6e0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x43d74b
cmp dword [ebp - 0x11c], 6
jne 0x43d73b
cmp dword [ebp - 0x118], 0
jne 0x43d73b
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret

Function at 0x43d770
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x43d7c9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43d7d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43d7e6
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x43d80c
push dword [ebp - 0x14]
push str.IsRunAsAdmin_____d
call fcn.004695f0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push 0x4a93ac
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.0046ec09
int3
Function at 0x43d890
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0xc], 0x74725c7b
mov word [ebp - 8], 0x3166
mov byte [ebp - 6], 0x5c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43d8f6
push edi
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.00469290
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x43d95c
push 0
lea eax, [ebp - 0x18]
push eax
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43d95c
cmp dword [ebp - 0x18], 7
jne 0x43d95c
xor ecx, ecx
jmp 0x43d930
mov al, byte [ebp + ecx - 0xc]
cmp al, byte [ebp + ecx - 0x14]
jne 0x43d95c
inc ecx
cmp ecx, 7
jb 0x43d930
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x43fa80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [ebp + 0xc]
sub eax, edi
cmp eax, ebx
ja 0x43fadb
mov edi, edi
push 1
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43fad3
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 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jbe 0x43faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440130
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x10]
push pe_nt_image_headers32
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0046f6e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
ja 0x4401e3
jne 0x4401a6
cmp dword [ebp - 0x118], 2
jae 0x4401e3
push dword [ebp + 0x18]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
jne 0x440208
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x440202
or eax, 0xffffffff
mov dword [ebp - 0x124], 0
xor esi, esi
jmp 0x440208
push dword [ebp + 0x18]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov esi, eax
mov eax, dword [ebp - 0x128]
test edi, edi
je 0x440217
mov ecx, dword [ebp - 0x124]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret

Function at 0x4403a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440416
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [ebp + 0xc], 0
je 0x4403ea
test eax, eax
jne 0x440416
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.0043bff0
add esp, 4
pop esi
pop ebp
ret
test eax, eax
je 0x440416
mov eax, dword [ebp + 0x10]
mov ecx, 0x1f4
test eax, eax
push 0x50004
cmovne ecx, eax
push ecx
push esi
call fcn.0043aad0
add esp, 0xc
test eax, eax
jne 0x440416
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
Function at 0x441a20
Capabilities:
Check for time delay via gettickcount
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b51dc], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
jne 0x441ae1
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x408]
push 0x100
push eax
call fcn.0046fd12
push esi
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.0046fd12
add esp, 0x18
lea eax, [ebp - 0x410]
push 0x4b51d8
push 0
push eax
push 0x441e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [0x4b51d4], ecx
test ecx, ecx
je 0x441ab8
push 0xc8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x4b51d4]
push dword [0x4b51d8]
mov eax, dword [ebp - 0x40c]
push ecx
push str.MsgWaitDlg__CreateThread____Thread_x_ThreadId_d
mov dword [0x4b51dc], eax
call fcn.00469290
mov eax, dword [0x4b51dc]
add esp, 0xc
jmp 0x441bcb
push ebx
push edi
push str.before_PostThreadMessage
call fcn.00469290
add esp, 4
push 0
push 0
push 0x12
push dword [0x4b51d8]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
push 0x64
push dword [0x4b51d4]
call ebx
mov dword [ebp - 0x414], eax
test eax, eax
je 0x441b5e
cmp eax, 0xffffffff
je 0x441b5e
call esi
sub eax, edi
cmp eax, 0x7d0
jae 0x441b5e
push 0x64
push dword [0x4b51d4]
call ebx
push eax
push str.MsgWaitDlg____WaitForSingleObject_x
mov dword [ebp - 0x414], eax
call fcn.00469290
mov eax, dword [ebp - 0x414]
add esp, 8
test eax, eax
jne 0x441b26
lea eax, [ebp - 0x414]
push eax
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
pop edi
pop ebx
test eax, eax
je 0x441ba4
push dword [ebp - 0x414]
push str.MsgWaitDlg____dwExitCode_x
call fcn.00469290
add esp, 8
cmp dword [ebp - 0x414], 0x103
jne 0x441ba4
push 0
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [0x4b51d4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [0x4b51d4], 0
mov dword [0x4b51d8], 0
mov dword [0x4b51dc], eax
push eax
push str.MsgWaitDlg__End__d_
call fcn.00469290
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [0x4b51dc]
xor ecx, ebp
pop esi
call fcn.0046ebfa
mov esp, ebp
pop ebp
ret
Function at 0x441f40
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 0x442069
push dword [ebx + 4]
push dword [ebx]
push dword [ebp + 8]
push str.StatusDlg___hWnd___08.8X__hInst___d__uiLangID___d
call fcn.00469290
movzx eax, byte [ebx + 0x14]
push eax
push str.StatusDlg___Status:__d
call fcn.00469290
lea eax, [ebx + 0x15]
push eax
push str.StatusDlg___PackImages:__s
call fcn.00469290
mov ecx, 0x87
mov esi, ebx
mov edi, 0x4b51e8
add esp, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebx + 0x14], 0
jne 0x441fa4
mov esi, 0x96
jmp 0x441fc0
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.00469290
add esp, 8
movzx eax, si
push ebx
push 0x442090
push dword [ebp + 8]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
test esi, esi
je 0x442076
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 0x442076
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
lea esp, [esp]
cmp eax, 0xffffffff
je 0x442062
push esi
call ebx
test eax, eax
je 0x44203c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x442050
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x442050
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 0x442010
jmp 0x442076
push str.WinMain____GetMessage____1
jmp 0x44206e
push str.StatusDlg___bad_parameters_
call fcn.00469290
add esp, 4
push esi
push str.StatusDlg___End__d_
call fcn.00469290
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443040
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [ebp + 0xc]
jne 0x443217
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x4b51e4]
test eax, eax
je 0x44306b
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.0043d0b0
imul eax, dword [0x4b51e0], 0xc69
add esp, 0xc
push 0x70
push dword [ebp + 0xc]
add eax, 0xc
push dword [ebp - 4]
add eax, dword [0x4b5408]
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x4b51e4], eax
test eax, eax
jne 0x443138
push str.ISLoadPNG
push dword [0x4b5518]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443119
imul ecx, dword [0x4b51e0], 0xc69
push 0
add ecx, 0xc
add ecx, dword [0x4b5408]
push ecx
call eax
mov dword [0x4b51e4], eax
test eax, eax
je 0x4431d0
push 8
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push eax
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [0x4b51e4], eax
jmp 0x443130
push str.ISLoadPNG
push str.StatusDlg_Timer____Function__s_failed_
call fcn.004695f0
mov eax, dword [0x4b51e4]
add esp, 8
test eax, eax
je 0x4431d0
test esi, esi
je 0x4431d0
push edi
mov edi, dword [0x4b51f8]
cmp edi, 0xffffffff
jne 0x443166
push 5
push 1
call fcn.00440e80
add esp, 8
imul eax, eax, 0x69
mov edi, dword [eax + 0x4c8d18]
mov eax, dword [0x4b51e4]
test edi, edi
jne 0x443183
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 0x4431cf
cmp edi, 0x100
jne 0x4431a3
push 1
push 0x104
push 0x26c
push eax
push esi
call fcn.0043acc0
add esp, 0x14
jmp 0x4431cf
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4b51e4]
push 0
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x1f4
push esi
call fcn.0043aad0
add esp, 0xc
pop edi
mov ecx, dword [0x4b540c]
mov eax, 0x52835813
sub ecx, dword [0x4b5408]
mov esi, dword [0x4b51e0]
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 [0x4b51e0], eax
imul eax, dword [0x4b51f4], 0x3e8
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret