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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x46f268
push eax
mov byte [edi + 0xc3], 1
mov dword [esp + 0x34], closesocket
mov dword [esp + 0x30], closesocket
mov dword [esp + 0x1c], closesocket
mov dword [esp + 0x18], closesocket
mov byte [esp + 0x17], 0
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [edi + 0x1c]
mov esi, eax
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_IsIconic]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x46e71f
mov dword [esp + 0x24], 9
jmp 0x46e731
xor edx, edx
test esi, esi
setne dl
lea edx, [edx*4 + 1]
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], ecx
movzx eax, word [ecx]
test ax, ax
je 0x46e818
mov edx, eax
nop word [eax + eax]
movzx esi, dx
test esi, 0xffffff80
je 0x46e75f
xor edx, edx
jmp 0x46e76d
push esi
call fcn.004a5790
mov ecx, dword [ebp + 8]
add esp, 4
mov edx, eax
mov eax, esi
and eax, 0xffffffdf
test edx, edx
cmove eax, esi
add eax, 0xfffffff7
cmp eax, 0x50
ja case.0x46e786.10
movzx eax, byte [eax + 0x46f298]
jmp dword [eax*4 + 0x46f274]
add dword [esp + 0xc], 2
mov esi, dword [ebp + 8]
cmp dword [esp + 0xc], esi
jne 0x46ec30
push 9
mov edx, esi
mov ecx, str.Invalid_option.
call fcn.00430e80
add esp, 4
test eax, eax
je 0x46f268
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
test eax, eax
je 0x46e80c
movzx eax, word [eax]
test ax, ax
je 0x46e80c
mov esi, eax
nop
mov ecx, str.ACMNRXYWH
mov edx, 0x41
nop word [eax + eax]
cmp si, dx
je 0x46ec20
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x46e7e0
mov eax, dword [esp + 0x20]
add eax, 2
mov dword [esp + 0x20], eax
movzx eax, word [eax]
mov esi, eax
test ax, ax
jne 0x46e7d0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x2b], 0
test eax, eax
je 0x46e849
cmp eax, 9
je 0x46e83f
cmp eax, 4
jne 0x46e858
test esi, esi
jne 0x46e849
cmp dword [esp + 0x3c], esi
je 0x46e858
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esp + 0x2b], 1
cmp byte [edi + 0xc1], 0
je 0x46e88a
xor esi, esi
cmp dword [edi + 0x5c], esi
jbe 0x46e88a
nop dword [eax + eax]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x30], 0x13
jne 0x46e884
push eax
mov ecx, edi
call fcn.00472d40
inc esi
cmp esi, dword [edi + 0x5c]
jb 0x46e870
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsIconic]
mov edx, dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
sete byte [esp + 0x37]
test eax, eax
jne 0x46ed42
cmp byte [esp + 0x13], 0
je 0x46ec8d
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x5c], ecx
jbe 0x46ecdd
nop dword [eax + eax]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ecx*4]
cmp byte [eax + 0x30], 0x19
je 0x46ec56
cmp byte [eax + 0x32], 0xff
lea esi, [eax + 0x18]
je 0x46e910
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, dword [edi + 0x1c]
jne 0x46ec50
push 0xfffffffffffffff0
push dword [esi]
call edx
test eax, 0x10000000
je 0x46ec4a
lea eax, [esp + 0x50]
push eax
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
call esi
push 2
lea eax, [esp + 0x54]
push eax
push dword [edi + 0x1c]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x58], ecx
mov edx, dword [sym.imp.USER32.dll_GetWindowLongW]
cmovg ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x5c], ecx
cmovg ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
jmp 0x46ec56
push 8
push str.AutoSize
push ecx
call fcn.0049f8ef
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne case.0x46ebb3.73
add dword [esp + 0xc], 0x10
mov byte [esp + 0x13], 1
jmp case.0x46ebb3.73
push 6
push str.Center
push ecx
call fcn.0049f8ef
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne case.0x46ebb3.73
add dword [esp + 0xc], 0xc
mov dword [esp + 0x30], htonl
mov dword [esp + 0x2c], htonl
jmp case.0x46ebb3.73
push 8
push str.Minimize
push ecx
call fcn.0049f8ef
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x46e9f7
add dword [esp + 0xc], 0x10
mov dword [esp + 0x24], 6
jmp case.0x46ebb3.73
push 8
push str.Maximize
push esi
call fcn.0049f8ef
add esp, 0xc
test eax, eax
jne case.0x46ebb3.73
add dword [esp + 0xc], 0x10
mov dword [esp + 0x24], 3
jmp case.0x46ebb3.73
push 2
push 0x4de630
push ecx
call fcn.0049f8ef
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x46ea4a
add dword [esp + 0xc], 4
mov dword [esp + 0x24], 8
jmp case.0x46ebb3.73
push 0xa
push str.NoActivate
push esi
call fcn.0049f8ef
add esp, 0xc
test eax, eax
jne case.0x46ebb3.73
add dword [esp + 0xc], 0x14
mov dword [esp + 0x24], 4
jmp case.0x46ebb3.73
push 7
push str.Restore
push ecx
call fcn.0049f8ef
mov esi, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne case.0x46ebb3.73
add dword [esp + 0xc], 0xe
mov dword [esp + 0x24], 9
jmp case.0x46ebb3.73
push 6
lea eax, [ecx + 2]
push str.Center
push eax
call fcn.0049f8ef
add esp, 0xc
test eax, eax
jne case.0x46e786.72
mov esi, dword [ebp + 8]
movzx eax, word [esi]
mov esi, eax
test eax, 0xffffff80
je 0x46eacb
xor edx, edx
jmp 0x46ead6
push eax
call fcn.004a5790
add esp, 4
mov edx, eax
mov eax, esi
and eax, 0xffdf
test edx, edx
movzx ecx, ax
mov eax, esi
cmove ecx, eax
cmp cx, 0x58
jne 0x46eaff
add dword [esp + 0xc], 0xe
mov dword [esp + 0x30], htonl
jmp 0x46ec30
add dword [esp + 0xc], 0xe
mov dword [esp + 0x2c], htonl
jmp 0x46ec30
mov esi, dword [ebp + 8]
push 4
push str.Hide
push esi
call fcn.0049f8ef
add esp, 0xc
test eax, eax
jne 0x46eb36
add dword [esp + 0xc], 8
mov dword [esp + 0x24], eax
jmp 0x46ec30
lea eax, [esp + 0xc]
add esi, 2
push eax
push esi
call fcn.004aa9b1
fstp qword [esp + 0x68]
cvttsd2si ecx, qword [esp + 0x68]
add esp, 8
cmp dword [esp + 0xc], esi
mov esi, dword [ebp + 8]
jne 0x46eb63
mov dword [esp + 0xc], esi
jmp 0x46e79f
movzx edx, word [esi]
mov dword [esp + 0x38], edx
test edx, 0xffffff80
je 0x46eb7c
mov dword [esp + 0x20], 0
jmp 0x46eb93
push edx
call fcn.004a5790
cvttsd2si ecx, qword [esp + 0x64]
mov edx, dword [esp + 0x3c]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, edx
and eax, 0xffffffdf
cmp dword [esp + 0x20], 0
cmove eax, edx
add eax, 0xffffffb8
cmp eax, 0x11
ja case.0x46ebb3.73
movzx eax, byte [eax + 0x46f300]
jmp dword [eax*4 + 0x46f2ec]
mov dword [esp + 0x30], ecx
jmp case.0x46ebb3.73
mov dword [esp + 0x2c], ecx
jmp case.0x46ebb3.73
cmp byte [edi + 0xc6], 0
je 0x46ebed
push 0x60
push dword [0x4eb0e0]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x18], eax
jmp case.0x46ebb3.73
mov dword [esp + 0x18], ecx
jmp case.0x46ebb3.73
cmp byte [edi + 0xc6], 0
je 0x46ec17
push 0x60
push dword [0x4eb0e0]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x14], eax
jmp case.0x46ebb3.73
mov dword [esp + 0x14], ecx
jmp case.0x46ebb3.73
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
test eax, eax
je 0x46e814
mov ecx, dword [esp + 0xc]
mov dword [ebp + 8], ecx
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x46e750
jmp 0x46e814
mov edx, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
inc eax
mov ecx, eax
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x5c]
jb 0x46e8e0
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x46ec79
add eax, dword [edi + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x46ecdd
add eax, dword [edi + 0x80]
mov dword [esp + 0x14], eax
jmp 0x46ecdd
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, 0x80000000
je 0x46eca8
cmp ecx, 0x80000000
jne 0x46ed42
cmp byte [edi + 0xc1], 0
je 0x46ed08
cmp eax, 0x80000000
jne 0x46ecc5
mov eax, dword [edi + 0x94]
add eax, dword [edi + 0x7c]
mov dword [esp + 0x18], eax
cmp ecx, 0x80000000
jne 0x46ed42
mov ecx, dword [edi + 0x98]
add ecx, dword [edi + 0x80]
mov dword [esp + 0x14], ecx
mov eax, dword [edi + 0x24]
test eax, eax
je 0x46ed42
push 0xfffffffffffffff0
push eax
call edx
test eax, 0x10000000
je 0x46ed42
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x24]
call esi
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
add dword [esp + 0x14], eax
jmp 0x46ed42
lea eax, [esp + 0x50]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esp + 0x18], 0x80000000
jne 0x46ed2c
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], 0x80000000
jne 0x46ed42
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
cmp byte [edi + 0xc1], 0
je 0x46eda1
cmp byte [edi + 0xbc], 0
je 0x46ed7c
xor esi, esi
cmp dword [edi + 0x5c], esi
jbe 0x46ed7c
nop dword [eax + eax]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x30], 0x13
jne 0x46ed76
push 0
push eax
mov ecx, edi
call fcn.00472660
inc esi
cmp esi, dword [edi + 0x5c]
jb 0x46ed60
mov eax, dword [esp + 0x30]
mov ecx, closesocket
cmp eax, 0x80000000
cmove eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
cmove eax, ecx
mov dword [esp + 0x2c], eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [esp + 0x37], 0
mov dword [esp + 0x60], eax
je 0x46f0e0
mov eax, dword [esp + 0x18]
push 0xfffffffffffffff0
push dword [edi + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi + 0x1c]
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetMenu]
neg eax
push 0xffffffffffffffec
push dword [edi + 0x1c]
sbb esi, esi
neg esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push esi
push dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, 0x100000
je 0x46ee36
push 3
call ecx
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, 0x200000
je 0x46ee45
push 2
call ecx
add dword [esp + 0x48], eax
test esi, esi
je 0x46ee84
movaps xmm0, xmmword [esp + 0x40]
lea eax, [esp + 0x90]
push eax
push 0
push 0x83
push dword [edi + 0x1c]
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0xac], 0x7fff
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x94]
add dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x44]
mov dword [esp + 0xc], eax
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, esi
sub eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x28]
test eax, eax
je 0x46eed1
test dword [esp + 0x1c], 0x40000000
je 0x46eed1
lea ecx, [esp + 0x80]
mov byte [esp + 0x13], 1
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x46eeea
push 0
lea eax, [esp + 0x84]
mov byte [esp + 0x17], 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
cmp byte [edi + 0xc1], 0
mov dword [esp + 0x3c], ecx
je 0x46ef44
cmp byte [esp + 0x13], 0
jne 0x46ef44
cmp dword [esp + 0x38], 0x80000000
jne 0x46ef35
mov ecx, dword [esp + 0xc]
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x7c], 0x80000000
jne 0x46ef44
cmp esi, ecx
cmovg esi, ecx
cmp dword [esp + 0x30], 0x80000001
jne 0x46ef62
sub eax, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x2c], 0x80000001
jne 0x46ef80
sub ecx, esi
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
sub edx, ecx
sub eax, dword [esp + 0x70]
cmp byte [edi + 0xc1], 0
mov dword [esp + 0x20], eax
je 0x46f059
mov eax, dword [edi + 0xac]
mov ecx, dword [esp + 0xc]
cmp eax, 0x80000001
jne 0x46efca
mov dword [edi + 0xac], ecx
jmp 0x46efdb
cmp eax, 0x80000000
je 0x46efdb
add eax, dword [esp + 0x18]
mov dword [edi + 0xac], eax
mov eax, dword [edi + 0xb0]
cmp eax, 0x80000001
jne 0x46eff0
mov dword [edi + 0xb0], esi
jmp 0x46f005
cmp eax, 0x80000000
je 0x46f005
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0xb0], eax
mov eax, dword [edi + 0xb4]
cmp eax, 0x80000001
jne 0x46f01a
mov dword [edi + 0xb4], ecx
jmp 0x46f02b
cmp eax, 0x80000000
je 0x46f02b
add eax, dword [esp + 0x18]
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
cmp eax, 0x80000001
jne 0x46f040
mov dword [edi + 0xb8], esi
jmp 0x46f051
cmp eax, 0x80000000
je 0x46f051
add eax, dword [esp + 0x14]
mov dword [edi + 0xb8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
cmp dword [esp + 0xc], edx
jne 0x46f083
cmp esi, eax
jne 0x46f083
mov eax, dword [esp + 0x30]
cmp eax, 0x80000000
je 0x46f072
cmp eax, ecx
jne 0x46f083
mov eax, dword [esp + 0x2c]
cmp eax, 0x80000000
je 0x46f0e0
cmp eax, dword [esp + 0x70]
je 0x46f0e0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x46f09b
push 9
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esp + 0x13], 0
je 0x46f0b0
lea eax, [esp + 0x6c]
push eax
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x60]
mov eax, dword [esp + 0x30]
cmp eax, 0x80000000
push esi
push dword [esp + 0x14]
cmove eax, dword [esp + 0x7c]
push eax
mov eax, dword [esp + 0x40]
cmp eax, 0x80000000
cmove eax, dword [esp + 0x7c]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x2b], 0
jne 0x46f118
mov eax, dword [esp + 0x24]
cmp eax, 6
jne 0x46f10e
mov esi, dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, esi
jne 0x46f10a
push 0
push 0
push 6
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
mov eax, dword [esp + 0x24]
push eax
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
cmp al, byte [edi + 0xc9]
je 0x46f143
mov ecx, dword [edi]
mov byte [edi + 0xc9], al
push edi
test al, al
je 0x46f140
call dword [ecx + 4]
jmp 0x46f143
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
dec eax
cmp eax, 8
ja case.0x46f158.2
movzx eax, byte [eax + 0x46f31c]
jmp dword [eax*4 + 0x46f314]
push 2
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetAncestor]
cmp eax, dword [edi + 0x1c]
jne case.0x46f158.2
mov esi, dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp esi, eax
je 0x46f187
mov ecx, esi
call fcn.004865f0
cmp byte [edi + 0xc2], 0
je case.0x46f158.2
mov byte [edi + 0xc2], 0
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46f237
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
cmp esi, dword [edi + 0x5c]
jb 0x46f1d8
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46f1dc
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea esi, [eax - 3]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0x5c]
cmp esi, edx
jae case.0x46f158.2
mov ecx, dword [edi + 0x2c]
mov ecx, dword [ecx + esi*4]
mov dword [esp + 0x60], ecx
cmp dword [ecx + 0x18], eax
jne case.0x46f158.2
cmp esi, 0x2af8
je case.0x46f158.2
test ecx, ecx
je case.0x46f158.2
mov al, byte [ecx + 0x30]
cmp al, 0x13
jne 0x46f21d
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push dword [esp + 0x64]
mov ecx, edi
call fcn.00472660
jmp case.0x46f158.2
cmp al, 4
jne case.0x46f158.2
mov eax, dword [edi + 0x64]
cmp eax, edx
jae case.0x46f158.2
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + eax*4]
cmp eax, ecx
je case.0x46f158.2
push dword [eax + 0x18]
jmp 0x46f23a
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, 1
mov byte [edi + 0xc1], 0
or ecx, 0xffffffff
mov byte [edi + 0xc3], 0
call fcn.004015c0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4