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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
push eax
call fcn.004aa510
mov esi, eax
add esp, 4
xor ebx, ebx
cmp esi, 0xffffffff
jne 0x4ab3b2
cmp dword [0x78cc74], ebx
jne 0x4ab3b2
mov dword [0x78cc74], 1
mov ebp, dword [esp + 0x130]
mov ecx, dword [esp + 0x128]
mov edi, dword [esp + 0x124]
push ebp
push ecx
push edi
call fcn.004aaa60
mov cl, byte [esp + 0x138]
add esp, 0xc
cmp cl, bl
mov dword [esp + 0x10], eax
jne 0x4ab771
lea edx, [esi + esi*4]
lea ecx, [ebp + edx*4]
mov dword [esp + 0x18], ecx
cmp byte [ecx + 0x100], bl
jne 0x4ab771
mov ecx, dword [esp + 0x128]
shl eax, 3
shl ecx, 3
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
ja 0x4ab771
push 0xc
push eax
push edi
call fcn.004aa3a0
add esp, 0xc
cmp eax, 0xfff
mov eax, dword [esp + 0x10]
je 0x4ab44a
mov ecx, dword [esp + 0x14]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
jbe 0x4ab419
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
lea edx, [esp + 0x10]
push 1
add eax, 0xc
push edx
push edi
mov dword [esp + 0x1c], eax
call fcn.004aa490
add esp, 0xc
test eax, eax
je 0x4ab771
lea eax, [esp + 0x10]
push 2
push eax
push edi
call fcn.004aa490
add esp, 0xc
cmp eax, 3
ja case.default.0x4ab47e
jmp dword [eax*4 + 0x4ab77c]
lea ecx, [esi + esi*4 + 0x41]
mov dword [ebp + ecx*4], 1
jmp case.default.0x4ab47e
lea edx, [esi + esi*4 + 0x41]
mov dword [ebp + edx*4], 2
jmp case.default.0x4ab47e
lea eax, [esi + esi*4 + 0x41]
mov dword [ebp + eax*4], 3
jmp case.default.0x4ab47e
lea ecx, [esi + esi*4 + 0x41]
mov dword [ebp + ecx*4], ebx
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x10]
push 4
inc ebp
push edx
push edi
mov dword [esp + 0x1c], ebp
call fcn.004aa490
mov edx, 0x100
mov ecx, 0x140
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x120], ecx
lea ecx, [esi + esi*4 + 0x41]
mov ebp, 0xe0
mov dword [esp + 0x28], ebx
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x2c], ebx
shl ecx, 4
add ecx, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x20
mov dword [esp + 0x70], 0x40
mov dword [esp + 0x74], 0x60
mov dword [esp + 0x78], 0x80
mov dword [esp + 0x7c], 0xa0
mov dword [esp + 0x80], 0xc0
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], 0x120
mov dword [esp + 0x94], 0x160
mov dword [esp + 0x98], 0x180
mov dword [esp + 0x9c], 0x1a0
mov dword [esp + 0xa0], 0x1c0
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], 0x20
mov dword [esp + 0xb0], 0x30
mov dword [esp + 0xb4], 0x38
mov dword [esp + 0xb8], 0x40
mov dword [esp + 0xbc], 0x50
mov dword [esp + 0xc0], 0x60
mov dword [esp + 0xc4], 0x70
mov dword [esp + 0xc8], 0x80
mov dword [esp + 0xcc], 0xa0
mov dword [esp + 0xd0], 0xc0
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xe0], 0x180
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], 0x20
mov dword [esp + 0xf0], 0x28
mov dword [esp + 0xf4], 0x30
mov dword [esp + 0xf8], 0x38
mov dword [esp + 0xfc], 0x40
mov dword [esp + 0x100], 0x50
mov dword [esp + 0x104], 0x60
mov dword [esp + 0x108], 0x70
mov dword [esp + 0x10c], 0x80
mov dword [esp + 0x110], 0xa0
mov dword [esp + 0x114], 0xc0
mov dword [esp + 0x118], ebp
mov dword [esp + 0x124], ebx
mov edx, dword [esp + ecx*4 + 0x28]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push 2
push eax
shl edx, 0xa
push edi
mov dword [esi + 0x108], edx
call fcn.004aa490
add esp, 0x18
cmp eax, 3
ja case.default.0x4ab717
jmp dword [eax*4 + 0x4ab78c]
mov dword [esi + 0x10c], 0xac44
jmp case.default.0x4ab717
mov dword [esi + 0x10c], 0xbb80
jmp case.default.0x4ab717
mov dword [esi + 0x10c], 0x7d00
jmp case.default.0x4ab717
mov dword [esi + 0x10c], ebx
mov ecx, dword [esp + 0x10]
push 2
add ecx, 2
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.004aa490
add esp, 0xc
inc eax
mov dword [esi + 0x110], eax
mov byte [esi + 0x100], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret