Function at 0x47954c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
lea edi, [ebp - 0x24]
xor eax, eax
push ebp
push 0x479937
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x50], 0xf
jne 0x479921
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x47991a
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x43ec38]
call fcn.00425fcc
mov dword [ebp - 8], eax
mov edx, dword [ebx + 0x30]
mov eax, dword [ebp - 8]
call fcn.004433a4
mov eax, dword [ebx + 0x48]
mov edx, dword [ebp - 8]
call fcn.00475a70
mov edx, edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x68]
call fcn.00425860
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
call fcn.00425868
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x30]
call fcn.00444b08
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00426654
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00426638
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x479614
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x479627
mov edx, 0x479950
mov eax, dword [ebp - 8]
call fcn.00426654
mov esi, eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x70]
mov ecx, 0x3c
mov eax, dword [ebp - 8]
call fcn.00477068
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x70]
mov ecx, 0x3c
mov eax, dword [ebp - 8]
call fcn.004770e8
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
call sub.user32.dll_InflateRect
mov eax, esi
dec eax
add dword [edi + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00425f98
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.00425b9c
mov eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0xc]
push eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.004263a8
mov edx, edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, esi
sar eax, 1
jns 0x4796a9
adc eax, 0
dec eax
add dword [edi + 4], eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.00425b9c
mov edx, dword [edi]
inc edx
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 8]
call fcn.00426340
mov edx, dword [edi]
inc edx
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 8]
call fcn.004262e0
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x1d9], 0
je 0x4796fb
mov eax, dword [ebp - 0xc]
push eax
push 1
mov edx, edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00435b20
jmp 0x47970e
mov eax, dword [ebp - 0xc]
push eax
push 1
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00435b20
mov edx, edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, esi
sar eax, 1
jns 0x479721
adc eax, 0
add eax, dword [edi + 4]
add eax, 2
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00425f98
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x1a4]
call fcn.00425e74
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00425e7c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00425e74
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.00425b9c
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00426268
mov eax, dword [ebx + 0x30]
call fcn.004451dc
test al, al
je 0x47979e
mov eax, dword [ebp - 8]
mov dword [eax + 0x54], 0x80
mov eax, dword [edi + 8]
sub eax, 9
mov dword [ebp - 0x2c], eax
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
jmp 0x4797ac
mov eax, dword [edi]
add eax, 9
mov dword [ebp - 0x34], eax
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x30], eax
add eax, esi
mov dword [ebp - 0x28], eax
push 0
push 0xffffffffffffffff
push edi
call sub.user32.dll_InflateRect
mov eax, dword [edi + 0xc]
mov dword [edi + 4], eax
mov edx, esi
sar edx, 1
jns 0x4797d0
adc edx, 0
add edx, eax
inc edx
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00425f98
mov eax, dword [ebp - 0x34]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00425e7c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.00425e74
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
call fcn.00425b9c
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.00426268
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x3c]
mov dword [edi + 8], eax
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 8]
call fcn.00426340
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004262e0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.00425f98
mov eax, dword [ebx + 0x30]
call fcn.004451dc
test al, al
je 0x479877
mov eax, dword [ebp - 8]
mov dword [eax + 0x54], 0x80
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.00426544
mov edx, edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x44]
sar esi, 1
jns 0x47989e
adc esi, 0
inc esi
add dword [edi + 4], esi
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x1d9], 0
je 0x4798be
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x10]
call fcn.00425b9c
jmp 0x4798cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00425b9c
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [ebp - 8]
call fcn.00426340
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004262e0
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00426340
mov edx, dword [edi + 8]
dec edx
mov ecx, dword [edi + 4]
mov eax, dword [ebp - 8]
call fcn.004262e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479921
mov eax, dword [ebp - 8]
call fcn.00403f40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47993e
lea eax, [ebp - 4]
call fcn.00404d6c
ret