Function at 0x4ad0e0
Capabilities:
Check for time delay via gettickcount
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
sub esp, 0x58
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call esi
mov dword [0x59a404], eax
call esi
mov dword [0x59a3a8], eax
lea eax, [esp + 0x30]
push 0
push eax
lea eax, [esp + 0x14]
push eax
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x4ad145
push eax
push str.show_window:_Failed_to_initialize_GDI._Error:__d_n
call fcn.0040e7c0
add esp, 8
mov eax, 1
pop esi
add esp, 0x58
ret
push ebx
push ebp
push edi
mov dword [0x59a3b4], 0
mov dword [0x59a3b8], 0
mov dword [0x59a3fc], 0
mov dword [0x59a3f4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push dword [0x591398]
movzx ebx, ax
mov eax, 0x419
mov dword [esp + 0x14], ebx
push 0x59a3b0
cmp bx, ax
jne 0x4ad199
push 0x3ef
jmp 0x4ad19e
push 0x3ee
call fcn.004acc50
add esp, 0xc
push 0x549684
push 0x3ef
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4ad1cb
call ebp
jmp 0x4ad2b7
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4ad2b3
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ad2b3
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4ad2b3
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4ad2ac
push ebx
push esi
push eax
call fcn.004d1780
add esp, 0xc
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4ad2a5
mov ebx, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4ad26b
lea eax, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
push eax
push ebx
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStreamICM
mov dword [esi + 8], eax
jmp 0x4ad26d
xor esi, esi
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x4ad2a5
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x4ad29d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x10]
jmp 0x4ad2b9
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [esp + 0x10]
xor esi, esi
push 0
push 0x4ac510
push 0
push 0x3e9
push 0
mov dword [0x59a3a4], esi
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
jne 0x4ad2f4
call ebp
push eax
push str.show_window:_Cant_create_window._Error:__d_n
call fcn.0040e7c0
add esp, 8
jmp 0x4ad562
push dword [0x591394]
mov eax, 0x419
push 0x59a3ac
cmp bx, ax
jne 0x4ad310
push 0x3f7
jmp 0x4ad315
push 0x3f6
call fcn.004acc50
add esp, 0xc
push dword [0x59a3ac]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3ea
push 0
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4ad35b
call ebp
push eax
push str.show_window:_Cant_load_accelerator_table._Error:__d_n
call fcn.0040e7c0
add esp, 8
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4ad562
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebp, eax
call esi
cmp ebp, 0x280
jl 0x4ad4f3
cmp eax, 0x1e0
jl 0x4ad4f3
movd xmm0, eax
lea eax, [esp + 0x2c]
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
push 0
push eax
push 0
push 0x30
cvtdq2ps xmm0, xmm0
divss xmm1, dword [0x5497e8]
divss xmm0, dword [0x5497e4]
minss xmm1, xmm0
movss dword [0x591390], xmm1
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
movss xmm1, dword [0x591390]
movaps xmm0, xmm1
mov dword [esp + 0x1c], 0
mulss xmm0, dword [0x5497e8]
push 0xfffffffffffffff0
mulss xmm1, dword [0x5497e4]
push edi
cvttss2si eax, xmm0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
cvttss2si eax, xmm1
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
push 0
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ebp, dword [esp + 0x34]
sub ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, ebp
sub eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ecx, esi
sub edx, dword [esp + 0x20]
cmp ebp, eax
mov ebx, dword [esp + 0x14]
cmovge edi, eax
cmp esi, edx
push 0x40
cmovge ecx, edx
sub ebp, edi
sub esi, ecx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x34]
push ecx
push edi
push eax
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x3c]
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
push ebx
call ebp
push 0
test eax, eax
lea eax, [esp + 0x50]
push 0
je 0x4ad492
push ebx
jmp 0x4ad494
push 0
push eax
call esi
test eax, eax
jle 0x4ad4c4
lea eax, [esp + 0x4c]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4ad480
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4ad480
jns 0x4ad4d4
push ebx
call ebp
test eax, eax
je 0x4ad4d4
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x59a3fc], 0x64
jge 0x4ad4e6
cmp dword [0x59a3b8], 0
je 0x4ad562
cmp dword [0x59a3b4], 1
jne 0x4ad562
xor esi, esi
jmp 0x4ad567
push str.show_window:_Insufficient_screen_resolution_need_at_least_640x480._n
call fcn.0040e7c0
add esp, 4
mov eax, 0x419
cmp bx, ax
lea eax, [esp + 0x14]
push 0x505710
push eax
jne 0x4ad52f
push 0x3f3
call fcn.004acc50
push 0x505710
lea eax, [esp + 0x20]
push eax
push 0x3f5
jmp 0x4ad548
push 0x3f2
call fcn.004acc50
push 0x505710
lea eax, [esp + 0x20]
push eax
push 0x3f4
call fcn.004acc50
add esp, 0x18
push 0x10
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 1
mov ecx, dword [0x59a3a4]
pop edi
pop ebp
pop ebx
test ecx, ecx
je 0x4ad57a
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [esp + 0xc]
call sub.gdiplus.dll_GdiplusShutdown
push dword [0x59a3ac]
call fcn.004b7962
push dword [0x59a3b0]
call fcn.004b7962
add esp, 8
mov eax, esi
pop esi
add esp, 0x58
ret