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

Disassembly:
sub esp, 0x30
xor eax, eax
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
movzx eax, cx
push esi
cdq
mov esi, 0xa
idiv esi
push edi
mov esi, eax
mov dword [esp + 0x28], esi
cmp esi, 3
jbe 0x46da3d
mov dword [esp + 0x28], 0xffffffff
mov ebx, dword [esp + 0x48]
movzx eax, dx
mov dword [esp + 0x3c], eax
movzx eax, bx
cdq
mov edi, 0xa
idiv edi
mov edi, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
cmp edi, 3
jbe 0x46da6e
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x10]
movzx edx, dx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x40], edx
call fcn.0046c100
test eax, eax
jne 0x46daa5
push eax
push 0x183
push str.QuickDialog.cpp
call fcn.0052b690
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
cmp edi, 3
ja 0x46daae
mov eax, edi
jmp 0x46dab1
or eax, 0xffffffff
cmp esi, 3
jbe 0x46dab9
or esi, 0xffffffff
movzx ecx, ax
cmp ecx, esi
je 0x46db6c
lea edx, [eax + eax*4]
add edx, edx
movzx ebx, dx
mov dword [esp + 0x20], 0xa
movzx eax, bx
cdq
mov ecx, 0xa
idiv ecx
cmp eax, 3
ja 0x46dae8
mov esi, eax
jmp 0x46daeb
or esi, 0xffffffff
movzx edi, dx
cmp esi, 0xffffffff
je 0x46db59
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.0042e340
test eax, eax
jne 0x46db59
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.00408990
test eax, eax
je 0x46db59
mov eax, dword [eax + 0x2e8]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2e8]
mov edx, dword [ecx]
movzx esi, ax
mov eax, dword [edx + 0x78]
call eax
cmp si, ax
jne 0x46db59
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, ebp
call fcn.0046c100
mov edx, dword [esp + 0x2c]
push edx
mov ecx, 0x6d8668
call fcn.004c9f10
inc ebx
dec dword [esp + 0x20]
jne 0x46dad4
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
cmp bx, 0x28
jae 0x46dba4
cmp edi, 3
ja 0x46dba4
cmp edi, 0xffffffff
je 0x46dba4
movzx esi, word [esp + 0x34]
mov ecx, dword [ebp + edi*4 + 0x218]
push esi
call fcn.0042e340
test eax, eax
jne 0x46dba4
mov ecx, dword [ebp + edi*4 + 0x218]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.0042ee70
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x2e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov edx, dword [esp + 0x38]
movzx ecx, ax
mov eax, dword [esp + 0x24]
inc edx
push edx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004c8fa0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0x2e8]
mov eax, dword [ecx]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x88]
add esp, 0xc
push edx
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x80]
push ebx
call eax
mov ecx, dword [esp + 0x10]
push ecx
push ebx
mov ecx, ebp
call fcn.0046d990
test eax, eax
je 0x46da99
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46dcb1
cmp byte [esp + 0x4c], 0
je 0x46dc41
push eax
mov ecx, 0x6d8668
call fcn.004c9f10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov edx, dword [esp + 0x3c]
movzx ecx, ax
mov eax, dword [esp + 0x28]
inc edx
push edx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004c8fa0
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x2e8]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x88]
add esp, 0xc
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov esi, dword [esp + 0x44]
mov eax, dword [edx + 0x80]
push esi
call eax
mov ecx, dword [esp + 0x14]
push ecx
push esi
mov ecx, ebp
call fcn.0046d990
test eax, eax
je 0x46da99
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc