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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d1dc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x68]
call fcn.00534464
test eax, eax
je 0x4d1da8
mov eax, dword [ebx + 0x68]
call fcn.00534464
mov esi, eax
mov eax, dword [ebp - 8]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x98]
mov eax, esi
call fcn.0052666c
test al, al
je 0x4d1c2f
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x98]
mov ecx, 0x4d1de0
mov eax, esi
call fcn.0052bcd8
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00526648
test al, al
je 0x4d1a63
mov eax, ebx
call fcn.004d2108
test al, al
je 0x4d1a32
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78b0]
lea eax, [edx + eax*4]
push eax
push 0
push 1
lea edx, [ebp - 0x60]
lea eax, [ebx + 0x3c]
call fcn.0051eda8
lea edx, [ebp - 0x60]
mov ecx, dword [0x555a78]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.0053864c
jmp 0x4d1c2f
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78b0]
lea eax, [edx + eax*4]
push eax
push 0
push 1
mov ecx, dword [0x555a78]
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.0053864c
jmp 0x4d1c2f
mov eax, ebx
call fcn.004d2108
test al, al
jne 0x4d1c2f
mov eax, ebx
call fcn.004d1fb8
dec eax
cmp edi, eax
je 0x4d1c2f
mov eax, dword [esi + 0x78dc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.0052666c
test al, al
je 0x4d1c2f
mov ecx, 0x4d1e0c
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.0052bcd8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00526648
test al, al
je 0x4d1c2f
mov eax, dword [ebp - 0x18]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [esi + 0x78b0]
movsx edx, word [edx + eax*4 + 0x2c]
mov eax, dword [ebp - 0x18]
mov ecx, eax
shl eax, 4
add eax, ecx
mov ecx, dword [esi + 0x78b0]
movsx eax, word [ecx + eax*4 + 0x30]
add edx, eax
mov eax, 2
call fcn.00409e38
mov edx, dword [ebx + 0x40]
sub edx, 2
call fcn.004e18e0
mov dword [ebp - 0x10], eax
push 0xcc0020
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00435dc4
call fcn.00431368
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00435dc4
call fcn.00431368
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.0051f568
push 0
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
xor ecx, ecx
pop edx
call fcn.0051ed44
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
pop edx
sub eax, edx
lea ecx, [ebp - 0x68]
mov edx, 1
call fcn.00408418
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x68]
call fcn.00534464
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x50]
mov cl, 1
mov eax, dword [ebp - 0x14]
call fcn.004daf34
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.00435dc4
call fcn.00431368
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00435dc4
call fcn.00431368
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x10]
call fcn.004128f0
mov esi, dword [ebx + 0x78]
test esi, esi
je 0x4d1cf6
mov eax, dword [esi + 0x260]
call fcn.004208a8
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.0051ec08
test al, al
je 0x4d1cf6
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x260]
mov edx, edi
call fcn.0044a56c
cmp byte [eax + 0x18], 1
jne 0x4d1cf6
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x78]
call fcn.0044a6c4
cmp word [ebp - 0x66], 0
je 0x4d1cf6
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x264]
call fcn.00431368
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00435dc4
call fcn.00431368
mov edx, eax
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x264]
call fcn.004313f0
mov eax, dword [ebp - 8]
push eax
mov esi, dword [ebx + 0x78]
mov eax, dword [esi + 0x260]
mov edx, edi
call fcn.0044a56c
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x78]
call fcn.0044a6c4
lea edi, [ebp - 0x68]
mov edx, esi
pop ecx
mov eax, dword [edi + 4]
call dword [edi]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x264]
mov edx, dword [ebp - 0xc]
call fcn.004313f0
jmp 0x4d1da8
dec dword [ebp - 0x20]
add dword [ebp - 0x2c], 2
sub dword [ebp - 0x24], 4
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.004d1fc8
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.0051ee80
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.00435dc4
mov edx, dword [ebp - 4]
pop ecx
call fcn.004dcf10
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 4]
call fcn.004058c8
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x4d1da8
mov esi, eax
cmp byte [esi + 0x26c], 0
jne 0x4d1d90
mov eax, dword [esi + 0x260]
call fcn.004208a8
mov edx, eax
xor ecx, ecx
mov eax, edi
call fcn.0051ec08
test al, al
je 0x4d1d90
mov eax, dword [esi + 0x260]
mov edx, edi
call fcn.0044a56c
movzx edx, byte [eax + 0x14]
mov eax, dword [ebx + 0x78]
call fcn.004e8f14
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d18b4
jmp 0x4d1da8
xor edx, edx
mov eax, dword [ebx + 0x78]
call fcn.004e8f14
push eax
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004d18b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1dcd
lea eax, [ebp - 0x6c]
call fcn.00405864
lea eax, [ebp - 4]
call fcn.00405864
ret