Function at 0x461940
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 0x46197d
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 0x4619ae
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.004600c0
test eax, eax
jne 0x4619e5
push eax
push 0x183
push str.QuickDialog.cpp
call fcn.0052f000
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
cmp edi, 3
ja 0x4619ee
mov eax, edi
jmp 0x4619f1
or eax, 0xffffffff
cmp esi, 3
jbe 0x4619f9
or esi, 0xffffffff
movzx ecx, ax
cmp ecx, esi
je 0x461aac
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 0x461a28
mov esi, eax
jmp 0x461a2b
or esi, 0xffffffff
movzx edi, dx
cmp esi, 0xffffffff
je 0x461a99
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.00423cd0
test eax, eax
jne 0x461a99
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.00440b70
test eax, eax
je 0x461a99
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 0x461a99
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, ebp
call fcn.004600c0
mov edx, dword [esp + 0x2c]
push edx
mov ecx, 0x6bc540
call fcn.004bde30
inc ebx
dec dword [esp + 0x20]
jne 0x461a14
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
cmp bx, 0x28
jae 0x461ae4
cmp edi, 3
ja 0x461ae4
cmp edi, 0xffffffff
je 0x461ae4
movzx esi, word [esp + 0x34]
mov ecx, dword [ebp + edi*4 + 0x218]
push esi
call fcn.00423cd0
test eax, eax
jne 0x461ae4
mov ecx, dword [ebp + edi*4 + 0x218]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00424800
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.004bcf70
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.004618d0
test eax, eax
je 0x4619d9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x461bf1
cmp byte [esp + 0x4c], 0
je 0x461b81
push eax
mov ecx, 0x6bc540
call fcn.004bde30
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.004bcf70
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.004618d0
test eax, eax
je 0x4619d9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc