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

Disassembly:
sub esp, 0x28
xor eax, eax
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x34]
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 edi, eax
mov dword [esp + 0x28], edi
cmp edi, 3
jbe 0x4642ed
mov dword [esp + 0x28], 0xffffffff
mov ebx, dword [esp + 0x40]
movzx eax, dx
mov dword [esp + 0x34], eax
movzx eax, bx
cdq
idiv esi
mov esi, eax
mov dword [esp + 0x24], esi
cmp esi, 3
jbe 0x464311
mov dword [esp + 0x24], 0xffffffff
lea eax, [esp + 0x10]
movzx edx, dx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x38], edx
call fcn.00462aa0
test eax, eax
jne 0x464348
push eax
push 0x183
push str.QuickDialog.cpp
call fcn.0050ea20
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret 0xc
cmp esi, 3
jbe 0x464350
or esi, 0xffffffff
cmp edi, 3
jbe 0x464358
or edi, 0xffffffff
movzx ecx, si
cmp ecx, edi
je 0x464408
lea edx, [esi + esi*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 0x464387
mov esi, eax
jmp 0x46438a
or esi, 0xffffffff
movzx edi, dx
cmp esi, 0xffffffff
je 0x4643f8
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.0042c3a0
test eax, eax
jne 0x4643f8
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.00406de0
test eax, eax
je 0x4643f8
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 0x4643f8
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, ebp
call fcn.00462aa0
mov edx, dword [esp + 0x2c]
push edx
mov ecx, 0x6b7c88
call fcn.004ba780
inc ebx
sub dword [esp + 0x20], 1
jne 0x464373
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x14]
push eax
push ebx
mov ecx, ebp
call fcn.00462aa0
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 + 0x30]
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.004b9c70
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.00464240
test eax, eax
je 0x46433c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464522
cmp byte [esp + 0x44], 0
je 0x4644b2
push eax
mov ecx, 0x6b7c88
call fcn.004ba780
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 0xc
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov edx, dword [esp + 0x34]
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.004b9c70
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 + 0x3c]
mov eax, dword [edx + 0x80]
push esi
call eax
mov ecx, dword [esp + 0x14]
push ecx
push esi
mov ecx, ebp
call fcn.00464240
test eax, eax
je 0x46433c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 0xc