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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6049fa
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x2f4], 0
mov dword [esp + 0x1c], eax
je 0x5be275
mov ecx, dword [ebx + 0x3bc]
mov eax, ecx
and eax, 4
je 0x5bd73c
cmp dword [ebx + 0x10c], 0
jne 0x5bd717
cmp dword [ebx + 0x114], 0
jne 0x5bd717
cmp dword [ebx + 0x110], 0
jne 0x5bd717
cmp dword [ebx + 0x118], 0
je 0x5bd73c
mov edx, dword [ebx + 0x10c]
mov esi, dword [ebx + 0x110]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x114]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x118]
jmp 0x5bd840
test cl, 2
je 0x5bd78a
cmp dword [ebx + 0xfc], 0
jne 0x5bd765
cmp dword [ebx + 0x104], 0
jne 0x5bd765
cmp dword [ebx + 0x100], 0
jne 0x5bd765
cmp dword [ebx + 0x108], 0
je 0x5bd78a
mov edx, dword [ebx + 0xfc]
mov esi, dword [ebx + 0x100]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0x104]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x108]
jmp 0x5bd840
test cl, 0x10
je 0x5bd7d5
cmp dword [ebx + 0xec], 0
jne 0x5bd7b3
cmp dword [ebx + 0xf4], 0
jne 0x5bd7b3
cmp dword [ebx + 0xf0], 0
jne 0x5bd7b3
cmp dword [ebx + 0xf8], 0
je 0x5bd7d5
mov edx, dword [ebx + 0xec]
mov esi, dword [ebx + 0xf0]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0xf4]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xf8]
jmp 0x5bd840
test cl, 8
je 0x5bd820
cmp dword [ebx + 0xdc], 0
jne 0x5bd7fe
cmp dword [ebx + 0xe4], 0
jne 0x5bd7fe
cmp dword [ebx + 0xe0], 0
jne 0x5bd7fe
cmp dword [ebx + 0xe8], 0
je 0x5bd820
mov edx, dword [ebx + 0xdc]
mov esi, dword [ebx + 0xe0]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0xe4]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xe8]
jmp 0x5bd840
mov edx, dword [ebx + 0xcc]
mov esi, dword [ebx + 0xd0]
mov dword [esp + 0x2c], edx
mov edx, dword [ebx + 0xd4]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xd8]
test eax, eax
mov dword [esp + 0x38], edx
je 0x5bd852
mov eax, dword [ebx + 0xc0]
test eax, eax
jne 0x5bd885
test cl, 2
je 0x5bd861
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x5bd885
test cl, 0x10
je 0x5bd870
mov eax, dword [ebx + 0xb8]
test eax, eax
jne 0x5bd885
test cl, 8
je 0x5bd87f
mov eax, dword [ebx + 0xb4]
test eax, eax
jne 0x5bd885
mov eax, dword [ebx + 0xb0]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x20], eax
call dword [0x61049c]
mov dword [esp + 0xa8], 0
mov eax, dword [ebx + 0x3bc]
test al, 4
je 0x5bd8ba
cmp dword [ebx + 0xa8], 0
je 0x5bd8ba
lea ecx, [ebx + 0x94]
push ecx
jmp 0x5bd8f0
test al, 2
je 0x5bd8cc
cmp dword [ebx + 0x8c], 0
je 0x5bd8cc
lea edx, [ebx + 0x78]
jmp 0x5bd8ef
test al, 0x10
je 0x5bd8dc
cmp dword [ebx + 0x70], 0
je 0x5bd8dc
lea eax, [ebx + 0x5c]
push eax
jmp 0x5bd8f0
test al, 8
je 0x5bd8ec
cmp dword [ebx + 0x54], 0
je 0x5bd8ec
lea ecx, [ebx + 0x40]
push ecx
jmp 0x5bd8f0
lea edx, [ebx + 0x24]
push edx
lea ecx, [esp + 0x80]
call dword [0x61059c]
mov eax, dword [ebx + 0x3bc]
test al, 4
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
je 0x5bd937
mov cl, byte [ebx + 0x292]
cmp cl, 0x64
jne 0x5bd924
cmp byte [ebx + 0x293], cl
je 0x5bd937
mov al, byte [ebx + 0x293]
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], al
jmp 0x5bd9c7
test al, 2
je 0x5bd95a
mov cl, byte [ebx + 0x290]
cmp cl, 0x64
jne 0x5bd94e
cmp byte [ebx + 0x291], cl
je 0x5bd95a
mov byte [esp + 0x13], cl
mov cl, byte [ebx + 0x291]
jmp 0x5bd9c3
test al, 0x10
je 0x5bd981
mov cl, byte [ebx + 0x28e]
cmp cl, 0x64
jne 0x5bd971
cmp byte [ebx + 0x28f], cl
je 0x5bd981
mov dl, byte [ebx + 0x28f]
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], dl
jmp 0x5bd9c7
test al, 8
je 0x5bd9a7
mov al, byte [ebx + 0x28c]
cmp al, 0x64
jne 0x5bd997
cmp byte [ebx + 0x28d], al
je 0x5bd9a7
mov byte [esp + 0x13], al
mov al, byte [ebx + 0x28d]
mov byte [esp + 0x12], al
jmp 0x5bd9c7
mov al, byte [ebx + 0x28a]
cmp al, 0x64
jne 0x5bd9b9
cmp byte [ebx + 0x28b], al
je 0x5bd9c7
mov cl, byte [ebx + 0x28b]
mov byte [esp + 0x13], al
mov byte [esp + 0x12], cl
mov edi, dword [ebx + 0x370]
mov eax, dword [ebx + 0x364]
mov edx, dword [ebx + 0x36c]
sub edi, dword [esp + 0x38]
mov ecx, dword [ebx + 0x368]
add eax, dword [esp + 0x2c]
sub edx, dword [esp + 0x34]
add ecx, esi
mov dword [esp + 0x48], edi
lea edi, [ebx + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
call fcn.005d1920
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [edx + 0x14]
push 2
mov ecx, ebx
mov dword [esp + 0x2c], edi
call eax
test al, al
je 0x5bdea5
test edi, edi
je 0x5bdea5
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x5bda4e
lea edx, [esp + 0x80]
cmp dword [ebx + 0x2f8], eax
jb 0x5bda5e
mov eax, dword [ebx + 0x2e4]
jmp 0x5bda64
lea eax, [ebx + 0x2e4]
mov ecx, dword [ebx + 0x3ac]
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x30]
call fcn.005b33e0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
mov eax, edx
sub eax, ecx
add esp, 4
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jg 0x5bdc48
cmp byte [ebx + 0x288], 0
mov edi, dword [ebx + 0x284]
mov dword [esp + 0x14], edi
je 0x5bdaba
or edi, 1
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x3ac]
test eax, eax
je 0x5bdad0
push 0x2003
push ebx
push eax
call fcn.005c4d50
mov al, byte [esp + 0x13]
test al, al
jne 0x5bdade
cmp byte [esp + 0x12], al
jmp 0x5bdae6
cmp al, 0x64
jne 0x5bdaec
cmp byte [esp + 0x12], al
je 0x5bdbd1
mov eax, dword [ebx + 0x3ac]
cmp byte [eax + 0x1e], 0
jne 0x5bdb03
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x24], 0
je 0x5bdb08
mov byte [esp + 0x24], 1
mov eax, 8
cmp dword [esp + 0x94], eax
jb 0x5bdb23
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
jmp 0x5bdb2e
lea edx, [esp + 0x80]
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x2f8], eax
jb 0x5bdb42
mov eax, dword [ebx + 0x2e4]
mov dword [esp + 0x18], eax
jmp 0x5bdb4c
lea ecx, [ebx + 0x2e4]
mov dword [esp + 0x18], ecx
movsx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
movsx ecx, byte [esp + 0x13]
lea esi, [eax + edx]
mov edx, dword [esp + 0x44]
add edx, ecx
add eax, edi
mov edi, dword [esp + 0x3c]
add ecx, edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x294]
push ecx
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
push edi
mov eax, esi
and eax, 0xffffff
mov ecx, esi
and ecx, 0x80000000
sub ecx, eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
add ecx, 0xffffff
push ecx
mov ecx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x3ac]
push eax
push ecx
call fcn.005b39a0
add esp, 0x24
jmp 0x5bdbd5
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x3ac]
cmp byte [ecx + 0x1e], 0
jne 0x5bdbeb
cmp byte [ebp + 0xc], 0
jne 0x5bdbeb
xor dl, dl
jmp 0x5bdbed
mov dl, 1
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x5bdc05
lea eax, [esp + 0x80]
cmp dword [ebx + 0x2f8], 8
mov dword [esp + 0x18], eax
jb 0x5bdc1a
mov eax, dword [ebx + 0x2e4]
jmp 0x5bdc20
lea eax, [ebx + 0x2e4]
push edx
mov edx, dword [ebx + 0x294]
push edx
mov edx, dword [esp + 0x20]
push edi
push edx
push esi
push eax
lea eax, [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.005b39a0
add esp, 0x24
jmp 0x5be260
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
xor eax, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0xa8], 1
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x70]
call fcn.005e4800
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
add esp, 0x10
cmp esi, dword [esp + 0x44]
lea eax, [esi + edx]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
jge 0x5bde70
mov edi, dword [esp + 0x20]
mov ecx, edx
cmp eax, dword [esp + 0x3c]
jle 0x5bde56
mov al, byte [esp + 0x13]
test al, al
jne 0x5bdced
cmp byte [esp + 0x12], al
jmp 0x5bdcf5
cmp al, 0x64
jne 0x5bdcfb
cmp byte [esp + 0x12], al
je 0x5bdddf
mov eax, dword [ebx + 0x3ac]
cmp byte [eax + 0x1e], 0
jne 0x5bdd12
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x18], 0
je 0x5bdd17
mov byte [esp + 0x18], 1
mov eax, 8
cmp dword [esp + 0x94], eax
jb 0x5bdd32
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
jmp 0x5bdd3d
lea edx, [esp + 0x80]
mov dword [esp + 0x28], edx
cmp dword [ebx + 0x2f8], eax
jb 0x5bdd51
mov eax, dword [ebx + 0x2e4]
mov dword [esp + 0x14], eax
jmp 0x5bdd5b
lea ecx, [ebx + 0x2e4]
mov dword [esp + 0x14], ecx
movsx ecx, byte [esp + 0x13]
mov edi, dword [esp + 0x34]
movsx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x38]
add edx, eax
add edi, ecx
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x30]
add eax, edi
mov edi, dword [esp + 0x20]
add ecx, esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
mov edx, dword [ebx + 0x294]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x284]
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, edi
and edx, 0xffffff
not edx
mov eax, edi
and eax, 0x80000000
add edx, eax
mov eax, dword [ebx + 0x3ac]
push edx
push ecx
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.005b39a0
add esp, 0x24
mov esi, dword [ebx + 0x3ac]
cmp byte [esi + 0x1e], 0
jne 0x5bddf5
cmp byte [ebp + 0xc], 0
jne 0x5bddf5
xor cl, cl
jmp 0x5bddf7
mov cl, 1
mov edx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x5bde13
lea edx, [esp + 0x80]
cmp dword [ebx + 0x2f8], eax
jb 0x5bde23
mov eax, dword [ebx + 0x2e4]
jmp 0x5bde29
lea eax, [ebx + 0x2e4]
push ecx
mov ecx, dword [ebx + 0x294]
push ecx
mov ecx, dword [ebx + 0x284]
push ecx
push edx
push edi
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
push esi
push eax
call fcn.005b39a0
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
add esp, 0x24
lea eax, [ecx + 0xa]
add esi, eax
cmp esi, dword [esp + 0x44]
lea eax, [esi + ecx]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
jl 0x5bdcd5
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [0x6100e8]
je 0x5bde91
mov esi, dword [esp + 0x78]
test esi, esi
je 0x5bde91
push esi
push eax
call dword [0x6100dc]
push esi
call edi
mov eax, dword [esp + 0x74]
test eax, eax
je 0x5be260
push eax
call edi
jmp 0x5be260
cmp byte [ebx + 0x20], 0
je 0x5bdf09
mov ecx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x5bdec7
lea ecx, [esp + 0x80]
cmp dword [ebx + 0x2f8], eax
jb 0x5bded7
mov eax, dword [ebx + 0x2e4]
jmp 0x5bdedd
lea eax, [ebx + 0x2e4]
mov edx, dword [ebx + 0x284]
push edx
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [ebx + 0x3ac]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call fcn.005b7600
add esp, 0x1c
jmp 0x5be260
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x5bdf31
lea edx, [esp + 0x80]
cmp dword [ebx + 0x2f8], eax
jb 0x5bdf41
mov eax, dword [ebx + 0x2e4]
jmp 0x5bdf47
lea eax, [ebx + 0x2e4]
mov ecx, dword [ebx + 0x3ac]
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x50]
call fcn.005b33e0
mov edx, dword [eax + 4]
mov edi, dword [eax]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x284]
mov dword [esp + 0x3c], eax
add esp, 4
lea eax, [ebx + 0x2e0]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edx
call dword [0x610494]
mov byte [esp + 0xa8], 2
cmp byte [ebx + 0x288], 0
je 0x5be047
mov edx, esi
sub edx, edi
cmp edx, dword [esp + 0x14]
jle 0x5be03c
nop
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x5be040
mov ecx, dword [esp + 0x64]
mov esi, 8
cmp dword [esp + 0x78], esi
jae 0x5bdfcf
lea ecx, [esp + 0x64]
add eax, 0xffffffff
push eax
push ecx
lea ecx, [esp + 0x68]
call dword [0x610518]
push eax
lea ecx, [esp + 0x64]
call dword [0x61059c]
cmp dword [ebx + 0x3c], esi
jb 0x5bdff3
mov edx, dword [ebx + 0x28]
jmp 0x5bdff6
lea edx, [ebx + 0x28]
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x64]
jae 0x5be004
lea eax, [esp + 0x64]
mov ecx, dword [ebx + 0x3ac]
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x50]
call fcn.005b33e0
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, esi
sub eax, edi
add esp, 4
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
jg 0x5bdfb0
mov eax, dword [esp + 0x74]
or dword [esp + 0x24], 1
jmp 0x5be04b
mov eax, dword [esp + 0x74]
cmp byte [ebx + 0x289], 0
je 0x5be0ec
sub esi, edi
cmp esi, dword [esp + 0x14]
jle 0x5be0ec
jmp 0x5be06a
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x5be0ec
mov ecx, dword [esp + 0x64]
mov esi, 8
cmp dword [esp + 0x78], esi
jae 0x5be081
lea ecx, [esp + 0x64]
add eax, 0xffffffff
push eax
push ecx
lea ecx, [esp + 0x68]
call dword [0x610518]
push eax
lea ecx, [esp + 0x64]
call dword [0x61059c]
cmp dword [ebx + 0x3c], esi
jb 0x5be0a5
mov edx, dword [ebx + 0x28]
jmp 0x5be0a8
lea edx, [ebx + 0x28]
cmp dword [esp + 0x78], esi
mov eax, dword [esp + 0x64]
jae 0x5be0b6
lea eax, [esp + 0x64]
mov ecx, dword [ebx + 0x3ac]
mov edi, dword [esp + 0x1c]
push eax
lea esi, [esp + 0x50]
call fcn.005b33e0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
add esp, 4
cmp ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
jg 0x5be066
mov al, byte [esp + 0x13]
test al, al
jne 0x5be0fa
cmp byte [esp + 0x12], al
jmp 0x5be102
cmp al, 0x64
jne 0x5be108
cmp byte [esp + 0x12], al
je 0x5be1e5
mov eax, dword [ebx + 0x3ac]
cmp byte [eax + 0x1e], 0
jne 0x5be11f
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x18], 0
je 0x5be124
mov byte [esp + 0x18], 1
mov eax, 8
cmp dword [esp + 0x94], eax
jb 0x5be13f
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
jmp 0x5be14a
lea edx, [esp + 0x80]
mov dword [esp + 0x28], edx
cmp dword [esp + 0x78], eax
jb 0x5be15a
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
jmp 0x5be162
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], ecx
movsx eax, byte [esp + 0x12]
mov edx, dword [esp + 0x48]
movsx ecx, byte [esp + 0x13]
lea esi, [eax + edx]
mov edx, dword [esp + 0x44]
lea edi, [ecx + edx]
mov edx, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x3c]
add ecx, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x294]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
mov ecx, esi
and ecx, 0xffffff
not ecx
mov edx, esi
and edx, 0x80000000
add ecx, edx
mov edx, dword [esp + 0x2c]
push ecx
push eax
mov eax, dword [ebx + 0x3ac]
lea ecx, [esp + 0x64]
push ecx
push eax
push edx
mov dword [esp + 0x78], edi
call fcn.005b39a0
add esp, 0x24
jmp 0x5be1e9
mov esi, dword [esp + 0x20]
mov edi, dword [ebx + 0x3ac]
cmp byte [edi + 0x1e], 0
jne 0x5be1ff
cmp byte [ebp + 0xc], 0
jne 0x5be1ff
xor cl, cl
jmp 0x5be201
mov cl, 1
mov edx, dword [esp + 0x80]
mov eax, 8
cmp dword [esp + 0x94], eax
jae 0x5be21d
lea edx, [esp + 0x80]
cmp dword [esp + 0x78], eax
mov eax, dword [esp + 0x64]
jae 0x5be22b
lea eax, [esp + 0x64]
push ecx
mov ecx, dword [ebx + 0x294]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push esi
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push edi
push eax
call fcn.005b39a0
add esp, 0x24
lea ecx, [esp + 0x60]
mov byte [esp + 0xa8], 0
call dword [0x6105a0]
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa8], 0xffffffff
call dword [0x6105a0]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret 8