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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bad58
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6ac30c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3c], esi
lea eax, [esi + 0x300]
mov edx, 0xf
xor ebx, ebx
lea ecx, [ecx]
mov ecx, dword [eax - 0x3c]
mov dword [ecx + 0x438], ebx
mov ecx, dword [eax]
mov dword [ecx + 0x438], ebx
mov ecx, dword [eax + 0x3c]
mov dword [ecx + 0x438], ebx
mov ecx, dword [eax + 0x78]
add eax, 4
dec edx
mov dword [ecx + 0x330], ebx
jne 0x48c050
movzx eax, byte [esi + 0x8b4]
mov ecx, dword [esi + 0x8b0]
mov ecx, dword [esi + ecx*4 + 0x3cc]
push eax
call fcn.004c2fa0
mov edi, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], ebx
add esi, 0x2c4
jmp 0x48c0a6
mov edi, dword [ebp - 0x40]
movzx edx, word [edi + 0x25e]
movzx ecx, word [edi + 0x25c]
movzx eax, word [ebp - 0x38]
imul edx, ecx
mov dword [ebp - 0x34], eax
cmp eax, edx
jl 0x48c0d5
push ebx
push 0x32
push str.h:_titan_online_titan_fnsmhsource_client_mh._Interface_cIconGridDialog.h
call fcn.0040b590
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov edx, dword [edi + 0x258]
mov edi, dword [edx + eax*8]
cmp edi, ebx
je 0x48c271
cmp word [edi + 0x2c6], bx
je 0x48c271
mov eax, dword [edi + 0x30a]
push ebx
push eax
call fcn.0040b450
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.004c2a20
movzx eax, word [edi + 0x30e]
mov ecx, dword [ebp - 0x3c]
cmp eax, 3
jne 0x48c167
mov eax, dword [esi]
add ecx, 0x25c
mov dword [ebp - 0x34], eax
cmp ecx, ebx
je 0x48c1b3
mov edx, dword [ecx + 4]
add eax, 0x1b4
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x1c], ecx
mov dword [edx + 0x1d4], eax
jmp 0x48c1b3
shl eax, 5
lea eax, [eax + ecx + 0x25c]
mov ecx, dword [esi]
mov dword [ebp - 0x34], ecx
cmp eax, ebx
je 0x48c1b3
mov edx, dword [eax + 4]
add ecx, 0x1b4
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 0x1c], eax
mov dword [edx + 0x1d4], ecx
mov eax, dword [esi]
mov dword [eax + 0x438], 1
mov ecx, dword [esi + 0x3c]
lea eax, [edi + 0x2c8]
push eax
call fcn.004c2a20
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x438], 1
add edi, 0x2e9
mov eax, edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x48c1f3
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040c070
push 1
push ebx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x30], 0x45
call fcn.00447fa0
mov ecx, dword [esi + 0x78]
cmp eax, 0xffffffff
je 0x48c22b
push 0x5caa38
jmp 0x48c22c
push edi
call fcn.004c2a20
mov eax, dword [esi + 0x78]
mov ecx, 1
mov dword [eax + 0x438], ecx
mov eax, dword [esi + 0xb4]
mov dword [eax + 0x330], ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x48c264
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00599ae9
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [ebp - 0x38]
inc eax
add esi, 4
mov dword [ebp - 0x38], eax
cmp eax, 0xf
jl 0x48c0a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599821
mov esp, ebp
pop ebp
ret