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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5be4a7
sub esp, 0x5c
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x5be0f7
cmp ebx, 1
je 0x5be0ea
cmp ebx, 2
je 0x5be0dd
test ebx, ebx
jl 0x5bde04
mov ebp, dword [esp + 0x60]
cmp dword [ebp + 4], ebx
jge 0x5bde33
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa45a]
mov dword [eax], ecx
mov ebp, dword [esp + 0x60]
mov ecx, eax
lea eax, [0x785138]
jmp 0x5bde3a
mov dword [ebp + 0xc], ebx
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x5be0b9
mov edx, dword [ebp + 8]
mov ebx, dword [ebp]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
cmp dword [ebp + 4], ecx
jl 0x5bde7c
cmp edx, ecx
jb 0x5be4a1
cmp eax, ecx
ja 0x5be49c
mov dword [ebp + 0xc], ecx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebx
xor ecx, ecx
mov edx, 1
xor ebx, ebx
jmp 0x5bdead
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa45a]
mov dword [eax], ecx
mov ebp, dword [esp + 0x60]
lea ecx, [0x785138]
xor edx, edx
mov ebx, eax
xor eax, eax
test ecx, ecx
jne 0x5be095
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], eax
lea eax, [0x69bdc0]
mov dword [esp], eax
movzx eax, word [esp + 0x68]
movzx ecx, ax
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jbe 0x5be493
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x40]
movzx ebp, byte [ebx]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5bdfd5
mov ecx, dword [esp + 0x34]
lea ebx, [ecx - 1]
shl ebx, 1
test ebx, ebx
jl 0x5bdf5f
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp + 8]
mov esi, dword [ebp]
mov dword [esp + 0x4c], esi
mov edi, dword [ebp + 4]
mov ebx, dword [ebp + 0xc]
lea esi, [ebx + ecx*2 - 2]
cmp edi, esi
jl 0x5bdf5f
cmp edx, esi
jb 0x5be48c
cmp ebx, esi
ja 0x5be483
mov dword [ebp + 0xc], esi
sub edx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x4c]
add edx, ebx
mov ebx, dword [esp + 0x2c]
xor esi, esi
xor edi, edi
jmp 0x5bdf96
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa45a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
xor ebx, ebx
lea esi, [0x785138]
xor edx, edx
xor ebp, ebp
mov edi, eax
mov eax, dword [esp + 0x50]
test esi, esi
jne 0x5bdfb1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
movzx esi, word [esp + 0x68]
mov edi, 1
jmp 0x5be41f
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edi
add esp, 0x5c
ret
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x5bdff3
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x60]
movzx ebp, word [esp + 0x68]
mov edx, 1
jmp 0x5be2be
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x5be011
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x60]
movzx ebp, word [esp + 0x68]
mov edx, 1
jmp 0x5be128
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
movzx eax, byte [ebx]
lea ecx, [0x69be80]
mov dword [esp + 0x54], ecx
lea ecx, [0x934160]
lea eax, [ecx + eax*8]
mov dword [esp + 0x58], eax
lea eax, [0x6fc8af]
mov dword [esp], eax
mov dword [esp + 4], 0x20
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
add esp, 0x5c
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x5c
ret
mov eax, 0x57
lea ecx, [0x91d280]
jmp 0x5be102
mov eax, 0xa6
lea ecx, [0x920a60]
jmp 0x5be102
mov eax, 0xe5
lea ecx, [0x922100]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov ebx, dword [esp + 0x60]
mov ebp, esi
cmp bp, dx
jbe 0x5be251
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
mov dword [esp + 0x4c], edi
mov ebp, dword [ebx + 0xc]
lea edi, [ebp + 4]
cmp dword [ebx + 4], edi
jl 0x5be185
cmp esi, edi
jb 0x5be2af
cmp ebp, edi
ja 0x5be2a6
mov dword [ebx + 0xc], edi
sub esi, ebp
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
mov esi, dword [esp + 0x4c]
add ebp, esi
mov esi, 4
xor esi, esi
mov dword [esp + 0x30], esi
xor esi, esi
mov dword [esp + 0x44], esi
mov esi, 4
jmp 0x5be1d0
mov word [esp + 0x22], dx
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa45a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
movzx edx, word [esp + 0x22]
mov ebx, dword [esp + 0x60]
xor ebp, ebp
xor esi, esi
lea edi, [0x785138]
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x5be229
cmp esi, 1
jbe 0x5be29a
mov dword [esp + 0x48], ebp
lea ebx, [esi - 2]
movzx esi, byte [ebp + 1]
movzx ebp, byte [ebp]
shl ebp, 8
or ebp, esi
cmp ebx, 1
jbe 0x5be28e
mov word [esp + 0x1e], bp
lea ebx, [edi - 2]
neg ebx
sar ebx, 0x1f
and ebx, 2
mov esi, dword [esp + 0x48]
movzx edi, byte [ebx + esi + 1]
movzx ebx, byte [ebx + esi]
shl ebx, 8
or ebx, edi
movzx esi, word [esp + 0x68]
xor edi, edi
jmp 0x5be26c
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov eax, ecx
mov ecx, dword [esp + 0x50]
jmp 0x5be102
mov word [eax + esi*2], bp
inc edi
inc edx
movzx esi, word [esp + 0x68]
movzx ebp, word [esp + 0x1e]
cmp di, bx
ja 0x5be122
cmp si, dx
jbe 0x5be122
movzx esi, dx
add ebp, edi
cmp esi, ecx
jb 0x5be25c
mov eax, esi
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, esi
call fcn.00465e00
mov eax, ebp
mov ecx, edi
call fcn.00465e60
mov ecx, edi
mov edx, esi
call fcn.00465e40
mov ebx, dword [esp + 0x60]
mov ebp, esi
cmp bp, dx
jbe 0x5be251
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
mov dword [esp + 0x4c], edi
mov ebp, dword [ebx + 0xc]
lea edi, [ebp + 3]
cmp dword [ebx + 4], edi
jl 0x5be311
cmp esi, edi
jb 0x5be402
cmp ebp, edi
ja 0x5be3f9
mov dword [ebx + 0xc], edi
sub esi, ebp
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebp, esi
mov esi, dword [esp + 0x4c]
add ebp, esi
mov esi, 3
xor edi, edi
xor esi, esi
mov dword [esp + 0x44], esi
mov esi, 3
jmp 0x5be356
mov word [esp + 0x24], dx
lea eax, [0x6a9700]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x6fa45a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
movzx edx, word [esp + 0x24]
mov ebx, dword [esp + 0x60]
xor esi, esi
lea edi, [0x785138]
xor ebp, ebp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
test edi, edi
jne 0x5be387
cmp esi, 1
jbe 0x5be3ed
movzx edi, byte [ebp + 1]
movzx ebx, byte [ebp]
shl ebx, 8
or ebx, edi
cmp esi, 2
jbe 0x5be3e1
mov word [esp + 0x20], bx
movzx ebp, byte [ebp + 2]
movzx esi, word [esp + 0x68]
xor edi, edi
jmp 0x5be3bf
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov word [eax + esi*2], bx
inc edi
inc edx
movzx esi, word [esp + 0x68]
movzx ebx, word [esp + 0x20]
cmp di, bp
ja 0x5be2b8
cmp si, dx
jbe 0x5be2b8
movzx esi, dx
add ebx, edi
cmp esi, ecx
jb 0x5be3af
mov eax, esi
call fcn.00465e00
mov eax, 2
mov ecx, eax
call fcn.00465e00
mov eax, 1
mov ecx, esi
call fcn.00465e00
mov eax, ebp
mov ecx, edi
call fcn.00465e60
mov ecx, edi
mov edx, esi
call fcn.00465e40
mov word [eax + edi*2], si
lea edi, [ebx + 1]
movzx esi, word [esp + 0x68]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
cmp si, di
jbe 0x5be251
mov word [esp + 0x26], di
shl edi, 1
add edi, 0xfffffffe
movzx edi, di
cmp ebx, edi
jb 0x5be47a
sub ebx, edi
sub ebp, edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
cmp ebx, 1
jbe 0x5be46e
movzx ebx, word [esp + 0x26]
movzx edi, bx
movzx esi, byte [edx + ebp + 1]
movzx ebp, byte [edx + ebp]
shl ebp, 8
or esi, ebp
cmp edi, ecx
jb 0x5be40b
mov eax, edi
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, edi
mov ecx, ebx
call fcn.00465e60
mov eax, ebx
mov ecx, esi
call fcn.00465e60
mov ecx, esi
call fcn.00465e40
xor eax, eax
mov ecx, eax
call fcn.00465e00
call fcn.00465e60
call fcn.00465e40
nop
call fcn.004649b0
jmp fcn.005bddc0