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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
push dword [esp + 0x50]
mov ecx, dword [ebp + 0x2ac]
add ecx, 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
mov esi, eax
mov dword [esp + 0x48], esi
call fcn.004b2e25
mov ecx, dword [ebp + 0x2ac]
mov edi, dword [esp + 0x7c]
add edi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
mov ecx, dword [ecx + 0x238]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ecx + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
cmp eax, ebx
je 0x4bb04b
mov ebx, dword [eax]
mov ecx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov edx, dword [esp + 0x18]
mov bl, byte [esp + 0x80]
imul ecx, eax, 0x28
mov eax, dword [edx]
cmp bl, byte [ecx + eax + 0x10]
mov ebx, dword [esp + 0x14]
jne 0x4bb032
mov ecx, dword [esp + 0x1c]
add ecx, esi
mov dword [esp + 0x7c], ecx
cmp ecx, edi
jge 0x4bb032
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebx]
push dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 0x14]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x20]
cmp edi, ecx
push dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
cmovl eax, edi
mov ecx, dword [ebx]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x10]
mov ecx, ebx
call edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4bb01c
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
imul ecx, eax, 0x28
mov eax, dword [esp + 0x18]
add ecx, dword [eax]
lea eax, [ecx + 8]
push eax
call fcn.0047d57d
test al, al
jne 0x4baf77
push dword [ebp + 0x2a0]
lea ecx, [esp + 0x38]
call fcn.004b2998
test al, al
je 0x4baf77
xor edi, edi
inc edi
jmp 0x4baf79
xor edi, edi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], eax
mov ecx, dword [ebp + 0x2ac]
cmovle eax, dword [esp + 0x34]
push 1
push 1
inc eax
push eax
call fcn.0049efec
mov ecx, ebp
mov esi, eax
call fcn.00478ab8
mov ecx, dword [esp + 0x14]
mov bl, al
mov edx, dword [ecx]
call dword [edx + 8]
push dword [esp + 0x84]
sub esi, dword [esp + 0x48]
mov edx, eax
push ebx
push dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push dword [esp + 0x88]
push esi
sub esp, 0x20
lea esi, [esp + 0x90]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub eax, esi
push dword [esp + 0x88]
push dword [esp + 0x84]
push eax
mov eax, dword [esp + 0xc8]
sub eax, esi
push eax
push edx
call fcn.004bac06
mov edi, dword [esp + 0x64]
add esp, 0x54
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x7c], eax
cmp eax, edi
jl 0x4baef9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jne 0x4baebc
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 0x128], 0
je 0x4bb05f
mov eax, dword [ebp + 0x238]
cmp eax, 0x22
je 0x4bb080
cmp byte [ecx + 0x130], 0
je 0x4bb186
mov eax, dword [ebp + 0x238]
cmp eax, 0x23
jne 0x4bb186
cmp eax, 0x22
jne 0x4bb088
mov eax, dword [ecx + 0x12c]
jmp 0x4bb08e
mov eax, dword [ecx + 0x134]
imul ecx, eax, 0x28
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
mov dl, byte [esp + 0x80]
cmp dl, byte [ecx + eax + 0x10]
jne 0x4bb186
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x38], edi
push 2
mov dword [esp + 0x38], eax
lea eax, [ebp + 0x230]
pop ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov edi, dword [eax]
lea ecx, [esp + 0x34]
push edi
call fcn.004b2998
test al, al
je 0x4bb16a
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub eax, esi
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0x18]
jge 0x4bb16a
mov ecx, dword [ebp + 0x2ac]
lea eax, [edi + 1]
push 1
push 1
push eax
call fcn.0049efec
push dword [esp + 0x84]
mov ebx, eax
mov ecx, ebp
sub ebx, esi
call fcn.00478ab8
movzx ecx, al
lea esi, [esp + 0x5c]
push ecx
push 1
push 0
push dword [esp + 0x88]
push ebx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x7c]
push dword [esp + 0xcc]
call fcn.004bac06
mov esi, dword [esp + 0x98]
add esp, 0x54
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 4
sub ebx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
jne 0x4bb0c7
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x2a4]
shr eax, 2
test al, 1
je 0x4bb37d
mov ebx, dword [esp + 0x1c]
add ebx, esi
mov esi, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x24], esi
cmp esi, edi
jge 0x4bb385
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push esi
call fcn.004770c2
mov ecx, dword [ebp + 0x2ac]
cmp edi, eax
mov ebx, eax
mov dword [esp + 0x30], eax
cmovl ebx, edi
add ecx, 0x10
push esi
mov dword [esp + 0x2c], ebx
call fcn.004770a2
test eax, eax
je 0x4bb277
mov ecx, dword [ebp + 0x2ac]
lea ebx, [eax*2 + 0x22]
mov eax, dword [esp + 0x30]
cmp esi, eax
push 1
cmovle eax, esi
push 1
inc eax
push eax
call fcn.0049efec
push dword [esp + 0x84]
mov ecx, ebp
mov esi, eax
call fcn.00478ab8
mov edx, dword [esp + 0x48]
sub esi, edx
movzx ecx, al
push ecx
push 1
push 0
push dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
push esi
sub esp, 0x20
lea esi, [esp + 0x90]
sub eax, edx
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x70]
sub eax, edx
push eax
push ebx
call fcn.004bac06
mov edi, dword [esp + 0x64]
add esp, 0x54
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov esi, ebx
cmp ebx, edi
jl 0x4bb1af
mov ebx, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push ebx
call fcn.004770b2
mov ecx, dword [ebp + 0x2ac]
lea edx, [ebx + 1]
push 1
push 1
mov esi, eax
push edx
mov dword [esp + 0x3c], esi
call fcn.0049efec
mov edi, eax
xor ecx, ecx
push 0x25
pop eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
xor edx, edx
inc edx
shl edx, cl
test esi, edx
je 0x4bb349
push dword [esp + 0x84]
mov ebx, edi
mov ecx, ebp
sub ebx, dword [esp + 0x48]
call fcn.00478ab8
movzx eax, al
lea esi, [esp + 0x5c]
push eax
push 1
push 0
push dword [esp + 0x88]
push ebx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0xc8]
mov eax, ebx
sub eax, dword [esp + 0x90]
push eax
push dword [esp + 0x6c]
call fcn.004bac06
mov eax, dword [esp + 0x70]
add esp, 0x54
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add eax, 2
inc ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
cmp eax, 0x2d
jb 0x4bb2c4
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push ebx
call fcn.004770d6
mov ebx, eax
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], ebx
jle 0x4bb289
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
cmp ebx, edi
jmp 0x4bb373