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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bb518
sub esp, 0x70
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
cmp ecx, eax
jbe 0x4bb512
mov edx, dword [esp + 0x78]
lea ebx, [edx + eax*8]
mov ebp, dword [ebx + 4]
mov esi, dword [esp + 0x8c]
cmp ecx, esi
jbe 0x4bb50b
lea edi, [edx + eax*8 + 4]
mov dword [esp + 0x6c], edi
lea ecx, [edx + esi*8]
mov dword [esp + 0x68], ecx
mov eax, dword [ecx + 4]
lea esi, [edx + esi*8 + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx]
mov dword [edi], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x4baf82
mov dword [esp + 0x64], ecx
call fcn.004717f0
mov dword [edi], edx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov eax, ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [ebp]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov ebp, eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x60], ebx
mov dword [ebx], edx
mov dword [esi], ebp
mov edx, dword [esp + 0x68]
mov dword [edx], ecx
mov edx, dword [esp + 0x84]
inc edx
mov ebp, dword [esp + 0x88]
dec ebp
mov dword [esp + 0x34], ebp
jmp 0x4bafa7
inc edx
mov dword [esp + 0x38], edx
cmp edx, ebp
jle 0x4bafb6
xor eax, eax
jmp 0x4bb070
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4bb504
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea ebp, [ecx + edx*8]
mov esi, dword [ebp]
mov dword [esp + 0x5c], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x30], ebp
mov edi, dword [ebx]
mov dword [esp + 0x4c], edi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x20], ebx
mov dword [esp], esi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4bb033
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4bb033
mov eax, 1
jmp 0x4bb060
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004023b0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
test al, al
jne 0x4bafa6
jmp 0x4bb07b
dec ebp
mov dword [esp + 0x34], ebp
cmp ebp, edx
jge 0x4bb08a
xor eax, eax
jmp 0x4bb146
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
jbe 0x4bb4fd
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ebp*8]
mov esi, dword [edx]
mov dword [esp + 0x58], esi
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], edx
mov edi, dword [ebx]
mov dword [esp + 0x48], edi
mov ebx, dword [ebx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp], esi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4bb106
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], ecx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4bb106
mov eax, 1
jmp 0x4bb133
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
call fcn.004023b0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
xor eax, 1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x6c]
test al, al
jne 0x4bb07a
cmp ebp, edx
jl 0x4bb1cf
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4bb4f6
mov esi, dword [esp + 0x78]
lea eax, [esi + edx*8]
mov edi, dword [eax + 4]
cmp ecx, ebp
jbe 0x4bb4ef
lea ebx, [esi + edx*8 + 4]
lea ecx, [esi + ebp*8]
mov dword [esp + 0x68], ecx
mov edx, dword [ecx + 4]
lea esi, [esi + ebp*8 + 4]
mov ebp, dword [ecx]
mov ecx, dword [eax]
mov dword [ebx], edx
mov edx, dword [0x95f020]
test edx, edx
je 0x4bb1b6
mov dword [esp + 0x64], ecx
mov edx, edi
call fcn.004717f0
mov dword [edi], ebp
mov ebx, dword [eax]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [esp + 0x68]
mov ecx, dword [ebx]
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x64]
mov edi, edx
mov dword [eax], ebp
mov dword [esi], edi
mov edx, dword [esp + 0x68]
mov dword [edx], ecx
mov edx, dword [esp + 0x38]
inc edx
mov ebx, dword [esp + 0x34]
dec ebx
jmp 0x4bb255
mov ecx, dword [esp + 0x7c]
cmp ecx, ebp
jbe 0x4bb235
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebp*8 + 4]
mov edx, dword [ebx + 4]
lea eax, [eax + ebp*8]
mov esi, dword [ebx]
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ecx], edx
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x4bb214
mov ecx, edi
call fcn.004717f0
mov dword [edi], esi
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov edx, dword [esp + 0x60]
mov edx, dword [edx]
mov dword [edi + 0xc], edx
mov edi, ecx
mov dword [eax], esi
mov dword [edi], ebx
mov eax, dword [esp + 0x60]
mov dword [eax], ebp
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 1
add esp, 0x70
ret
mov eax, ebp
call fcn.00471840
mov dword [esi], ebx
mov esi, dword [esp + 0x3c]
mov dword [ebp], esi
mov dword [ecx], edi
mov ebp, dword [esp + 0x38]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x34]
lea ebx, [ebp - 1]
mov dword [esp + 0x34], ebx
jmp 0x4bb2c3
cmp ebx, edx
jl 0x4bb466
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4bb4da
mov ebp, dword [esp + 0x78]
lea esi, [ebp + edx*8]
mov edi, dword [esi + 4]
cmp ecx, ebx
jbe 0x4bb4d3
mov dword [esp + 0x3c], edi
lea eax, [ebp + edx*8 + 4]
lea ecx, [ebp + ebx*8]
mov edx, dword [ecx + 4]
mov edi, dword [esi]
lea ebp, [ebp + ebx*8 + 4]
mov ebx, dword [ecx]
mov dword [eax], edx
mov edx, dword [0x95f020]
test edx, edx
je 0x4bb23c
mov eax, edi
call fcn.004717f0
mov dword [edi], ebx
mov edx, dword [esi]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov edx, dword [ecx]
mov dword [edi + 0xc], edx
mov edi, eax
jmp 0x4bb23c
inc edx
mov dword [esp + 0x38], edx
cmp ebx, edx
jge 0x4bb2d2
xor eax, eax
jmp 0x4bb387
mov ecx, dword [esp + 0x7c]
cmp ecx, edx
jbe 0x4bb4e8
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea ebx, [ecx + edx*8]
mov ebp, dword [ebx]
mov dword [esp + 0x54], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x60]
mov edi, dword [esi]
mov dword [esp + 0x44], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esp], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4bb352
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4bb352
mov eax, 1
jmp 0x4bb37f
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
call fcn.004023b0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
test al, al
jne 0x4bb2c2
jmp 0x4bb392
dec ebx
mov dword [esp + 0x34], ebx
cmp ebx, edx
jge 0x4bb3a1
xor eax, eax
jmp 0x4bb459
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jbe 0x4bb4e1
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
test byte [ecx], al
mov ecx, dword [esp + 0x78]
lea edx, [ecx + ebx*8]
mov ebp, dword [edx]
mov dword [esp + 0x50], ebp
mov edx, dword [edx + 4]
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0x60]
mov edi, dword [esi]
mov dword [esp + 0x40], edi
mov esi, dword [esi + 4]
mov dword [esp + 0x14], esi
mov dword [esp], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
je 0x4bb421
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
call fcn.004024a0
movzx eax, byte [esp + 0xc]
xor eax, 1
test al, al
jne 0x4bb421
mov eax, 1
jmp 0x4bb44e
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.004023b0
mov eax, dword [esp + 0x10]
test eax, eax
setl al
xor eax, 1
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
test al, al
jne 0x4bb391
jmp 0x4bb25b
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jbe 0x4bb4cc
mov eax, dword [esp + 0x78]
lea ecx, [eax + ebx*8 + 4]
mov edx, dword [esp + 0x60]
mov ebp, dword [edx + 4]
lea eax, [eax + ebx*8]
mov esi, dword [edx]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [ecx], ebp
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x4bb4ab
mov ecx, edi
call fcn.004717f0
mov dword [edi], esi
mov ebp, dword [eax]
mov dword [edi + 4], ebp
mov dword [edi + 8], ecx
mov ebp, dword [edx]
mov dword [edi + 0xc], ebp
mov edi, ecx
mov dword [eax], esi
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov dword [edx], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 0
add esp, 0x70
ret
mov eax, ebx
call fcn.00471840
mov eax, ebx
call fcn.00471840
mov eax, edx
call fcn.00471840
mov eax, ebx
call fcn.00471840
mov eax, edx
call fcn.00471840
mov eax, ebp
call fcn.00471840
mov eax, edx
call fcn.00471840
mov eax, ebp
call fcn.00471840
mov eax, edx
call fcn.00471840
mov eax, esi
call fcn.00471840
call fcn.00471840
nop
call fcn.004703c0
jmp fcn.004baef0