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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e6138
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push 0x130b
push dword [edi + 0x10]
mov bh, 1
mov byte [esp + 0x27], 0
mov bl, bh
mov byte [esp + 0x28], 0
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi - 0x20]
call fcn.0047ca60
mov dword [esp + 0x78], 0
mov eax, dword [edi + 0xfc]
mov esi, dword [eax]
cmp esi, eax
je 0x479ef7
nop
cmp byte [esi + 0xb8], 0
jne 0x479e7a
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x48]
cmp eax, dword [esp + 0x2c]
jne 0x479e76
cmp dword [esp + 0x30], 8
lea edx, [esp + 0x1c]
cmovae edx, dword [esp + 0x1c]
cmp dword [ecx + 0x14], 8
jb 0x479e6b
mov ecx, dword [ecx]
call fcn.00495370
test al, al
je 0x479e76
xor bh, bh
xor bl, bl
jmp 0x479e7f
mov byte [esp + 0x17], 1
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
jb 0x479e8a
mov ecx, dword [ecx]
mov edx, 0x4fde0c
call fcn.00495370
test al, al
je 0x479ea2
mov al, byte [esi + 0xb8]
mov byte [esp + 0x18], al
cmp byte [esi + 0xd], 0
jne 0x479ee7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x479ecc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x479ee7
jmp 0x479ec0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x479ec0
jmp 0x479ee7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x479ee5
cmp esi, dword [eax + 8]
jne 0x479ee5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x479ed5
mov esi, eax
cmp esi, dword [edi + 0xfc]
jne 0x479e40
test bh, bh
je 0x479f5e
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov edx, 0x4fde1c
cmovae ecx, dword [esp + 0x1c]
call fcn.00495370
test al, al
je 0x479f2e
cmp byte [edi + 0x104], 0
je 0x479f5c
cmp byte [edi + 0x105], 0
je 0x479f5c
cmp byte [edi + 0x106], 0
je 0x479f5c
cmp dword [esp + 0x30], 8
lea ecx, [esp + 0x1c]
mov edx, 0x4fde28
cmovae ecx, dword [esp + 0x1c]
call fcn.00495370
test al, al
je 0x479f5e
cmp byte [edi + 0x107], 0
je 0x479f5c
cmp byte [edi + 0x108], 0
jne 0x479f5e
xor bh, bh
test bl, bl
je 0x479f91
cmp byte [edi + 0x104], 0
je 0x479f8f
cmp byte [edi + 0x105], 0
je 0x479f8f
cmp byte [edi + 0x106], 0
je 0x479f8f
cmp byte [edi + 0x107], 0
je 0x479f8f
cmp byte [edi + 0x108], 0
jne 0x479f91
xor bh, bh
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ef
push dword [edi - 0x1c]
call esi
xor ecx, ecx
test bh, bh
push 0
setne cl
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3f0
push dword [edi - 0x1c]
call esi
xor ecx, ecx
test bl, bl
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
setne cl
push ecx
push 0xf1
push eax
call ebx
push 0x3f4
push dword [edi - 0x1c]
call esi
xor ecx, ecx
cmp byte [esp + 0x17], cl
setne cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x1004
push dword [edi + 0xe4]
call ebx
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x47a06c
lea ecx, [ecx]
push 0x30
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.004cb700
add esp, 0xc
mov dword [esp + 0x38], esi
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 4
push eax
push 0
push 0x104b
push dword [edi + 0xe4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [esp + 0x54]
test ecx, ecx
je 0x47a058
cmp dword [ecx + 0x20], 0
jne 0x47a05f
inc esi
cmp esi, ebx
jl 0x47a010
jmp 0x47a06c
push ecx
push dword [esp + 0x1c]
mov ecx, dword [ecx + 0x20]
call fcn.00477dd0
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x47a087
push dword [esp + 0x1c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004c4eaf
mov esp, ebp
pop ebp
ret