Function at 0x4852ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x24]
mov eax, 0x4ae9fc
push dword [ebp + 0x20]
mov edi, ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push eax
push dword [esi]
push dword [ebp + 8]
push 0xf
call fcn.00434aed
xor ebx, ebx
push 0x4c9c14
mov dword [edi], 0x4b69e0
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov byte [edi + 0x48], bl
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp + 0x34]
mov dword [eax], edi
mov eax, dword [esi]
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x34]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.00439c95
pop ecx
lea ecx, [ebp - 0x34]
call fcn.0043fd9a
lea ecx, [ebp - 0x20]
call fcn.0043fd9a
lea ecx, [ebp - 0x30]
call fcn.0043fd9a
lea ecx, [ebp - 0x3c]
call fcn.0043fd9a
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
lea ecx, [ebp + 0x14]
lea ebx, [ebp + 0x34]
call fcn.00447dcb
mov esi, dword [ebp - 4]
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
jmp 0x4853aa
inc esi
inc esi
inc dword [ebp - 0x1c]
cmp word [esi], 0x2d
je 0x4853a5
mov ecx, dword [ebp + 8]
push 1
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.0044dca2
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x92], bl
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
jne 0x4853ea
test byte [ecx + 9], 0xf
jne 0x4853ea
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.0044ec85
jmp 0x4853f9
push 1
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.0044dca2
cmp word [esi], bx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
je 0x48541d
mov ecx, dword [ebp + 8]
push 1
push ebx
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.0044dca2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpW]
push 0x4b7678
call esi
push dword [ebp - 0x14]
neg eax
sbb al, al
inc al
push 0x4b9d78
mov byte [ebp + 0x17], al
call esi
neg eax
sbb al, al
inc al
cmp byte [ebp + 0x17], bl
mov byte [edi + 0x48], al
jne 0x485456
cmp al, bl
mov byte [ebp + 0x17], 1
je 0x485459
mov byte [ebp + 0x17], bl
push dword [ebp - 0x24]
lea esi, [edi + 8]
mov ecx, esi
call fcn.00448401
push dword [esi]
lea ecx, [edi + 0xc]
call fcn.00448364
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov esi, dword [ecx + 0x28]
mov dword [ebp - 0x50], ebx
cmp word [eax], bx
mov dword [ebp + 0x34], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], esi
je 0x4854a1
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x28], edx
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.0042380e
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 0x30]
push ebx
push edx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], ebx
call fcn.00439ff3
test al, al
pop ecx
pop ecx
je 0x4854c1
mov dword [ebp - 0xc], 0x8000000
test dl, 0x10
jne 0x4854ca
or byte [ebp - 9], 0x10
test dl, 0x40
je 0x4854d6
mov dword [ebp - 0x2c], 0x800000
mov dword [ebp - 0x10], edx
and dword [ebp - 0x10], 0x80
je 0x4854e9
mov dword [ebp - 0x18], 0x100000
mov dword [ebp - 4], edx
and dword [ebp - 4], 0x100
je 0x4854f9
or byte [ebp - 0x16], 0x20
cmp byte [ebp + 0x17], bl
je 0x4855e1
push 0x8d8
call fcn.0049aa28
cmp eax, ebx
pop ecx
je 0x48552c
push ebx
push ebx
push ebx
push ebx
lea ecx, [edi + 0x34]
push ecx
push 0x2723
push dword [esi + 0x18]
mov ecx, eax
call fcn.0044a844
mov esi, eax
jmp 0x48552e
xor esi, esi
mov eax, dword [ebp - 0x38]
push dword [ebp - 0x24]
mov dword [edi + 0x1c], esi
mov dword [esi + 0x48], ebx
mov eax, dword [eax + 0x48]
and eax, 0xf7000
or eax, 0x8000
lea ecx, [esi + 0x78]
mov dword [ebp + 0x34], esi
mov dword [esi + 0x48], eax
mov byte [esi + 0x76], 0x10
mov dword [ebp - 8], esi
call fcn.00448401
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0x150], eax
push dword [ecx + 0x18]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 8]
push ebx
push ebx
push pe_nt_image_headers32
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [ebp - 9], 8
je 0x485594
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x18]
push ebx
push eax
push ebx
push dword [esi + 0x18]
call fcn.0048be34
add esp, 0x10
test byte [ebp - 9], 0x10
je 0x4855b9
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push 4
push dword [edi + 0x2c]
push dword [edi + 0x28]
push dword [edi + 0x24]
push dword [edi + 0x20]
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push dword [esi + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov dword [ebp + 0xc], esi
jmp 0x4855ed
mov eax, dword [edi + 0x20]
mov dword [ebp + 0x28], eax
mov eax, dword [edi + 0x24]
mov dword [ebp + 0x2c], eax
push 0x8d8
call fcn.0049aa28
cmp eax, ebx
pop ecx
je 0x48561a
push ebx
push ebx
push ebx
push ebx
lea ecx, [edi + 0x34]
push ecx
mov ecx, dword [ebp + 0xc]
push 0x2723
push dword [ecx + 0x18]
mov ecx, eax
call fcn.0044a844
mov esi, eax
jmp 0x48561c
xor esi, esi
cmp dword [ebp - 8], ebx
je 0x485624
mov dword [edi + 0x40], esi
mov eax, dword [ebp + 0x34]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], esi
mov eax, dword [eax + 0xac]
push 0x9c
mov dword [esi + 0xac], eax
call fcn.0049aa28
cmp eax, ebx
pop ecx
je 0x485658
push esi
push dword [ebp + 8]
mov ecx, eax
call fcn.0043067c
jmp 0x48565a
xor eax, eax
cmp dword [ebp - 0x1c], ebx
mov dword [edi + 0x44], eax
mov dword [esi + 0x150], eax
mov byte [eax + 0x91], 3
jle 0x48569b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x150]
dec ecx
cmp ecx, ebx
mov dword [ebp + 0x30], edx
jl 0x485692
inc ecx
mov dword [ebp - 8], ecx
dec dword [ebp - 8]
mov ecx, dword [ebp + 0x30]
mov ecx, dword [ecx + 0x24]
mov dword [ebp + 0x30], ecx
jne 0x485684
mov ecx, dword [ebp + 0x30]
mov dword [edx + 0x84], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], edx
mov ecx, dword [ecx + 0x38]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x158], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x88], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x8c], eax
mov eax, dword [edi + 0x2c]
push 2
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.00481046
cmp byte [ebp + 0x17], bl
jne 0x485709
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x88], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x8c], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x90], eax
push dword [ebp - 0x24]
lea ecx, [esi + 0x78]
call fcn.00448401
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
mov dword [esi + 0x48], ebx
mov dword [esi + 0xa8], ebx
mov byte [esi + 0x75], bl
mov ecx, dword [eax + 0x48]
and ecx, 0xf7000
or ecx, 0x8000
mov dword [esi + 0x48], ecx
mov byte [esi + 0x76], 0x10
push dword [eax + 0x18]
mov ecx, esi
push 0xffffffffffffffff
call dword [edx + 8]
push ebx
push ebx
push pe_nt_image_headers32
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x18]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
cmp byte [ebp + 0x17], bl
jne 0x4857cd
test byte [ebp - 9], 8
je 0x485775
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push dword [ebp - 0x2c]
push ebx
push dword [esi + 0x18]
call fcn.0048be34
add esp, 0x10
test byte [ebp - 0x2a], 0x80
je 0x48579b
push 0x23
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
push dword [edi + 0x2c]
push dword [edi + 0x28]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [ebp - 9], 0x10
je 0x4858fc
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4858fc
push 5
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x14]
cmp word [eax], bx
je 0x485832
push eax
mov ecx, esi
call fcn.0043deeb
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x485832
push 0x40
call fcn.0049aa28
cmp eax, ebx
pop ecx
je 0x485825
push dword [ebp + 0x24]
mov edx, 0x4ae9fc
push dword [ebp + 0x20]
mov ecx, eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edx
push edx
push dword [ebp - 0x14]
push dword [esi + 0x150]
push 0x1000f
call fcn.00434aed
jmp 0x485827
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x34]
mov dword [eax + 0x1c], ecx
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x34]
push dword [eax + 0x18]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x8c]
push 0x1c
pop ecx
push 0x17
pop eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x90]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
cmp word [ebp - 0x10], bx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
je 0x4858b5
push 1
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp + 0x34]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SetScrollInfo]
cmp word [ebp - 4], bx
je 0x4858d2
push 1
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp + 0x34]
push 1
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov eax, dword [ebp + 0x34]
push ebx
push ebx
push ebx
push ebx
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ScrollWindow]
mov eax, dword [ebp + 0x34]
push ebx
push 6
push 0x115
push dword [eax + 0x18]
mov dword [eax + 0xf8], esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x3c]
call fcn.00439cfd
lea ecx, [ebp - 0x30]
call fcn.00439cfd
lea ecx, [ebp - 0x20]
call fcn.00439cfd
lea ecx, [ebp - 0x34]
call fcn.00439cfd
push 0x4c9c14
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x34