Function at 0xffdd22c
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2a]
push ebx
xor ebx, ebx
cmp word [0xffec71c], bx
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], eax
mov dword [0xffec734], ebx
jne 0xffdd2a4
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push 0xffb2a70
call esi
cmp ax, bx
mov word [0xffec72c], ax
je 0xffdd286
push 0xffb2a5c
call esi
cmp ax, bx
mov word [0xffec71c], ax
jne 0xffdd297
mov dword [0xffec734], 0xc
xor eax, eax
jmp 0xffdd4bb
push 0xffb2a4c
call esi
mov word [0xffec724], ax
mov ecx, dword [ebp + 8]
call fcn.0ffb37a5
mov esi, eax
xor eax, eax
cmp dword [esi], 0x48
je 0xffdd2c4
mov dword [0xffec734], 1
jmp 0xffdd4bb
push edi
push 8
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0xc]
or word [ebp - 0x2c], 0xffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 2
test byte [esi + 0x30], 0x20
je 0xffdd31a
mov eax, dword [esi + 0x40]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0xffdd314
mov dword [0xffec734], 0xb
jmp 0xffdd4ba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x16
pop ecx
xor eax, eax
lea edi, [ebp - 0x84]
rep stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x84]
push eax
call fcn.0ffdcdae
test eax, eax
je 0xffdd392
mov ebx, dword [esi + 0x30]
test bh, 0x20
je 0xffdd348
or ebx, 0x1800
jmp 0xffdd353
test bh, 0x10
je 0xffdd353
or ebx, 0x800
mov ecx, 0x200000
test ecx, ebx
je 0xffdd378
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xc0]
test byte [eax + 0x21], 1
je 0xffdd378
and ebx, 0x1ffff
or ebx, ecx
jmp 0xffdd37e
and ebx, 0x1ffff
push esi
lea eax, [ebp - 0x84]
push eax
mov dword [esi + 0x30], ebx
call fcn.0ffdcb7e
test eax, eax
jne 0xffdd3a1
mov dword [0xffec734], 9
jmp 0xffdd494
mov ebx, dword [esi + 0x30]
push 1
call fcn.0ffb5b33
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x80
push 0x40
lea eax, [ebp - 0x50]
push eax
xor eax, eax
mov ax, word [esi + 6]
push ebx
push dword [esi + 0x44]
xor edi, edi
push edi
push eax
call fcn.0ffdceaa
cmp dword [ebp - 0xc], edi
mov dword [ebp - 0x7c], eax
jne 0xffdd494
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xc0]
lea ecx, [ebp - 0x2c]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x84]
push eax
call dword [ebp + 0xc]
movsx eax, ax
mov dword [ebp - 4], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xc0]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [eax + 0xc], ecx
call fcn.0ffb5b33
mov ecx, dword [ebp + 8]
call fcn.0ffb37a5
cmp dword [ebp - 4], edi
mov esi, eax
je 0xffdd437
push 1
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.0ffdcc4a
jmp 0xffdd494
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
mov ecx, 0x3003
cmp eax, ecx
jne 0xffdd494
mov eax, dword [ebp - 0x68]
cmp eax, edi
mov dword [0xffec734], ecx
je 0xffdd494
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0xffdd494
mov ax, word [eax]
mov word [ebp + 8], ax
call fcn.0ffb37a5
cmp eax, edi
je 0xffdd494
movzx edx, word [ebp + 8]
mov ecx, dword [esi + 0x1c]
cmp edx, ecx
jbe 0xffdd494
cmp ecx, edi
je 0xffdd47e
mov cl, byte [ebp + 8]
mov byte [eax], cl
cmp dword [esi + 0x1c], 1
jbe 0xffdd48a
mov cl, byte [ebp + 9]
mov byte [eax + 1], cl
cmp dword [esi + 0x1c], 2
jbe 0xffdd494
mov byte [eax + 2], 0
mov eax, ebx
and eax, 0x80
push eax
and ebx, 0x40
push ebx
push dword [ebp - 0x7c]
push dword [ebp - 8]
call fcn.0ffdc7f1
lea eax, [ebp - 0x84]
push eax
call fcn.0ffdc5d0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8