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

Disassembly:
sub esp, 0x6b0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0x29c]
xor eax, eax
mov dword [esp + 0x18], edi
cmp ax, word [esi + 0x2a4]
jb 0x57ef51
push eax
push 0x46
push str.d:_titan_allmso_2566_src_ok_client_mhINTERFACEcIconDialog.h
call fcn.00527110
add esp, 0xc
mov ecx, dword [esi + 0x2a0]
mov esi, dword [edi + 0x2a0]
movzx edx, word [esi + 0x2aa]
movzx eax, word [esi + 0x2a8]
movzx edi, word [esi + 0x2cc]
imul edx, eax
cmp edi, edx
mov ebx, dword [ecx]
jl 0x57ef8c
push 0
push 0x31
push str.d:_titan_allmso_2566_src_ok_client_mhINTERFACEcIconGridDialog.h
call fcn.00527110
add esp, 0xc
mov ecx, dword [esi + 0x2a4]
mov edi, dword [ecx + edi*8]
mov ecx, dword [ebx + 0x30c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
movzx eax, ax
push eax
mov ecx, 0x6e4d50
call fcn.005796b0
mov ebp, eax
xor ecx, ecx
xor esi, esi
cmp cx, word [ebp + 0x24]
jae 0x57f221
mov dword [esp + 0x10], esi
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x28]
mov edx, dword [esp + 0x10]
cmp word [edx + ecx], ax
je 0x57eff3
movzx eax, word [ebp + 0x24]
add dword [esp + 0x10], 0x34
inc esi
cmp esi, eax
jl 0x57efc4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b0
ret
xor ecx, ecx
mov word [esp + 0x3c], cx
mov ecx, dword [0x69e248]
xor eax, eax
xor edx, edx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x30c]
mov word [esp + 0x3a], ax
mov dword [esp + 0x32], eax
mov byte [esp + 0x25], 0
mov word [esp + 0x38], dx
mov byte [esp + 0x26], 5
mov byte [esp + 0x27], 0xd3
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebx + 0x30c]
mov word [esp + 0x2c], ax
mov edx, dword [ecx]
mov eax, dword [edx + 0x7c]
call eax
mov edx, dword [ebx]
mov word [esp + 0x2e], ax
mov eax, dword [edx + 0x8c]
mov ecx, ebx
call eax
mov edx, dword [edi]
mov dword [esp + 0x32], eax
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x46e4], 0
mov word [esp + 0x30], ax
mov word [esp + 0x36], si
je 0x57f091
mov cx, word [edi + 0x46e8]
mov dx, word [edi + 0x46ec]
mov word [esp + 0x38], cx
mov word [esp + 0x3a], dx
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
movzx eax, ax
push eax
mov ecx, 0x69fe70
call fcn.004aeea0
test eax, eax
je 0x57f0c0
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
mov ecx, dword [ebp + 0x28]
imul esi, esi, 0x34
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
cmp dx, word [ecx + esi + 0x2e]
jae 0x57f1fb
mov dword [esp + 0x14], eax
jmp 0x57f0e7
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax + esi + 0x30]
mov edx, dword [esp + 0x14]
movzx edi, word [ecx + edx]
movzx esi, word [ecx + edx + 0x24]
lea eax, [ecx + edx]
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
movzx eax, ax
push eax
mov ecx, 0x69fe70
call fcn.004aeea0
test eax, eax
je 0x57f130
mov ecx, dword [ebx + 0x30c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x90]
call edx
imul esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x444]
push ecx
mov ecx, dword [esp + 0x20]
push esi
push edi
call fcn.0057de90
test eax, eax
je 0x57f22c
movzx eax, word [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x57f1d5
jmp 0x57f160
push edi
mov ecx, 0x69fe70
call fcn.004aeea0
test eax, eax
je 0x57f19d
movzx edx, word [esp + 0x3c]
mov cx, word [esp + esi*8 + 0x442]
mov word [esp + edx*8 + 0x3e], di
movzx eax, word [esp + 0x3c]
mov word [esp + eax*8 + 0x40], cx
movzx edx, word [esp + 0x3c]
mov eax, dword [esp + esi*8 + 0x444]
mov dword [esp + edx*8 + 0x42], eax
jmp 0x57f1c6
movzx ecx, word [esp + 0x3c]
mov ax, word [esp + esi*8 + 0x442]
mov word [esp + ecx*8 + 0x3e], di
movzx edx, word [esp + 0x3c]
mov word [esp + edx*8 + 0x40], ax
movzx ecx, word [esp + 0x3c]
mov dword [esp + ecx*8 + 0x42], 0
movzx eax, word [esp + 0x10]
inc word [esp + 0x3c]
inc esi
cmp esi, eax
jl 0x57f160
mov edx, dword [ebp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, word [edx + ecx + 0x2e]
add dword [esp + 0x14], 0x26
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x57f0e3
mov edi, dword [esp + 0x18]
movzx eax, word [esp + 0x3c]
lea ecx, [eax*8 + 0x1a]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, 0x68ec10
call fcn.00525390
mov dword [edi + 0x46e0], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b0
ret
push 0xcd
mov ecx, 0x6a0f60
call fcn.004d6bc0
push eax
push 0x1a
push 0x6a0f60
call fcn.004d8020
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b0
ret