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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acb9e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
lea esi, [edi + 0x20]
mov dword [ebp - 0x24], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x24], vtable.view::NativeTextfieldWrapper.0
mov dword [edi + 0x28], vtable.ui::SimpleMenuModel::Delegate.0
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi], vtable.view::NativeTextfieldWin.2.0
mov dword [edi + 0x24], vtable.view::NativeTextfieldWin.0
mov dword [edi + 0x28], vtable.view::NativeTextfieldWin.1.0
mov byte [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [edi + 0x40], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 7
mov word [edi + 0x44], ax
mov byte [edi + 0x5c], al
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov byte [ebp - 4], 6
push 0xa0
mov byte [edi + 0x7c], al
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
call fcn.00550175
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
call fcn.004e1350
cmp byte [0x61a72f], 0
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], 0
jne 0x521c12
push 0x5dde24
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
setne byte [0x61a72f]
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0x8c]
and ecx, 1
add ecx, 0x2b00004
shl ecx, 5
mov ebx, ecx
or ebx, 0x800
cmp byte [eax + 0xac], 0
cmove ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
and eax, 0x3ff
dec eax
cmp eax, 0x5f
ja case.0x521c51.2
movzx eax, byte [eax + 0x521e9c]
jmp dword [eax*4 + 0x521e94]
mov al, 1
jmp 0x521c5e
xor al, al
xor edx, edx
mov ecx, 0x402000
test al, al
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
cmove ecx, edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x6119e0]
mov edx, str.RichEdit20W
push dword [ebp - 0x34]
test ecx, ecx
mov dword [ebp - 0x30], eax
push esi
cmovne edx, ecx
push 0x6119b0
mov dword [0x6119e0], edx
call fcn.005247e0
movzx eax, ax
add esp, 0xc
test ebx, ebx
mov dword [ebp - 0x28], eax
mov eax, 0x56000000
cmove ebx, eax
xor esi, esi
cmp dword [edi + 0x14], esi
jne 0x521d56
call fcn.0059428d
mov dword [edi + 0x14], eax
test eax, eax
jne 0x521d56
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi + 0x2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [eax + 0x8c]
test al, 4
je 0x521e14
cmp dword [0x61a268], 1
jne 0x521de6
cmp dword [0x61a250], 3
jg 0x521de6
test al, 1
je 0x521de6
push 3
push 0x81
push str.f:my_lab_tabexplorerextab_masterlibrary_viewcontrols_textfield_native_textfield_win.cpp
lea ecx, [ebp - 0xe4]
call fcn.0046c100
mov byte [ebp - 4], 7
lea ecx, [eax + 8]
mov ebx, 1
mov edx, str.Check_failed:__textfield___style____Textfield::STYLE_PASSWORD___0.
mov dword [ebp - 0x24], ebx
call fcn.00403840
jmp 0x521de9
push 0
push 0
push dword [edi + 0x14]
call fcn.0059438f
cmp word [ebp - 0x28], si
je 0x521ce8
lea eax, [edi + 8]
test eax, eax
je 0x521e86
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x611b34
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x611b4c]
lea ecx, [edi + 8]
mov dword [ecx + 8], eax
push 0x611b34
mov dword [0x611b4c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
test ebx, 0x40000000
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmovne esi, edi
push 0
push dword [0x61927c]
sub eax, edx
push esi
push dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
mov eax, dword [ebp - 0x28]
push edx
push ecx
push ebx
push 0
movzx eax, ax
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
jmp 0x521ce8
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 4], 6
test bl, 1
je 0x521e00
lea ecx, [ebp - 0xe4]
call fcn.0046c520
push 0x400
push 0x400
push 0x4cc
push dword [edi + 4]
call esi
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push 0
push 0x43c
push dword [edi + 4]
mov dword [ebp - 0x28], 0
call esi
push dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00524610
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x521e51
push esi
lea ecx, [edi + 0x78]
call fcn.005246b0
mov ecx, edi
call fcn.00522e50
mov byte [ebp - 4], 9
test esi, esi
je 0x521e66
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 4
push 1
push 0xc0000005
call fcn.004024d0
nop
pop eax
sbb al, 82
add byte [esp + ebx + 0x52], bl
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3