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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f9c30
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
lea ebx, [esi + 0x124]
push ebx
lea ecx, [esi + 0x3c]
call fcn.0041ef30
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x147
push dword [esi + 0xc]
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x98]
mov edx, 0x5026ac
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov ecx, dword [ecx + 0xc]
call fcn.004119a0
test al, al
je 0x4d6df0
mov ebx, dword [ebx + 4]
xor ecx, ecx
test ebx, ebx
je 0x4d6d54
mov edx, dword [esi + 0x124]
jmp 0x4d6d40
movzx eax, word [edx]
add eax, 0xffffffe0
cmp ax, 0x5f
ja 0x4d6da9
inc ecx
add edx, 2
cmp ecx, ebx
jb 0x4d6d40
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov ecx, esi
push eax
movq qword [esp + 0x28], xmm0
call fcn.004d86a0
push 0x506c80
lea ecx, [esp + 0x28]
mov dword [esp + 0x94], 0
call fcn.004118e0
test al, al
je 0x4d6dd3
cmp dword [esi + 0x128], 0x63
jbe 0x4d6dd3
mov ecx, dword [esi + 4]
mov edx, 0xede
call fcn.00489390
jmp 0x4d76e4
mov esi, dword [esi + 4]
lea ecx, [esp + 0x30]
mov edx, 0xedd
call fcn.004a1ed0
push 0x10
push 0x502ee0
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x30]
jmp 0x4d76f3
mov dword [esp + 0x90], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
lea ebx, [esi + 0x124]
mov eax, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0xedb
push dword [esi + 4]
call eax
cmp eax, 1
je 0x4d6ecd
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x24], xmm0
push 8
mov dword [esp + 0x28], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4d6e42
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 3
mov word [eax], cx
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 1
push eax
lea ecx, [esi + 0x40]
call fcn.0041ef30
mov eax, dword [ebx + 4]
cmp dword [esp + 0x28], eax
jne 0x4d6f0e
mov eax, dword [ebx]
mov ecx, dword [esp + 0x24]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4d6eac
test dx, dx
je 0x4d6ea8
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4d6eac
add ecx, 4
add eax, 4
test dx, dx
jne 0x4d6e86
xor eax, eax
jmp 0x4d6eb1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d6f0e
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x24]
push eax
call fcn.004df97b
add esp, 4
mov ecx, esi
call fcn.004d9ea0
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x24], xmm0
push 8
mov dword [esp + 0x28], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4d6f50
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
mov esi, dword [esi + 4]
lea ecx, [esp + 0x30]
mov edx, 0xedc
call fcn.004a1ed0
push 0x10
push 0x502ee0
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x30]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x24]
push eax
jmp 0x4d76f3
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 3
mov word [eax], cx
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 2
push eax
mov ecx, esi
call fcn.004d6530
test al, al
jne 0x4d6f9e
push 0x10
push 0x502ee0
push 0x506c48
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4d76e4
lea ecx, [esi + 0x5c]
call fcn.00410ab0
lea edx, [esp + 0x24]
lea ecx, [esi + 0x5c]
call fcn.004da950
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0x110]
call fcn.004128e0
mov dword [esp + 0x90], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
push 0
push 0
push 0x147
push dword [esi + 0x28]
call edi
push 0
push 0
push 0x147
mov eax, dword [eax*4 + 0x500db0]
push dword [esi + 0x2c]
mov dword [esi + 0xa8], eax
call edi
push 0
push 0
push 0x146
mov eax, dword [eax*4 + 0x500f90]
mov dword [esi + 0xac], eax
push dword [esi + 0x10]
call edi
cmp eax, 1
jg 0x4d7027
or eax, 0xffffffff
jmp 0x4d7042
push 0
push 0
push 0x147
push dword [esi + 0x10]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x10]
call edi
push 0
push 0
push 0x146
mov dword [esi + 0xd0], eax
push dword [esi + 0x18]
call edi
cmp eax, 1
jg 0x4d7060
or eax, 0xffffffff
jmp 0x4d707b
push 0
push 0
push 0x147
push dword [esi + 0x18]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x18]
call edi
push 0
push 0
push 0x146
mov dword [esi + 0xe0], eax
push dword [esi + 0x1c]
call edi
cmp eax, 1
jg 0x4d7099
or eax, 0xffffffff
jmp 0x4d70b4
push 0
push 0
push 0x147
push dword [esi + 0x1c]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x1c]
call edi
mov ecx, esi
mov dword [esi + 0xe8], eax
call fcn.004d9180
push 0
push 0
push 0x146
mov byte [esi + 0xe4], al
push dword [esi + 0x24]
call edi
cmp eax, 1
jg 0x4d70df
or eax, 0xffffffff
jmp 0x4d70fa
push 0
push 0
push 0x147
push dword [esi + 0x24]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x24]
call edi
push 0
push 0
push 0x146
mov dword [esi + 0xc0], eax
push dword [esi + 0x20]
call edi
cmp eax, 1
jg 0x4d7118
or eax, 0xffffffff
jmp 0x4d7133
push 0
push 0
push 0x147
push dword [esi + 0x20]
call edi
push 0
push eax
push 0x150
push dword [esi + 0x20]
call edi
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
cmp eax, 0xffffffff
jne 0x4d7155
mov byte [esi + 0xb0], 0
jmp 0x4d7187
test eax, eax
je 0x4d7187
cmp eax, 0x40
jb 0x4d7166
or ecx, 0xffffffff
or edx, 0xffffffff
jmp 0x4d717b
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004d85a0
push eax
lea ecx, [esi + 0xd4]
mov dword [esp + 0x94], 3
call fcn.004128e0
mov dword [esp + 0x90], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004d86a0
push eax
lea ecx, [esi + 0xf8]
mov dword [esp + 0x94], 4
call fcn.004128e0
mov dword [esp + 0x90], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
push 0
push 0
push 0x147
push dword [esi + 0xc]
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
push 0xfac
push dword [esi + 4]
mov dword [esi + 0x120], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x4d724c
push 0xfac
push dword [esi + 4]
call ebx
cmp eax, 1
jne 0x4d724c
jmp 0x4d724e
xor eax, eax
push 0xfad
push dword [esi + 4]
mov byte [esi + 0x104], al
call ebx
cmp eax, 1
push 0xfb3
push dword [esi + 4]
sete al
mov byte [esi + 0x105], al
call ebx
cmp eax, 1
push 0xfb0
push dword [esi + 4]
sete al
mov byte [esi + 0x106], al
call ebx
cmp eax, 1
push 0xfc8
push dword [esi + 4]
sete al
mov byte [esi + 0x131], al
mov byte [esi + 0x4d], al
call ebx
cmp eax, 1
sete cl
cmp byte [esi + 0x108], 0
jne 0x4d72bd
cmp byte [esi + 0x7b], 0
je 0x4d72bd
mov al, byte [esi + 0x7a]
jmp 0x4d72c3
mov al, byte [esi + 0x107]
cmp cl, al
je 0x4d72d2
mov byte [esi + 0x7b], 1
mov byte [esi + 0x108], 1
mov byte [esi + 0x7a], cl
push 0xfc9
mov byte [esi + 0x107], cl
push dword [esi + 4]
call ebx
cmp eax, 1
sete cl
cmp byte [esi + 0x10a], 0
jne 0x4d72ff
cmp byte [esi + 0x79], 0
je 0x4d72ff
mov al, byte [esi + 0x78]
jmp 0x4d7305
mov al, byte [esi + 0x109]
cmp cl, al
je 0x4d7314
mov byte [esi + 0x79], 1
mov byte [esi + 0x10a], 1
mov byte [esi + 0x78], cl
push 0xfca
mov byte [esi + 0x109], cl
push dword [esi + 4]
call ebx
cmp eax, 1
sete cl
cmp byte [esi + 0x10c], 0
jne 0x4d7341
cmp byte [esi + 0x77], 0
je 0x4d7341
mov al, byte [esi + 0x76]
jmp 0x4d7347
mov al, byte [esi + 0x10b]
cmp cl, al
je 0x4d7356
mov byte [esi + 0x77], 1
mov byte [esi + 0x10c], 1
mov byte [esi + 0x76], cl
push 0xfcb
mov byte [esi + 0x10b], cl
push dword [esi + 4]
call ebx
cmp eax, 1
sete cl
cmp byte [esi + 0x10e], 0
jne 0x4d7383
cmp byte [esi + 0x75], 0
je 0x4d7383
mov al, byte [esi + 0x74]
jmp 0x4d7389
mov al, byte [esi + 0x10d]
cmp cl, al
je 0x4d7398
mov byte [esi + 0x75], 1
mov byte [esi + 0x10e], 1
push 0
push 0
mov byte [esi + 0x74], cl
push 0x147
mov byte [esi + 0x10d], cl
push dword [esi + 0xc]
call edi
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x98]
mov ecx, dword [ecx]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
shr eax, 0xa
test al, 1
jne 0x4d73d7
mov byte [esi + 0x107], 0
mov eax, dword [ecx]
shr eax, 0xb
test al, 1
jne 0x4d73e7
mov byte [esi + 0x109], 0
mov eax, dword [ecx]
shr eax, 1
test al, 1
jne 0x4d73f6
mov byte [esi + 0x10b], 0
mov eax, dword [ecx]
shr eax, 2
test al, 1
jne 0x4d7406
mov byte [esi + 0x10d], 0
lea eax, [esi + 0xec]
push eax
lea ecx, [esi + 0x34]
call fcn.0041ef30
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x24]
movq qword [esp + 0x24], xmm0
call fcn.00412560
lea eax, [esp + 0x24]
mov dword [esp + 0x90], 5
push eax
lea ecx, [esi + 0x30]
call fcn.0041ef30
mov ebx, dword [esp + 0x28]
mov ecx, ebx
test ebx, ebx
je 0x4d748a
mov eax, dword [esp + 0x24]
lea edx, [ebx - 1]
lea edx, [eax + edx*2]
jmp 0x4d7460
movzx eax, word [edx]
cmp eax, 0x20
je 0x4d7472
cmp eax, 0xa
je 0x4d7472
cmp eax, 9
jne 0x4d7478
sub edx, 2
dec ecx
jne 0x4d7460
cmp ecx, ebx
je 0x4d748a
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x28], ecx
mov word [eax + ecx*2], dx
lea ecx, [esp + 0x24]
call fcn.00412d60
cmp dword [esp + 0x28], 0
mov dword [esi + 0xc8], 0
je 0x4d7570
lea edx, [esi + 0xc4]
lea ecx, [esp + 0x24]
call fcn.004cf1d0
test al, al
jne 0x4d74cd
mov ecx, dword [esi + 4]
mov edx, 0x1c8b
call fcn.00489390
jmp 0x4d76e4
cmp dword [esi + 0xc8], 0
je 0x4d7570
mov ecx, dword [esi + 0xc4]
mov eax, dword [esi + 0xc8]
mov edx, dword [ecx + eax*8 - 8]
mov eax, dword [ecx + eax*8 - 4]
test eax, eax
ja 0x4d7570
jb 0x4d74fc
cmp edx, 0x19000
jae 0x4d7570
push eax
push edx
lea ecx, [esp + 0x44]
call fcn.004110f0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x34]
call fcn.00412680
lea eax, [esp + 0x30]
mov byte [esp + 0x90], 6
push eax
mov edx, 0x1c8c
lea ecx, [esp + 0x1c]
call fcn.0049b560
push 0x23
push 0x502ee0
push dword [eax]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x18]
cmp eax, 6
setne bl
call fcn.004df97b
add esp, 4
mov byte [esp + 0x90], 5
push dword [esp + 0x30]
call fcn.004df97b
add esp, 4
test bl, bl
jne 0x4d76e4
xor ebx, ebx
push ebx
push ebx
push 0x146
push dword [esi + 8]
call edi
test eax, eax
jle 0x4d766e
jmp 0x4d7590
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movq qword [esp + 0x30], xmm0
push 8
mov dword [esp + 0x34], 0
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x4d771c
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov word [eax], cx
lea eax, [esp + 0x30]
mov byte [esp + 0x90], 7
push eax
push ebx
lea ecx, [esi + 8]
call fcn.00416190
mov edi, dword [esp + 0x34]
mov ecx, edi
test edi, edi
je 0x4d762a
mov eax, dword [esp + 0x30]
lea edx, [edi - 1]
lea edx, [eax + edx*2]
mov edi, edi
movzx eax, word [edx]
cmp eax, 0x20
je 0x4d7612
cmp eax, 0xa
je 0x4d7612
cmp eax, 9
jne 0x4d7618
sub edx, 2
dec ecx
jne 0x4d7600
cmp ecx, edi
je 0x4d762a
mov eax, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x34], ecx
mov word [eax + ecx*2], dx
lea ecx, [esp + 0x30]
call fcn.00412d60
lea edx, [esp + 0x30]
lea ecx, [esi + 0x5c]
call fcn.004da950
mov byte [esp + 0x90], 5
push dword [esp + 0x30]
call fcn.004df97b
add esp, 4
inc ebx
push 0
push 0
push 0x146
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x4d7590
cmp dword [esi + 0x60], 0x14
jbe 0x4d7698
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x5c]
mov edi, dword [eax + ecx*4 - 4]
test edi, edi
je 0x4d7695
push dword [edi]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
add esp, 4
dec dword [esi + 0x60]
mov ecx, dword [esi + 0x120]
test ecx, ecx
js 0x4d76b9
mov eax, dword [esi + 0x98]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
lea ecx, [esi + 0x50]
add eax, 0xc
push eax
call fcn.004128e0
mov eax, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0xedb
push dword [esi + 4]
call eax
cmp eax, 1
lea ecx, [esi + 0x48]
sete al
mov byte [esi + 0x4c], al
call fcn.00485710
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [esp + 0x90], 0xffffffff
push dword [esp + 0x24]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
int3