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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x60]
xor ecx, ecx
push esi
mov edx, 1
mov dword [esp + 0xc], 0
push edi
mov esi, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], esi
mov eax, dword [esi + 0x78]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov word [esp + 0x38], cx
cmp dword [esi + 0xc8], edx
jle 0x4ba3f2
mov esi, dword [esp + 0x6c]
mov al, byte [esi]
test al, al
je 0x4ba867
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x4ba36d
mov al, byte [esi]
test al, al
jne 0x4ba362
mov edx, dword [esp + 0x34]
add edx, 3
cmp edx, dword [esp + 0x2c]
jb 0x4ba390
push 3
lea eax, [esp + 0x28]
push 0x519da8
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba3a8
mov ax, word [0x519da8]
mov dword [esp + 0x34], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x519daa]
mov byte [edx + ecx - 1], al
mov eax, dword [esp + 0x34]
mov ecx, esi
sub ecx, edi
add eax, ecx
cmp eax, dword [esp + 0x2c]
jb 0x4ba3c6
push ecx
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00454c20
jmp 0x4ba3dc
test ecx, ecx
je 0x4ba3df
mov dword [esp + 0x34], eax
sub eax, ecx
add eax, dword [esp + 0x28]
push ecx
push edi
push eax
call fcn.004e73f0
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x4ba733
mov ecx, dword [esp + 0x28]
jmp 0x4ba360
cmp word [ebx + 0x10], cx
jne 0x4ba443
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4ba416
xor ecx, ecx
lea eax, [esp + 0x24]
push ecx
push edx
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba733
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ba420
sub ecx, esi
lea eax, [esp + 0x24]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba733
mov ebx, dword [esp + 0x6c]
cmp byte [ebx], cl
je 0x4ba867
push ebp
xor edi, edi
mov dword [esp + 0x20], edx
mov esi, ebx
xor ebp, ebp
nop word [eax + eax]
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00496950
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x4ba483
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x4ba460
jmp 0x4ba485
mov ebp, eax
mov eax, dword [esp + 0x38]
add eax, edi
cmp eax, dword [esp + 0x30]
jb 0x4ba49f
push edi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00454c20
jmp 0x4ba4b5
test edi, edi
je 0x4ba4b8
mov dword [esp + 0x38], eax
sub eax, edi
add eax, dword [esp + 0x2c]
push edi
push ebx
push eax
call fcn.004e73f0
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x4ba732
cmp byte [ebx], 0x3f
jne 0x4ba4e9
cmp ebp, 1
jle 0x4ba4e3
lea eax, [esp + 0x14]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00496740
mov eax, dword [esp + 0x1c]
add esp, 8
jmp 0x4ba501
mov eax, dword [esp + 0x10]
jmp 0x4ba4fd
mov eax, dword [esp + 0x6c]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.004b0a10
add esp, 0xc
mov dword [esp + 0x14], eax
lea edx, [eax + 1]
add ebx, ebp
cmp edx, dword [esp + 0x20]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x6c]
lea edi, [edi - 5]
cmovle edx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0x64]
lea edi, [eax + edi*8]
movzx eax, word [edi + 0x10]
test al, 1
je 0x4ba566
mov ecx, dword [esp + 0x38]
add ecx, 4
cmp ecx, dword [esp + 0x30]
jb 0x4ba551
push 4
lea eax, [esp + 0x2c]
push str.NULL
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba725
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov dword [ecx + eax - 4], 0x4c4c554e
jmp 0x4ba729
test al, 0x24
je 0x4ba586
push dword [edi + 4]
lea eax, [esp + 0x2c]
push dword [edi]
push str._lld
push eax
call fcn.004417e0
add esp, 0x10
jmp 0x4ba725
test al, 8
je 0x4ba5ad
movsd xmm0, qword [edi]
lea eax, [esp + 0x28]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004417e0
add esp, 0x10
jmp 0x4ba725
test al, 2
je 0x4ba67a
mov ecx, dword [esp + 0x24]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x4ba630
xorps xmm0, xmm0
movups xmmword [esp + 0x50], xmm0
push 0
push dword [esp + 0x1c]
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x5c], ecx
movq qword [esp + 0x68], xmm0
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
push dword [edi + 8]
lea eax, [esp + 0x54]
push eax
call fcn.004bc070
add esp, 0x18
test byte [esp + 0x50], 2
jne 0x4ba605
mov byte [esp + 0x52], 1
jmp 0x4ba62c
cmp byte [esp + 0x52], 1
je 0x4ba62c
lea eax, [esp + 0x40]
push 1
push eax
call fcn.004bc480
add esp, 8
cmp eax, 7
jne 0x4ba62c
mov byte [esp + 0x3c], al
mov dword [esp + 0x30], 0
lea edi, [esp + 0x40]
push dword [edi + 8]
lea eax, [esp + 0x2c]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.004417e0
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x4ba725
test dword [esp + 0x50], 0x9000
jne 0x4ba668
cmp dword [esp + 0x58], 0
je 0x4ba725
lea eax, [esp + 0x40]
push eax
call fcn.004ce210
add esp, 4
jmp 0x4ba725
test eax, 0x400
je 0x4ba69a
push dword [edi]
lea eax, [esp + 0x2c]
push str.zeroblob__d_
push eax
call fcn.004417e0
add esp, 0xc
jmp 0x4ba725
mov ecx, dword [esp + 0x38]
add ecx, 2
cmp ecx, dword [esp + 0x30]
jb 0x4ba6bd
push 2
lea eax, [esp + 0x2c]
push 0x519dc4
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba6cf
mov eax, dword [esp + 0x2c]
mov edx, 0x2778
mov dword [esp + 0x38], ecx
mov word [ecx + eax - 2], dx
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x4ba6f7
mov eax, dword [edi + 8]
movzx eax, byte [esi + eax]
push eax
lea eax, [esp + 0x2c]
push str._02x
push eax
call fcn.004417e0
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x4ba6d8
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, dword [esp + 0x30]
jb 0x4ba718
push 1
lea eax, [esp + 0x2c]
push 0x52b304
push eax
call fcn.00454c20
add esp, 0xc
jmp 0x4ba725
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov byte [ecx + eax - 1], 0x27
mov edx, dword [esp + 0x10]
cmp byte [ebx], 0
jne 0x4ba450
pop ebp
cmp byte [esp + 0x38], 0
je 0x4ba831
test byte [esp + 0x39], 4
je 0x4ba826
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4ba826
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4ba7c5
cmp esi, dword [ecx + 0x164]
jae 0x4ba7a7
cmp esi, dword [ecx + 0x15c]
jb 0x4ba786
mov eax, dword [ecx + 0x158]
mov dword [esi], eax
pop edi
mov dword [ecx + 0x158], esi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
cmp esi, dword [ecx + 0x160]
jb 0x4ba7a7
mov eax, dword [ecx + 0x150]
mov dword [esi], eax
pop edi
mov dword [ecx + 0x150], esi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
cmp dword [ecx + 0x210], 0
je 0x4ba7c5
push esi
push ecx
call fcn.00469e10
add esp, 8
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
cmp dword [0x5320f0], 0
je 0x4ba81c
mov eax, dword [0x536de8]
test eax, eax
je 0x4ba7e1
push eax
call dword [0x532140]
add esp, 4
push esi
call dword [0x53211c]
sub dword [0x536d88], eax
dec dword [0x536dac]
push esi
call dword [0x532114]
mov eax, dword [0x536de8]
add esp, 8
test eax, eax
je 0x4ba826
push eax
call dword [0x532148]
add esp, 4
xor ecx, ecx
mov eax, ecx
pop edi
pop esi
pop ebx
add esp, 0x58
ret
push esi
call dword [0x532114]
add esp, 4
pop edi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4ba867
mov eax, dword [esp + 0x34]
mov byte [eax + ecx], 0
cmp dword [esp + 0x30], 0
jbe 0x4ba863
test byte [esp + 0x39], 4
jne 0x4ba863
lea eax, [esp + 0x24]
push eax
call fcn.004c92a0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x58
ret
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x58
ret