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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x5c51004]
xor eax, esp
mov dword [esp + 0xf4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
push 0x4c
push 0
mov dword [esp + 0x14], edx
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x38], esi
call fcn.05b02790
add esp, 0xc
lea eax, [esp + 0xa8]
push 0x50
push 0
push eax
call fcn.05b02790
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + 4]
push 0
call fcn.05bdfc60
mov dword [esp + 0x78], eax
add esp, 4
lea eax, [esp + 0xa8]
mov dword [esp + 0xa8], 1
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc0], eax
mov eax, dword [edi]
mov dword [esp + 0xdc], 0xffffffff
cmp byte [eax + 0x57], 0
jne 0x5ba2afa
test byte [esp + 0x5c], 0x80
jne 0x5ba2afa
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.05ba84f0
cmp dword [edi + 0x24], 0
jne 0x5ba2b0b
lea edx, [esp + 0x58]
mov dword [esp + 0x34], fcn.05be3030
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], 0x5be2380
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], 0
call fcn.05be4f30
cmp dword [edi + 0x24], 0
jne 0x5ba2b0b
lea edx, [esp + 0x58]
mov dword [esp + 0x38], 0x5be4ef0
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], 0x5ba8480
mov dword [esp + 0x34], 0x5be4f00
mov dword [esp + 0x30], edi
call fcn.05be4f30
cmp dword [edi + 0x24], 0
jne 0x5ba2b0b
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.05bae7b0
mov edx, dword [esp + 0x74]
test edx, edx
je 0x5ba2b1c
mov ecx, dword [esp + 0x14]
call fcn.05bdf190
mov eax, dword [esp + 0x1c]
mov ecx, edi
push dword [esp + 0x10]
mov edx, dword [eax + 4]
call fcn.05ba2db0
add esp, 4
mov ecx, eax
cmp dword [edi + 0x24], 0
mov dword [esp + 0x20], ecx
jne 0x5ba2d70
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
cmp dword [edx + 0x60], 0
jne 0x5ba2b66
mov eax, dword [ecx]
mov dword [edx + 0x60], eax
mov eax, dword [edi + 0x28]
mov dword [edx + 0x5c], eax
inc dword [edi + 0x28]
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], 0x400
mov al, byte [eax + 8]
mov byte [edi + 0x9c], al
mov eax, dword [esp + 0x10]
mov dword [edi + 0x7c], eax
call fcn.05be21a0
mov ecx, dword [esp + 0x20]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x5ba2d74
cmp byte [eax + 0x57], 0
jne 0x5ba2d74
mov eax, dword [edi + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
lea esi, [eax + 1]
add eax, 2
add eax, edx
mov dword [esp + 0x24], esi
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x64], esi
mov esi, dword [esp + 0x2c]
test edx, edx
jle 0x5ba2c40
mov eax, dword [esp + 0x24]
add ecx, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edx
mov esi, dword [ecx]
mov edx, esi
push eax
mov ecx, edi
call fcn.05bda180
add esp, 4
mov ecx, esi
call fcn.05be1fb0
mov esi, dword [esp + 0x2c]
cmp al, 0x45
jne 0x5ba2c25
push dword [esp + 0x18]
mov edx, 0x57
mov ecx, esi
call fcn.05bf9510
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
add ecx, 0x14
inc eax
mov dword [esp + 0x28], ecx
sub dword [esp + 0xc], 1
mov dword [esp + 0x18], eax
jne 0x5ba2bf4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x18], edx
cmp dword [esi + 0x70], ecx
jg 0x5ba2c71
push edx
push dword [esp + 0x14]
mov edx, 0x61
mov ecx, esi
push eax
call fcn.05bf9640
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x5ba2ca4
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
lea ecx, [edx + 1]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x6c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], eax
jg 0x5ba2cdb
push 0
push ecx
push edx
mov edx, 0x7f
mov ecx, esi
call fcn.05bf9640
add esp, 0xc
jmp 0x5ba2d0c
inc eax
mov dword [esi + 0x6c], eax
mov eax, dword [esp + 0x24]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0xc], eax
cmp dword [esi + 0x70], ecx
jg 0x5ba2d3d
lea eax, [edx + 1]
mov ecx, esi
push eax
push edx
push dword [esp + 0x14]
mov edx, 0x80
call fcn.05bf9640
add esp, 0xc
jmp 0x5ba2d6c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
test ecx, ecx
je 0x5ba2d81
mov edx, ecx
mov ecx, eax
call fcn.05bdf190
mov ecx, dword [esp + 0xfc]
mov dword [edi + 0x7c], 0
mov byte [edi + 0x9c], 0
pop edi
pop esi
xor ecx, esp
call fcn.05b011bc
mov esp, ebp
pop ebp
ret