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

Disassembly:
push 0xffffffffffffffff
push 0x55ae30
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
call fcn.00401410
mov dword [esp + 0x94], ebp
mov al, byte [edi + 0x1d8]
mov dword [esp + 0x1c], 0x120
cmp al, 0xff
jne 0x4bd421
mov ecx, edi
call fcn.004e328f
and al, 0xf
mov ecx, edi
mov byte [esp + 0x1b], al
call fcn.004e328f
mov esi, eax
mov al, byte [edi + 0x1d8]
cmp al, 0xff
jne 0x4bd441
mov ecx, edi
call fcn.004e328f
and al, 0xf
cmp al, 1
jbe 0x4bd4e8
cmp al, 0xb
je 0x4bd4e8
test esi, 0x1000
jne 0x4bd4e8
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x9c]
movzx ecx, byte [edx + 0x58b1c8]
push eax
push edi
lea ebx, [esp + 0x58]
mov dword [esp + 0x38], ebp
call fcn.004bd120
xor ebp, ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004e14c7
call fcn.004bd030
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
call fcn.004e328f
mov ecx, edi
test al, al
jns 0x4bd562
push ebp
push ebp
push 0xf6
call fcn.004183f0
mov dword [esp + 0x34], eax
cmp eax, ebp
je 0x4bd9cf
lea edx, [esp + 0x70]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
jmp 0x4bd617
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 1
call fcn.00401410
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x98], 1
call fcn.004e14c7
lea ecx, [esp + 0x38]
call fcn.004139f0
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.0040fe90
call fcn.004bd030
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x140]
mov eax, ecx
mov eax, dword [eax + 0x13c]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 0
call fcn.00407f90
jmp 0x4bd481
call fcn.004e328f
test al, 0x40
je 0x4bd597
push ebp
push 1
push 0xf6
mov ecx, edi
call fcn.004183f0
mov ecx, eax
mov dword [esp + 0x34], ecx
cmp ecx, ebp
je 0x4bd9cf
lea esi, [esp + 0x2c]
lea eax, [esp + 0x24]
call fcn.004b41a0
jmp 0x4bd613
lea ecx, [esp + 0x28]
call fcn.00401320
test al, al
jne 0x4bd9cf
mov ecx, edi
call fcn.004e328f
test eax, 0x2000
je 0x4bd5be
mov dword [esp + 0x1c], 0x2110
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
push ebp
push ecx
push ebp
push ebp
lea ecx, [esp + 0x50]
call fcn.00410170
mov edx, dword [esp + 0x1c]
or edx, 0x400
push edx
lea ecx, [esp + 0x44]
call fcn.004139f0
mov ecx, dword [esp + 0xa0]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00415fb0
lea ecx, [esp + 0x40]
call fcn.00415ef0
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], eax
call fcn.0040fe70
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4bd660
mov ecx, edi
call fcn.004e328f
test eax, 0x2000
jne 0x4bd660
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x134]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, ebx
and eax, 0x300
cmp eax, 0x100
je 0x4bd6c3
cmp eax, 0x200
je 0x4bd68f
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x58]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
or dword [esp + 0x1c], 1
jmp 0x4bd6dd
test esi, esi
je 0x4bd6b0
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x134]
mov ebx, dword [esp + 0x58]
sub ebx, eax
sub ebx, dword [esp + 0x24]
or dword [esp + 0x1c], 2
jmp 0x4bd6dd
mov ebx, dword [esp + 0x58]
xor eax, eax
sub ebx, eax
sub ebx, dword [esp + 0x24]
or dword [esp + 0x1c], 2
jmp 0x4bd6dd
test esi, esi
je 0x4bd6d5
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ecx + 0x134]
jmp 0x4bd6d7
xor ebx, ebx
mov edx, dword [esp + 0x50]
add ebx, edx
mov eax, dword [esp + 0x38]
and eax, 0xc00
cmp eax, 0x400
je 0x4bd73f
cmp eax, 0x800
je 0x4bd70c
mov eax, dword [esp + 0x5c]
sub eax, ebp
add eax, dword [esp + 0x54]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
or dword [esp + 0x1c], 4
jmp 0x4bd75c
cmp dword [esp + 0x30], 0
je 0x4bd72e
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x138]
mov esi, dword [esp + 0x5c]
sub esi, eax
sub esi, ebp
or dword [esp + 0x1c], 8
jmp 0x4bd75c
mov esi, dword [esp + 0x5c]
xor eax, eax
sub esi, eax
sub esi, ebp
or dword [esp + 0x1c], 8
jmp 0x4bd75c
cmp dword [esp + 0x30], 0
je 0x4bd754
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x38]
mov esi, dword [eax + 0x138]
jmp 0x4bd756
xor esi, esi
mov ecx, dword [esp + 0x54]
add esi, ecx
mov ecx, edi
call fcn.004e328f
test al, al
jns 0x4bd7bd
mov edx, dword [esp + 0x24]
push ebp
push edx
lea ecx, [esp + 0x24]
call fcn.0040fcd0
mov ebp, dword [eax]
mov eax, dword [eax + 4]
push esi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.0040fcd0
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push 4
push edx
push ebp
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
push 0
push eax
push 0
push 0
push edx
call fcn.00418470
mov ebp, dword [esp + 0x2c]
jmp 0x4bd8ac
mov ecx, edi
call fcn.004e328f
test al, 0x40
je 0x4bd811
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x48]
call fcn.0040fcd0
push esi
push ebx
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.0040fcd0
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
push 0
push 0
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push eax
call fcn.004184b0
mov ebp, dword [esp + 0x2c]
jmp 0x4bd8ac
cmp byte [esp + 0x1b], 8
je 0x4bd8ac
push 0
push 0
push 0x129
mov ecx, edi
call fcn.004183f0
test al, 2
je 0x4bd838
or dword [esp + 0x1c], 0x100000
mov ecx, edi
call fcn.004e32a9
test eax, 0x2000
je 0x4bd84e
or dword [esp + 0x1c], 0x20000
mov ecx, edi
call fcn.004e328f
test eax, 0x2000
je 0x4bd88c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
or eax, 0x100
push eax
lea ecx, [esi + ebp]
push ecx
lea eax, [ebx + edx]
push eax
push esi
push ebx
lea ecx, [esp + 0x54]
call fcn.00410170
mov ecx, eax
call fcn.004139f0
push eax
lea ecx, [esp + 0x30]
push ecx
jmp 0x4bd8a0
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x64]
call fcn.004139f0
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, dword [esp + 0xa8]
call fcn.00415fb0
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [edi + 0x20]
jne 0x4bd9cf
push 0
push 0
push 0x129
mov ecx, edi
call fcn.004183f0
test al, 1
jne 0x4bd9cf
cmp dword [esp + 0x30], 0
jne 0x4bd979
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.0040fe90
cmp byte [esp + 0x1b], 8
jne 0x4bd906
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x4bd99c
mov edi, dword [edi + 0x58]
mov ecx, dword [edi + 0x38]
sub esi, dword [ecx + 0x138]
mov eax, dword [esp + 0x44]
cmp eax, esi
jle 0x4bd91c
mov esi, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], esi
mov edx, dword [edi + 0x38]
mov eax, dword [edx + 0x140]
add eax, esi
add eax, ebp
cmp ecx, eax
mov dword [esp + 0x5c], ecx
jl 0x4bd93d
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + 0x38]
sub ebx, dword [ecx + 0x134]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jle 0x4bd950
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ebx
mov edx, dword [edi + 0x38]
mov eax, dword [edx + 0x13c]
add eax, ebx
add eax, ecx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jge 0x4bd973
mov dword [esp + 0x58], ecx
jmp 0x4bd99c
mov dword [esp + 0x58], eax
jmp 0x4bd99c
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x134]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x9c]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0xffffff
mov ecx, esi
call eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00410b40
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea ecx, [esp + 0x28]
call fcn.00407f90
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4