Function at 0x4722a0
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 0x4722dd
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 0x47230e
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.00470a10
test eax, eax
jne 0x472345
push eax
push 0x183
push str.QuickDialog.cpp
call fcn.00536660
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
cmp edi, 3
ja 0x47234e
mov eax, edi
jmp 0x472351
or eax, 0xffffffff
cmp esi, 3
jbe 0x472359
or esi, 0xffffffff
movzx ecx, ax
cmp ecx, esi
je 0x47240c
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 0x472388
mov esi, eax
jmp 0x47238b
or esi, 0xffffffff
movzx edi, dx
cmp esi, 0xffffffff
je 0x4723f9
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.00433280
test eax, eax
jne 0x4723f9
mov ecx, dword [ebp + esi*4 + 0x218]
push edi
call fcn.0040b8a0
test eax, eax
je 0x4723f9
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 0x4723f9
lea ecx, [esp + 0x2c]
push ecx
push ebx
mov ecx, ebp
call fcn.00470a10
mov edx, dword [esp + 0x2c]
push edx
mov ecx, 0x6ca668
call fcn.004cf770
inc ebx
dec dword [esp + 0x20]
jne 0x472374
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
cmp bx, 0x28
jae 0x472444
cmp edi, 3
ja 0x472444
cmp edi, 0xffffffff
je 0x472444
movzx esi, word [esp + 0x34]
mov ecx, dword [ebp + edi*4 + 0x218]
push esi
call fcn.00433280
test eax, eax
jne 0x472444
mov ecx, dword [ebp + edi*4 + 0x218]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00433db0
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.004ce8b0
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.00472230
test eax, eax
je 0x472339
mov eax, dword [esp + 0x14]
test eax, eax
je 0x472551
cmp byte [esp + 0x4c], 0
je 0x4724e1
push eax
mov ecx, 0x6ca668
call fcn.004cf770
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.004ce8b0
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.00472230
test eax, eax
je 0x472339
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc