Function at 0x424db0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4cd348
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
cmp byte [edi + 0x22c], 0
je 0x424e12
push 0
push 0x8ff
push 0x111
push dword [edi - 0x5e4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x425207
lea eax, [edi + 0x50]
lea esi, [eax + 0x18]
mov dword [esp + 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x54]
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ecx
mov ecx, dword [edi + 0x20]
push 0
mov ecx, dword [ecx + 0x170]
call fcn.00426dd0
mov eax, dword [edi + 0x120]
cmp dword [eax + 0x18], 0
jne 0x424ea9
inc dword [edi + 0x220]
mov eax, dword [edi + 0x220]
and eax, reloc.gdiplus.dll_Ordinal_1
jne 0x4251f6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x424e75
cmp ecx, dword [edi + 0x21c]
jne 0x424ec7
cmp byte [edi + 0x226], 0
mov ecx, 0x90a
push 0
mov eax, 0x8ff
cmovne eax, ecx
push eax
push 0x111
push dword [edi - 0x5e4]
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [edi + 0x22c], 1
jmp 0x425207
inc dword [edi + 0x220]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4251f6
cmp dword [edi + 0x21c], ecx
je 0x4251f6
cmp byte [edi + 0x225], 0
je 0x425124
mov ecx, dword [edi + 0x20]
push 0
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov eax, dword [edi + 0x210]
test eax, eax
je 0x424ef6
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7f02
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0
movq qword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x30], 1
push ecx
mov dword [esp + 0x84], 0
mov ecx, dword [edi + 0x1c]
push 0
call fcn.00426dd0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
mov byte [esp + 0x80], 1
push eax
lea esi, [edi + 0x50]
push 0
mov ecx, esi
call fcn.00424af0
mov dword [esp + 0x14], eax
test eax, eax
js 0x4250e3
cmp byte [edi + 0xca], 0
je 0x4250c1
xorps xmm0, xmm0
lea ecx, [esp + 0x34]
movdqa xmmword [esp + 0x34], xmm0
movdqa xmmword [esp + 0x44], xmm0
call fcn.00425230
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x34]
push dword [esp + 0x24]
call fcn.0040e6e0
mov ecx, dword [0x518dd0]
lea edx, [esp + 0x58]
add ecx, 0xb4
push 0x4df3d0
push str.deskew_threshold
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [esp + 0x80], 3
mov ecx, dword [0x518dd0]
add ecx, 0xb4
push 0
push str.deskew_detect
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [0x518dd0]
mov edi, eax
add ecx, 0xb4
push 1
push str.deskew_max
mov edx, dword [ecx]
mov edx, dword [edx + 4]
call edx
cmp dword [esp + 0x6c], 0x10
lea ecx, [esp + 0x58]
mov esi, eax
cmovae ecx, dword [esp + 0x58]
push ecx
call fcn.0048d118
push ecx
test edi, edi
lea ecx, [esp + 0x3c]
fstp qword [esp]
setne al
push esi
movzx eax, al
push eax
push 1
call fcn.00470600
test al, al
je 0x425091
mov dword [esp + 0x20], 0
push str..jpg
lea eax, [esp + 0x24]
mov byte [esp + 0x84], 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00427a70
test eax, eax
je 0x42507b
mov eax, dword [esp + 0x24]
xor esi, esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x20], esi
test eax, eax
je 0x425075
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], edi
jmp 0x42507f
mov esi, dword [esp + 0x20]
mov byte [esp + 0x80], 3
test esi, esi
je 0x425091
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x58]
call fcn.004071d0
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable._CommUI::CUIImage.0
call fcn.00411c90
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x120]
mov ecx, dword [edi + 0x10]
add ecx, 0x154
push dword [eax + 0x38]
push dword [esp + 0x28]
call fcn.00424bc0
mov ecx, eax
call fcn.0043ca00
mov ecx, esi
mov dword [edi + 0x21c], 0
mov byte [edi + 0x225], 0
call fcn.00424970
mov byte [esp + 0x80], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x425111
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x14]
jmp 0x425209
mov al, byte [edi + 0x226]
mov esi, 3
mov byte [esp + 0x13], al
test al, al
je 0x425147
mov eax, dword [edi + 0x120]
cmp dword [eax + 0x18], 1
jne 0x425147
xor esi, esi
jmp 0x42517b
mov edx, dword [edi + 0x120]
cmp dword [edx + 0x24], 1
jne 0x42515d
cmp ecx, 1
jne 0x42517b
lea esi, [ecx + 1]
jmp 0x42517b
mov ecx, edx
call fcn.0041e900
test al, al
je 0x42517b
cmp dword [edx + 0x18], 0
jne 0x42517b
cmp byte [esp + 0x13], 0
mov eax, 1
cmove esi, eax
lea ecx, [edi + 0x50]
call fcn.00424ad0
mov ecx, dword [edi + 0x20]
push eax
mov ecx, dword [ecx + 0x154]
call fcn.0046c9a0
cmp esi, 3
jne 0x4251b9
mov eax, dword [edi + 0x120]
cmp dword [eax + 0x24], 1
jne 0x4251d5
push 0
push 0
lea eax, [edi + 0x138]
push eax
lea ecx, [edi - 0x5e8]
call fcn.00425490
push ecx
mov ecx, dword [edi + 0x20]
push esi
mov ecx, dword [ecx + 0x170]
call fcn.00426dd0
mov eax, dword [esp + 0x20]
mov dword [edi + 0x21c], eax
jmp 0x425207
mov eax, dword [edi + 0x210]
test eax, eax
je 0x4251ea
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x906
jmp 0x424dfc
push ecx
mov ecx, dword [edi + 0x20]
push 0
mov ecx, dword [ecx + 0x170]
call fcn.00426dd0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 4