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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
xor eax, eax
push edi
push ebx
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.0046a090
mov edi, eax
movzx eax, di
push ebx
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.0046a0c0
mov edx, dword [esp + 0x3c]
movzx ecx, ax
mov dword [esp + 0x2c], ecx
push edx
mov ecx, esi
call fcn.0046a090
mov ecx, dword [esp + 0x3c]
mov ebp, eax
movzx eax, bp
push ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0046a0c0
movzx edx, ax
lea eax, [esp + 0x10]
push eax
push ebx
mov ecx, esi
mov dword [esp + 0x2c], edx
call fcn.0046a0e0
test eax, eax
jne 0x46b8a5
push eax
push 0x183
push str.QuickDialog.cpp
call fcn.00529940
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
movzx eax, bp
cmp eax, edi
je 0x46b915
lea edx, [eax + eax*4]
add edx, edx
movzx edi, dx
mov dword [esp + 0x38], 0xa
lea esp, [esp]
push edi
mov ecx, esi
call fcn.0046a420
test eax, eax
je 0x46b90e
mov ecx, dword [eax + 0x2e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
movzx ebp, ax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
cmp bp, ax
jne 0x46b90e
lea ecx, [esp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.0046a0e0
mov edx, dword [esp + 0x20]
push edx
mov ecx, 0x71b1b0
call fcn.004c8d00
inc edi
dec dword [esp + 0x38]
jne 0x46b8c0
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.0046a0e0
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 + 0x24]
movzx ecx, ax
mov eax, dword [esp + 0x28]
inc edx
push edx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004c7df0
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 edi
call eax
mov ecx, dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.0046b7a0
test eax, eax
je 0x46b899
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46ba2f
cmp byte [esp + 0x40], 0
je 0x46b9c3
push eax
mov ecx, 0x71b1b0
call fcn.004c8d00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0xc
mov ecx, dword [eax + 0x2e8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call eax
mov edx, dword [esp + 0x2c]
movzx ecx, ax
mov eax, dword [esp + 0x30]
inc edx
push edx
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004c7df0
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 eax, dword [edx + 0x80]
push ebx
call eax
mov ecx, dword [esp + 0x14]
push ecx
push ebx
mov ecx, esi
call fcn.0046b7a0
test eax, eax
je 0x46b899
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0xc