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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aaf70
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
cmp byte [0x5fdb96], 0
jne 0x423f90
call fcn.004c86d0
mov dword [esp + 0x28], eax
mov byte [eax + 0x3d], 1
mov eax, dword [esp + 0x28]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x28]
mov dword [eax], eax
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x78], edi
cmp dword [0x5fe5d0], edi
jne 0x423d29
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x7c], 1
call fcn.004d65f0
mov eax, dword [esp + 0x38]
add esp, 4
cmp eax, edi
mov dword [esp + 0x10], edi
jbe 0x423ce6
mov dword [esp + 0x14], edi
cmp dword [esp + 0x10], eax
jae 0x423d1f
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x40]
lea edi, [edx + ecx]
push eax
call fcn.00423fb0
mov bl, 2
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.00403ce0
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x78], 3
mov eax, dword [edi - 0xc]
test eax, eax
je 0x423c79
jl 0x423d1f
movzx eax, word [edi]
cmp ax, 0x4c
je 0x423c9a
cmp dword [esp + 0x60], 0
je 0x423c9a
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.004260a0
lea ebx, [esp + 0x40]
mov esi, eax
call fcn.00423b20
mov bl, 2
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x78], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423cba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x40]
mov byte [esp + 0x78], 1
call fcn.0046dd80
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], 0x2c
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x10], ecx
jb 0x423c26
xor edi, edi
mov byte [esp + 0x78], 0
mov esi, dword [esp + 0x30]
cmp esi, edi
je 0x423e38
cmp eax, edi
jbe 0x423d11
mov edi, eax
lea ecx, [ecx]
call fcn.0046dd80
add esi, 0x2c
sub edi, 1
jne 0x423d00
mov esi, dword [esp + 0x30]
push esi
call fcn.0057876f
add esp, 4
jmp 0x423e38
push 0x80070057
call fcn.00404550
mov ecx, dword [ebp + 8]
push 0x4e2
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [0x5f9468], edi
jne 0x423d45
mov dword [0x5f9468], eax
mov eax, dword [0x5fff48]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x14], esi
jbe 0x423e38
mov dword [esp + 0x10], edi
jmp 0x423d64
mov esi, dword [esp + 0x14]
cmp esi, eax
jae 0x423d1f
mov edx, dword [0x5fff44]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
lea edi, [eax + edx]
push ecx
call fcn.00423fb0
mov bl, 4
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.00403ce0
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x78], 5
mov eax, dword [edi - 0xc]
test eax, eax
je 0x423db3
jl 0x423d1f
movzx eax, word [edi]
cmp ax, 0x4c
je 0x423ded
mov ecx, dword [0x5f9468]
push 0xf000
push esi
push 0x102c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xc
sub eax, 1
je 0x423ded
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.004260a0
lea ebx, [esp + 0x40]
mov esi, eax
call fcn.00423b20
mov bl, 4
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x78], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423e0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x40]
mov byte [esp + 0x78], 0
call fcn.0046dd80
mov ecx, dword [esp + 0x14]
mov eax, dword [0x5fff48]
add dword [esp + 0x10], 0x2c
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x14], ecx
jb 0x423d60
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [0x5fff5c]
lea edi, [esp + 0x24]
je 0x423e8f
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x28]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x2c]
push edx
call fcn.00426570
mov eax, dword [esp + 0x28]
push eax
call fcn.00578327
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [0x5fff58]
mov ecx, dword [eax]
mov esi, 0x5fff54
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
test edi, edi
mov ebx, dword [esp + 0x28]
je 0x423ec1
lea edx, [esp + 0x24]
cmp edi, edx
je 0x423ec6
call fcn.00578ff3
cmp dword [esp + 0x18], ebx
je 0x423f5b
test esi, esi
mov ebx, dword [0x5fff58]
je 0x423ee2
cmp esi, 0x5fff54
je 0x423ee7
call fcn.00578ff3
cmp dword [esp + 0x20], ebx
je 0x423f5b
test esi, esi
jne 0x423ef6
call fcn.00578ff3
mov eax, dword [esp + 0x20]
cmp eax, dword [esi + 4]
jne 0x423f04
call fcn.00578ff3
test edi, edi
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0xc]
jne 0x423f14
call fcn.00578ff3
mov ebx, dword [esp + 0x18]
cmp ebx, dword [edi + 4]
jne 0x423f22
call fcn.00578ff3
mov eax, dword [ebx + 0xc]
push esi
push eax
call fcn.00579288
add esp, 8
test eax, eax
jne 0x423f52
lea esi, [esp + 0x14]
call fcn.004c8610
lea esi, [esp + 0x1c]
call fcn.004c8610
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x423eb1
lea edi, [esp + 0x24]
jmp 0x423e48
mov dword [esp + 0x78], 0xffffffff
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
push esi
lea eax, [esp + 0x28]
push eax
mov edx, eax
push ecx
push edx
lea edx, [esp + 0x2c]
push edx
mov edi, eax
call fcn.00426570
mov eax, dword [esp + 0x28]
push eax
call fcn.00578327
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret